Hi all,
I’m trying to remove index.php from an EE site that was build about a year ago, so there are 200+ pages that need 301 Redirect’s. I already have the list of 301’s, but for some reason it isn’t playing nicely with my RewriteRule. Here’s what I’ve got in my .htaccess
# Remove index.php
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
RewriteRule ^(.*)$ /index.php/$1 [L]
# 301 Redirect for 200+ pages
Redirect 301 /index.php/about/ <a href="http://website.com/about/">http://website.com/about/</a>
Redirect 301 /index.php/services/ <a href="http://website.com/services/">http://website.com/services/</a>
Redirect 301 /index.php/blog/ <a href="http://website.com/blog/">http://website.com/blog/</a>
Etc, etc etc…And I get:
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.
Help!! Thanks in advance.
Cheers,
Brad