Results 1 to 4 of 4

Redirect Loop

This is a discussion on Redirect Loop within the Troubleshooting forums, part of the vBSEO SEO Plugin category; I have a redirect loop on my archive. My htaccess is: RewriteEngine On RewriteBase /forum RewriteRule ^u([0-9]+)/$ http://www.mustangevolution.com/forum/users/$1/ [L,R=301] RewriteCond ...

  1. #1
    Senior Member Array BamaStangGuy's Avatar
    Real Name
    Brent Wilson
    Join Date
    Aug 2005
    Location
    Huntsville, Alabama
    Posts
    2,491
    Liked
    8 times

    Redirect Loop

    I have a redirect loop on my archive. My htaccess is:

    RewriteEngine On
    RewriteBase /forum
    RewriteRule ^u([0-9]+)/$ http://www.mustangevolution.com/forum/users/$1/ [L,R=301]
    RewriteCond %{HTTP_HOST} !^www\.mustangevolution\.com
    RewriteCond %{REQUEST_URI} forum/
    RewriteRule (.*) http://www.mustangevolution.com/forum/$1 [L,R=301]

    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

    RewriteCond %{REQUEST_URI} !(theadmin/|themod/|cron|vbseo_sitemap)
    RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(theadmin|themod|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ vbseo.php [L,QSA]
    Using Litespeed webserver.

  2. #2
    vBSEO.com Webmaster Array Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,463
    Liked
    721 times
    Blog Entries
    4
    Try replacing
    Code:
    RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
    with
    Code:
    RewriteRule ^((archive/)?(.*\.php(/.*)?)?)$ vbseo.php [L,QSA]
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  3. #3
    Senior Member Array BamaStangGuy's Avatar
    Real Name
    Brent Wilson
    Join Date
    Aug 2005
    Location
    Huntsville, Alabama
    Posts
    2,491
    Liked
    8 times
    Still doing it.

  4. #4
    Senior Member Array BamaStangGuy's Avatar
    Real Name
    Brent Wilson
    Join Date
    Aug 2005
    Location
    Huntsville, Alabama
    Posts
    2,491
    Liked
    8 times
    Nevermind. Seems to be fixed now.

Similar Threads

  1. Redirect Loop In Rc 5
    By MissKalunji in forum Troubleshooting
    Replies: 10
    Last Post: 09-15-2009, 10:03 PM
  2. Redirect Loop
    By robdog in forum Troubleshooting
    Replies: 3
    Last Post: 06-01-2009, 08:54 PM
  3. Redirect Loop problem
    By OnyxChase in forum Troubleshooting
    Replies: 3
    Last Post: 05-07-2009, 05:24 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
  •