Code: Select all
DirectoryIndex index.php index.html index.htm
order allow,deny
allow from all
ErrorDocument 404 /home
Options +FollowSymLinks
Options +Indexes
RewriteEngine On
Redirect 301 /blog/comments/feed/ http://www.site.ie/errorWe are adding a load of 301s, but rather than going to /error, they are going to /error?page=.......
What it is also doing, is if the bad URL is a shorturl, the URL shown after error?.... is the LONG url version?!?!?!?!
Am I doing the 301 correctly, should it be placed after all the other mod rewrites?