galvin Posted December 22, 2011 Share Posted December 22, 2011 Using Multiviews is now causing issues with other rewrites. When I wasn't using Multiviews, the "Create Quiz redirect" below worked fine. Once I started using Multiviews (i.e. once I added "+Multiviews" to the code), that redirect doesn't work and says (in Chrome)... "This webpage has a redirect loop - The webpage at http://www.mysite.com/createquiz/overivew has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer." Anyone see the possible issue in my code below?... RewriteBase / Options +FollowSymlinks +MultiViews RewriteEngine on #sending all non-www requests to www RewriteCond %{http_host} ^mysite.com [nc] RewriteRule ^(.*)$ http://www.mysite.com/$1 [r=301,nc] #sending all index.php requests to root RewriteCond %{THE_REQUEST} "GET /index.php HTTP/1.1" RewriteRule index\.php http://www.mysite.com/ [R=301,L] #Create Quiz redirect RewriteRule ^createquiz/overview /createquizoverview.php [NC,L] Quote Link to comment https://forums.phpfreaks.com/topic/253640-multiviews-messing-up-other-rewrites/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.