Forum Moderators: mack

Message Too Old, No Replies

301 redirects

coding 301 redirects

         

jeriko

6:54 pm on Jul 4, 2007 (gmt 0)

10+ Year Member



Can someone please provide an example (or point me in the right direction) of the html code i need to write to perform a 301 redirect. I want to redirect the non-www version of my site

Thanks

coopster

7:35 pm on Jul 4, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Hi jeriko and welcome to WebmasterWorld.

There are quite a few examples of the 301 redirection you describe [google.com] in our Apache Forum.

ergophobe

11:59 pm on Jul 10, 2007 (gmt 0)

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



This is a bit old I see, but it's perhaps worth mentioning that one does not do 301 redirects with HTML. This is a server-side thing, so it's typically done with Apache directives and occasionally with a server-side language.