Forum Moderators: phranque

Message Too Old, No Replies

The dreaded 301 Redirect - Why can't I get it to work

what am I doing wrong

         

Aberdeen

6:50 pm on Oct 30, 2003 (gmt 0)

10+ Year Member



Sorry, I know this comes up a lot, but I just can not get it to work. Heres what I am using:

redirect 301 /Links2.htm [example.com...]

And thats it, I did not have a .htaccess file, so I had to create one. Does it matter what type of server its on? I have it in my htdocs (live root directory).

I can not think what I am doing wrong. I have also tried redirect permanent, but nothing. Does the actual url change in the browsers

Cheers

[edited by: heini at 8:01 pm (utc) on Oct. 30, 2003]
[edit reason] - fixed link - [/edit]

Mohamed_E

8:01 pm on Oct 30, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Does it matter what type of server its on?

I may be wrong, but I believe that .htaccess only works on an apache server. I also believe that the server administrator can decide how much authority to delegate to users via .htaccess.

Presumably other servers have a similar functionality (with a different syntax).

Birdman

8:13 pm on Oct 30, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Try this:

redirect 301 ^Links2.htm$ [example.com...]

Aberdeen

9:22 pm on Oct 30, 2003 (gmt 0)

10+ Year Member



Its not an apache server, it is a windows one. This is going to be the reason isnt it. How do I do it on a windows server?

sun818

3:12 pm on Oct 31, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Lookeee here:
301 redirect for Windows
[webmasterworld.com...]