In the first article in this series, we discussed why Meta Refreshes are easy but not the optimal method of redirecting visitors to other web pages, directories, and domains on the Web. We concluded that Meta Refreshes may make your web page or domain rank lower on a Search Engine Results Page (SERP) because it may appear to search engines such as Google, Yahoo, and Bing that you are attempting to rank high in the search engine index for one content while sending visitors to some other content.
In the second article in this series, we discussed that 301 Permanent Redirection is the preferred method of redirecting visitors. The search engines will not typically penalize you on a SERP for redirecting web content in this way. However, to accomplish the 301 Redirects discussed in that article, you need administrative access to your web server.
If you have your web site hosted in a shared hosting plan this can be a problem because web hosting companies rarely give you root access to the web server. Short of having the web host do the redirection for you, you may have no alternative but to do the 301 Permanent Redirection right on your web pages themselves.
Using ASP, ASP.NET, PHP, and JSP you can add a Header Insert to the top of every page you want to redirect elsewhere to avoid having to use a Meta Refresh. Read to learn how to add a Header Insert in ASP, ASP.NET, PHP, and JSP web pages to do a 301 Permanent Redirect.