Results 1 to 9 of 9

vbseo not seeming to work on root outside of forum

This is a discussion on vbseo not seeming to work on root outside of forum within the Troubleshooting forums, part of the vBSEO SEO Plugin category; Howdy all, I have VBAdvanced CMPS installed on my site. My root is abadss.com and my forums are located at ...

  1. #1
    Member
    Real Name
    eric
    Join Date
    Apr 2006
    Posts
    60
    Liked
    0 times

    vbseo not seeming to work on root outside of forum

    Howdy all, I have VBAdvanced CMPS installed on my site. My root is abadss.com and my forums are located at abadss.com/forum. i have turned off the force forum root as home page setting. check out how wierd this is.

    Normally at my main root directory (wwww.abadds.com), i have my vbadvanced home page that has my welcome screen and recent threads etc. Now, it shows my forum home, but the links for the forum are the old style and not rewritten.

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    Hello Eric,

    as I see, your forums URLs at homepage are porintg to the domain root as well instead of forum/ folder, for instance:
    Code:
    http://www.abadss.com/forumdisplay.php?f=3
    That's why they're not rewritten.

  3. #3
    Member
    Real Name
    eric
    Join Date
    Apr 2006
    Posts
    60
    Liked
    0 times
    i'm not sure why it's doing that, it should be going to my vbadvanced home page

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    Is it working correctly with vBSEO disabled?

  5. #5
    Member
    Real Name
    eric
    Join Date
    Apr 2006
    Posts
    60
    Liked
    0 times
    when i disable VBSEO it does the same thing, but when i remove the htaccess file it goes back to normal. i just removed it now.

  6. #6
    Member
    Real Name
    eric
    Join Date
    Apr 2006
    Posts
    60
    Liked
    0 times
    This is my htaccess

    Code:
    # Comment the following line (add '#' at the beginning)
    # to disable mod_rewrite functions.
    # Please note: you still need to disable the hack in
    # the vBSEO control panel to stop url rewrites.
    RewriteEngine On
    # Some servers require the Rewritebase directive to be
    # enabled (remove '#' at the beginning to activate)
    # Please note: when enabled, you must include the path
    # to your root vB folder (i.e. RewriteBase /forums)
    RewriteBase /forum
    RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    RewriteCond %{REQUEST_FILENAME} -f
    RewriteCond %{REQUEST_FILENAME} (admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.*)$ $1 [L]
    RewriteCond %{QUERY_STRING} !vbseourl=
    RewriteCond %{REQUEST_FILENAME} !chat
    RewriteRule ^(.*\.php)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
    RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.+)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]

  7. #7
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    Mm.. but your forum/.htaccess should not affect the homepage. Do you mean that if you remove it and disable vBSEO, the links at ABA DSS Free to Air FTA DSS Forum look like:
    Code:
    http://www.abadss.com/forum/forumdisplay.php?f=3
    instead of:
    Code:
    http://www.abadss.com/forumdisplay.php?f=3

  8. #8
    Member
    Real Name
    eric
    Join Date
    Apr 2006
    Posts
    60
    Liked
    0 times
    no, i mean, that when i disable vbseo, nothing changes on the root abadss.com, it still shows the forum home (abadss.com/forum) instead of the to root home page like it is supposed to be (abadss.com/index.php), when i dsable htaccess everything goes back to normal and my home page shows up. i currently have htaccess removed so it is blank and VBSEO enabled and it seems to be working fine. all of my urls are still re-written. i don't know what i am missing with the htaccess. oleg pm me if you want and i can give you access to check it out if you want.

  9. #9
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    I'm not sure if I understood correctly, but if you want your domain homepage to show exactly the same content as forums homepage, you should redirect to it using this .htaccess:
    Code:
    RewriteEngine on
    RewriteRule ^$ http://www.abadss.com/forum/ [L,R=301]
    (otherwise links will point to an incorrect location)

Similar Threads

  1. vBSEO 2.4.0 Released - Includes Google AdSense Targeting Feature!
    By Juan Muriente in forum vBSEO Announcements
    Replies: 74
    Last Post: 05-20-2006, 09:29 PM
  2. VBSEO crashing new server
    By MentaL in forum Troubleshooting
    Replies: 20
    Last Post: 12-11-2005, 06:55 PM

Posting Permissions

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