PDA

View Full Version : This webpage has a redirect loop


TeamSempoi
05-13-2014, 04:19 AM
hye there

i have big problem on redirect issue

all my forum link work except the forum root

www.domain.org/forum ==> This webpage has a redirect loop
www.domain.org/forum/forum.php ==> result ok
www.domain.org/ ==> result ok

already try to disable plugin = result still same

need your help guy

vBNinja
05-13-2014, 04:21 AM
there's probably something wrong with your htaccess rules

TeamSempoi
05-13-2014, 05:36 AM
# 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 %{HTTP_HOST} !^www\.yourdomain\.com
#RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]

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]



any thing wrong ?

Max Taxable
05-13-2014, 03:25 PM
any thing wrong ?Just temporarily rename the file to "htaccess.txt" that will render it inert. Then test for this issue. If the issue still exists, it's not your htaccess file.

If it does, then further study is needed.

Rename it back to just, ".htaccess" when done.

vBNinja
05-13-2014, 04:28 PM
Your htaccess looks fine, try disabling plugins

fxdigi-cash
05-17-2014, 07:15 PM
I see VBSEO rewrite url in the .htaccess so it should VBSEO rule for redirecting that page.