Log in

View Full Version : htaccess redirection error


saini1987
11-23-2013, 03:35 AM
Hi,

my site url: http://webmasterforumuk.com/

I have following 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.

# 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/)

RewriteEngine on

#RewriteBase /

RewriteCond %{HTTP_HOST} ^webmasterforumuk\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.webmasterforumuk\.com$
RewriteRule ^/?$ "http\:\/\/webmasterforumuk\.com\/" [R=301,L]

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

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

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



And the site showing this message in firefox:
The page isn't redirecting properly

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

This problem can sometimes be caused by disabling or refusing to accept cookies.

Please help someone...

WEBDosser
11-23-2013, 07:27 AM
No error for me in firefox?.

ozzy47
11-23-2013, 10:01 AM
That's because it was sorted here, https://vborg.vbsupport.ru/showthread.php?t=304651 seems he just got excited and double posted.