.HTACCESS 301 Redirect
Posted: Thu Jul 10, 2008 5:20 am
I have the following code in my .htaccess file
the purpose of this is anyone visiting http://www.mysite.co.uk/index.php will automatically be redirected to http://www.mysite.co.uk/
something is obviously wrong however as firefox gives me the following message
Cheers, Mal
Code: Select all
redirect 301 /index.php http://www.mysite.co.uk/
something is obviously wrong however as firefox gives me the following message
Ive done a search and cant seem to find whats wrong with my line of code, can someone point me in the right direction?Firefox wrote: Redirect Loop
Redirection limit for this URL exceeded. Unable to load the requested page. This may be caused by cookies that are blocked.
The browser has stopped trying to retrieve the requested item. The site is
redirecting the request in a way that will never complete.
* Have you disabled or blocked cookies required by this site?
* NOTE: If accepting the site's cookies does not resolve the problem, it is probably a server configuration
issue and not your computer.
Cheers, Mal