Jump to content

Multiviews messing up other rewrites?


galvin

Recommended Posts

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]

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.