Announcement

Collapse
No announcement yet.

Issue changing page url

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Reklaw
    replied
    I am still having issues figuring this out.... Any suggestions on the editing the htaccess from what I posted previously?

    Leave a comment:


  • Reklaw
    replied
    Any ideas on the above Mark?

    Leave a comment:


  • Reklaw
    replied
    ^
    |
    |

    Leave a comment:


  • Reklaw
    replied
    Thanks Mark! That was helpful. However my site htaccess file was altered already because of a php issue. I tried your instructions and used that code and it took my site down with a quickness. So I reapplied the old code and am back up. Here is what my current .htaccess file looks like;

    # Use PHP5.3 as default
    AddHandler application/x-httpd-php53 .php
    <IfModule mod_rewrite.c>
    RewriteEngine On

    # Redirect old install path to core.
    RewriteRule ^install/ core/install/ [NC,L]

    # Main Redirect
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php?routestring=$1 [L,QSA]

    # Because admincp is an actual directory.
    RewriteRule ^(admincp/)$ index.php?routestring=$1 [L,QSA]

    </IfModule>

    With your example where would I include the new code?
    The one below is what I used that took down my site..... :/ I want to redirect to loanforum.org/homepage


    # Use PHP5.3 as default
    AddHandler application/x-httpd-php53 .php
    <IfModule mod_rewrite.c>
    RewriteEngine On

    # Redirect old install path to core.
    RewriteRule ^install/ core/install/ [NC,L]

    # Main Redirect
    RewriteCond %{HTTP_HOST} ^loanforum\.org$
    RewriteRule (.*) http://www.loanforum.org/$1 [R=301,L]
    RewriteRule ^$ /homepage [L]
    # Because admincp is an actual directory.
    RewriteRule ^(admincp/)$ index.php?routestring=$1 [L,QSA]

    </IfModule>

    Leave a comment:


  • Mark.B
    replied
    You would need a redirect from root to /forum at this stage.

    You can adapt the redirect info I posted in my blog here:
    https://www.vbulletin.com/forum/entr...etin-5-Connect

    That blog actually shows how to create a custom home page and have the root redirect to it.

    Leave a comment:


  • Reklaw
    replied
    Is there a way I can change the landing page default in admincp when someone types in my URL rather than doing it through my host? For example: when someone types loanforum.org it will load and take them to http://www.loanforum.org/homepage

    Leave a comment:


  • Mark.B
    replied
    Deleting a custom page is in the tracker. VBV-4627

    Leave a comment:


  • Reklaw
    replied
    I have not and am quite disappointed it is not easier to delete a page or update/change an existing page. I do appreciate both of your help, but as a suggestion that would be an awesome update to the software.

    Leave a comment:


  • Mark.B
    replied
    It's in your database...you can access this via a tool such as phpMyadmin.

    However to be honest if you've never played directly in a database before...then don't! You can easily break everything.

    Leave a comment:


  • Reklaw
    replied
    Where can I find the routenew table?

    Leave a comment:


  • Wayne Luke
    replied
    Website URLS are Case Sensitive. Domains are not Case Sensitive. Everything after the / is though. Depending on the page, it make things more difficult if you delete them.

    http://www.loanforum.org/Home - Invalid Route
    http://www.loanforum.org/home - Redirects to http://www.loanforum.org/mortgagesearch

    You can try and find the /home route in your routenew table and delete it. Not sure what you're trying to put on that page since your forum table is the default home page that ships with the software.

    Leave a comment:


  • Reklaw
    replied
    I cant do that because I cannot locate the page. And when I go to the site map and click on it it goes to a different page. The page I am trying to edit is loanforum.org/home which doesnt exist apparently. There is also a loanforum.org/Home but this is not the same page. I was always under the impression that website addresses and URL's are NOT case sensitive. However there are several pages where that seems to prove untrue. I tried to change this page to the home page layout and configuration but it again would not let me change it because the page location already exists. Why is there no overwrite feature?

    Is seems the best option is deleting the pages altogether and starting fresh. How do I do that so that I can recreate the pages?

    Leave a comment:


  • Wayne Luke
    replied
    The custom page you created will be listed on the Page Map if you don't have navigation to it.

    For the Home page I suggest resetting it to /home. There is a bugfix in an upcoming version that allows you to actually change the homepage easier.

    Leave a comment:


  • Reklaw
    replied
    Yes I tried that as well and keep getting the same error message. I have editing the home page a few times trying to figure out which on would be the best for conversion. I even tried to recreate the page by making a new one but now that wont work and I cannot seem to locate the URL of the page I was editing anymore. It is supposed to be my home page but now it doesnt exist. I have tried to locate it through the sitemap but also nothing.... I really need to get this back up.

    Any ideas?

    Leave a comment:


  • Wayne Luke
    replied
    Did you change the home tab previously? A default install has it as blank. Save it as blank instead of a /.

    Leave a comment:

Related Topics

Collapse

Working...
X