Results 1 to 4 of 4

Directories don't work with vbSEO... continuation

This is a discussion on Directories don't work with vbSEO... continuation within the Bug Reporting forums, part of the vBSEO SEO Plugin category; OK, so itm turns out VBseo is causing the problem. When I remove everything from the vbseo .htaccess file and ...

  1. #1
    Junior Member
    Join Date
    Aug 2005
    Posts
    12
    Liked
    0 times

    Directories don't work with vbSEO... continuation

    OK, so itm turns out VBseo is causing the problem.

    When I remove everything from the vbseo .htaccess file and then go to: http://www.webmaster-forums101.com/testvb/, it works fine...

    But when the code is in the .htaccess file it gives a 404 because it points back to vbseo.php?vbseourl= resulting in a 404 because testvb does not exist in the database...

    So, this doesn't seem to be working:

    RewriteCond %{REQUEST_FILENAME} !testvb/

    My .htaccess code is below. What am I doing wrong???

    HTML 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 /
    
    RewriteCond %{REQUEST_FILENAME} !testvb/
    RewriteCond %{REQUEST_FILENAME} !admincp/
    RewriteCond %{REQUEST_FILENAME} !modcp/
    RewriteRule ^(.*\.php)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
    
    RewriteRule ^(archive/.*\.php.*)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
    
    RewriteCond %{REQUEST_FILENAME} !testvb/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.+)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    So, this doesn't seem to be working:

    RewriteCond %{REQUEST_FILENAME} !testvb/

    My .htaccess code is below. What am I doing wrong???
    This rewrite condition directive seems to be correct. Are you sure the changes above are saved in your .htaccess file now? And also please make sure "testvb" folder exists.
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  3. #3
    Junior Member
    Join Date
    Aug 2005
    Posts
    12
    Liked
    0 times
    I seem to have fixed the problem... I had to remvoe the contents of the .htaccess file in order for me to login. Once I was logged in, I just added the .htaccess contents back. Worked like a charm

  4. #4
    vBSEO Staff Juan Muriente's Avatar
    Real Name
    Juan Carlos Muriente
    Join Date
    Jun 2005
    Location
    Puerto Rico
    Posts
    14,267
    Liked
    558 times
    Glad you got it working -- Closing this thread.
    Juan Muriente / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


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, 10:29 PM
  2. vBSEO 2.0 RC7 Released
    By Juan Muriente in forum vBSEO Announcements
    Replies: 17
    Last Post: 09-09-2005, 12:00 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
  •