In my .htaccess file whenever I create 301 redirects, the url to be redirected from is appended to the url to be redirected to. For example:
Redirect /linksresources.html http://example.com/resources/ Will redirect me to:
http://example.com/resources/?/linksresources.html The existing .htaccess file:
#404 Custom Error page #ErrorDocument 404 /error_docs/404.php #force IE out of compatibility mode <FilesMatch "\.(htm|html|php)$"> <IfModule mod_headers.c> BrowserMatch MSIE ie Header set X-UA-Compatible "IE=Edge,chrome=1" </IfModule> </FilesMatch> #Disable Indexing Options -Indexes Order Deny,Allow Allow from All Redirect /linksresources.html http://example.com/resources/ RewriteEngine On RewriteOptions inherit #if request is not an existing file or directory then redirect to #codeigniter boot.php file RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ boot.php?/$1 [L,QSA] I feel like I have resolved this issue in the past, but I can not remember what it was that I did. Does anyone have any suggestions?