I am trying to do a 301 redirect but not sure how to do it properly. I had one page named x.htm but I removed that page and replace it with y.htm. How do I redirect x.htm to y.htm. I have my website hosted on godaddy so I cant use the .htmaccess file or any mod_rewrite. The old page is already indexed so just in case someone comes from that page I want it to go to the new page PLUS alot of the content is the same so I do not want to get hit with a dup content issue. My only solution right now is using the meta-refresh tag which I would prefer not to do. Any help would be greatly appreciated?
if you was using php pages you could put this in the page u wanna redirect <?php header("HTTP/1.1 301 Moved Permanently"); header("Location: http://www.newdomain.com/"); exit(); ?> Code (markup): but if you are not then meta redirect mayb your last option but be careful how it is used since search engines can punish you for using meta redirects.