Results 1 to 11 of 11

Ok, something weird is going on ...

This is a discussion on Ok, something weird is going on ... within the Bug Reporting forums, part of the vBSEO SEO Plugin category; This morning i moved my forum files over to their own specific domain; /forums to allow for a new homepage ...

  1. #1
    Senior Member Michael's Avatar
    Real Name
    Michael Benson
    Join Date
    Sep 2005
    Location
    United Kingdom
    Posts
    776
    Liked
    0 times

    Ok, something weird is going on ...

    This morning i moved my forum files over to their own specific domain; /forums to allow for a new homepage to be added, created by vB Advanced CMPS. After i successfully completed the installation, uploaded all the files etc .. whenever i try and view the file which is located at http://www.staff-lounge.com/index.php i end up getting a 404 error. Now usually i would get some form of debugging message but this isnt the case which is why i am assuming that VBSEO has some involvement in this error. Can you help?

  2. #2
    vBSEO Staff Juan Muriente's Avatar
    Real Name
    Juan Carlos Muriente
    Join Date
    Jun 2005
    Location
    Puerto Rico
    Posts
    14,266
    Liked
    584 times
    Hello Michael,

    Make sure you don't have additional copies of your .htaccess file anywhere else but in the '/forums' root. Also, ensure there are no duplicates of your functions_vbseo.php file.

    Q: why are you changing the forum location? It will make your content appear 'deeper' within your site structure. You can always rename the forum page via the vb admincp to something like 'forums.php'. vBSEO picks that value from your settings and forces it as your forum homepage. You can then name your vBadvanced homepage 'index.php'

  3. #3
    Senior Member Michael's Avatar
    Real Name
    Michael Benson
    Join Date
    Sep 2005
    Location
    United Kingdom
    Posts
    776
    Liked
    0 times
    Nevermind, all i had to do was upload the VBSEO files to the home directory too for it too work. Well at least you can warn others about this issue ^_^

  4. #4
    Senior Member Michael's Avatar
    Real Name
    Michael Benson
    Join Date
    Sep 2005
    Location
    United Kingdom
    Posts
    776
    Liked
    0 times
    Quote Originally Posted by Juan Muriente
    Hello Michael,

    Make sure you don't have additional copies of your .htaccess file anywhere else but in the '/forums' root. Also, ensure there are no duplicates of your functions_vbseo.php file.

    Q: why are you changing the forum location? I'll make your content appear 'deeper' within your site structure. You can always rename the forum page via the vb admincp to something like 'forums.php'. vBSEO picks that value from your settings and forces it as your forum homepage. You can then name your vBadvanced homepage index.php
    Hmmm, i shall do this then. Sounds much more SEO friendly. So how exactly do i go about changing the index.php to appear as forums.php?

  5. #5
    vBSEO Staff Juan Muriente's Avatar
    Real Name
    Juan Carlos Muriente
    Join Date
    Jun 2005
    Location
    Puerto Rico
    Posts
    14,266
    Liked
    584 times
    Via your admincp (in vB), find:
    vBulletin Options > Forums Home Page Options > Script Name for Forum Homepage

    The default is 'index'. Change it to the new default ('forums' for example). Rename the physical file to the new value.

    Within vbseocp.php, disable the option 'Force Forum Root as Homepage'

  6. #6
    Senior Member Michael's Avatar
    Real Name
    Michael Benson
    Join Date
    Sep 2005
    Location
    United Kingdom
    Posts
    776
    Liked
    0 times
    Thanks. How come now that whenever i view my vB Advanced Homepage that the actual VBSEO URLs are no longer in effect? http://www.staff-lounge.com/ For example here only URLs that i have specifically specified; eg, those in Site Navigation are actually doing their job. But those in the navbar, and everywhere else functioning without the VBSEO effect.

  7. #7
    Senior Member
    Real Name
    Joseph Ward
    Join Date
    Jun 2005
    Posts
    23,845
    Liked
    36 times
    Blog Entries
    9
    @Michael:

    I took a quick look at your forum. Everything appears to be working ok on your main vBAdvanced homepage.

  8. #8
    Senior Member Michael's Avatar
    Real Name
    Michael Benson
    Join Date
    Sep 2005
    Location
    United Kingdom
    Posts
    776
    Liked
    0 times
    Quote Originally Posted by Joe Ward
    @Michael:

    I took a quick look at your forum. Everything appears to be working ok on your main vBAdvanced homepage.
    Hmmm, for example some URLs appear to be working fine. But in my Custom Rewrite rules i have specified the following;

    PHP Code:
    // For search forums and results
    '^search\.php\?do=getdaily' => 'today-posts.html'
    '^search\.php\?do=getnew' 
    => 'new-posts.html'
    '^search\.php\?searchid=(\d+)' 
    => 'search-result-$1.html'
    '^search\.php\?searchid=(\d+)&pp=25&page=(\d+)$' 
    => 'search-result-$1-$2.html' 
    But whenever i highlight the New Posts link whilst viewing my vB Advanced homepage instead of ./new-posts.html i get instead; ./search.php?do=getnew

  9. #9
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,741
    Liked
    168 times
    Michael,

    try removing the leading "^" character from your rewrite rules as vBa creates full URLs at the homepage (unlike vB).

  10. #10
    Senior Member Michael's Avatar
    Real Name
    Michael Benson
    Join Date
    Sep 2005
    Location
    United Kingdom
    Posts
    776
    Liked
    0 times
    Quote Originally Posted by Oleg Ignatiuk
    Michael,

    try removing the leading "^" character from your rewrite rules as vBa creates full URLs at the homepage (unlike vB).
    Nevermind, vB Advanced has a built in feature of rewriting URLs in case you had installed it on a different directory to that of your forums; since that isnt applicable i removed the feature of editing URLs and now it all works swimmingly

    e.g.,

    ./register.php
    to
    ./forums/register.php

  11. #11
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,741
    Liked
    168 times
    Ok, great.
    I'm closing this thread.

Similar Threads

  1. Weird error.
    By ryan in forum Troubleshooting
    Replies: 2
    Last Post: 02-09-2006, 09:10 AM
  2. Weird path in rewrite
    By cb001 in forum Troubleshooting
    Replies: 1
    Last Post: 01-01-2006, 10:04 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •