Results 1 to 6 of 6

vbSEO htaccess rewrite rules broke my admincp...

This is a discussion on vbSEO htaccess rewrite rules broke my admincp... within the Troubleshooting forums, part of the vBSEO SEO Plugin category; Hi guys, I just attempted today to install vbSEO on my forums. The install was a breeze, no problems there... ...

  1. #1
    Senior Member TECK's Avatar
    Real Name
    Floren Munteanu
    Join Date
    Apr 2006
    Location
    Canada
    Posts
    788
    Liked
    0 times
    Blog Entries
    2

    vbSEO htaccess rewrite rules broke my admincp...

    Hi guys,

    I just attempted today to install vbSEO on my forums.
    The install was a breeze, no problems there... the links are re-written, actually they are do to well... because now I don't have access to my admincp.

    After reading the troubleshooting note about this, I'm still with the same problem in hand.

    Here it is my htaccess file:
    Code:
    RewriteEngine On
    
    AddHandler phpFive .php
    Action phpFive /cgi/php.cgi
    
    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]
    
    ErrorDocument 404 /index.php
    I tried to add a RewriteBase and a +FollowSymLinks, with no success.
    What do I have to do, in order to make it work?
    My forums are working great, the rewrite rules are functioning properly.

  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 Floren,

    are other URLs working correctly?
    Please try to change
    Code:
    RewriteCond %{REQUEST_FILENAME} -f
    RewriteCond %{REQUEST_FILENAME} (admincp|modcp|clientscript|cpstyles|images)/
    to:
    Code:
    RewriteCond %{REQUEST_FILENAME} (admincp|modcp|clientscript|cpstyles|images)/

  3. #3
    Senior Member TECK's Avatar
    Real Name
    Floren Munteanu
    Join Date
    Apr 2006
    Location
    Canada
    Posts
    788
    Liked
    0 times
    Blog Entries
    2
    Ya, the forums are working perfectly. the AdminCP only is no go.
    Forums - Powered by vBulletin
    AdminCP Link:
    ADOLYMPICS.COM
    Code:
    RewriteEngine On
    
    AddHandler phpFive .php
    Action phpFive /cgi/php.cgi
    
    RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    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]
    Redirected to front page... as set in vbseocp.php config.
    What's next?

    Also, how do I turn on the autorename Link option?
    In this thread, Test 2 - Forums the link was not renamed automatically.
    Last edited by TECK; 04-28-2006 at 01:18 AM.

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

    Redirected to front page... as set in vbseocp.php config.
    What's next?
    PM sent

  5. #5
    Senior Member
    Real Name
    Joseph Ward
    Join Date
    Jun 2005
    Posts
    23,845
    Liked
    36 times
    Blog Entries
    9
    Floren,

    Please remember to remove the "Powered by vBulletin" from your template:

    http://www.vbseo.com/f28/removing-po...e-titles-4677/

  6. #6
    Senior Member TECK's Avatar
    Real Name
    Floren Munteanu
    Join Date
    Apr 2006
    Location
    Canada
    Posts
    788
    Liked
    0 times
    Blog Entries
    2
    Thanks Joe, will do that... still working on the heavy modded interface...

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 2.0 RC7 Released
    By Juan Muriente in forum vBSEO Announcements
    Replies: 17
    Last Post: 09-08-2005, 11:00 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
  •