I know this has been covered a 1000 times before but I can't seem to get this htaccess file to work properly. What should be a simple task is giving me grey hairs (well more anyway).
I have just created a new information site in Actinic to replace an old one created in DW. The pages have changed and I want to implement permanent redirects for a period of time for SE links.
The following are typical lines in my htaccess file but I still get 404's when trying to access a link to an old page.
Can anyone please tell me where I'm going wrong?
In the interim I've added the following lines to the end of the htaccess file to at least get temporary 404 redirection to the homepage (which is working).
I have just created a new information site in Actinic to replace an old one created in DW. The pages have changed and I want to implement permanent redirects for a period of time for SE links.
The following are typical lines in my htaccess file but I still get 404's when trying to access a link to an old page.
Can anyone please tell me where I'm going wrong?
Code:
Redirect permanent index.htm http://www.sewinglines.co.uk/index.html Redirect permanent Curtains_and_Soft_Furnishings.htm http://www.sewinglines.co.uk/acatalog/Curtains_and_Soft_Furnishings.html Redirect permanent General_Alterations.htm http://www.sewinglines.co.uk/acatalog/General_Alterations.html ...
Code:
ErrorDocument 404 /index.html
Comment