Redirect page

I have a URL, which I want to redirect and then delete as it is no longer needed! This is the URL.

Which I want to redirect to:

www.mydomain/surveys/sats/index.htm

If I go into Transmit - view the invisible files and open the .htaccess file in text edit and add:

redirect 301 /logistics.htm mydomain.co.uk - mydomain Resources and Information.

Is this correct? If so will the redirect take place immediately or is there anything else I need to do?

I also have a .htaccess_FULL.txt file in my root folder. Is this the same thing?

Many thanks


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

If you leave the # at the beginning of the line, then no. The # comments out the rest of that line, and the server ignores it. In order to work (usually) the file also must be named .htaccess with nothing else in its filename.

Walter


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thank you Walt

The correct string is actually (without #) at the start of the:

redirect 301 /surveys/logistics/logistics.htm http://www.mydomain.co.uk/surveys/sats/index.htm

NOTE:

The command must be on a new line if the syntax is wrong the entire website may stop functioning, so TEST after you have made an changes to htaccess.

is comment which means that line is ignored

Worm


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options