Setting up a 301 Redirect

apps

#1

I am not sure if I can even do this but I need to set up my server to do a 301 redirect when a request comes in for a particular file.

I have a podcast that used to publish the feed at the site. Now I’ve gone to Feedburner but iTunes and various other podcatchers cannot update to my new url until I set up this 301 redirect.

Anyone know if I can do that with a shared hosting plan?


#2

You can implement a 301 redirect using a .htaccess file in the web-directory for your domain.

For example; The following line placed in a .htaccess file would redirect all accesses to the file ‘old.html’ to ‘new.html’

redirect 301 /old.html http://www.yourdomain.com/new.html

Note: The destination needs to be specified as a full URL, as in the example above.

Mark


Web Hosting Reviews | DreamHost Promo Code