I need some clarification on 301 redirects for search engine optimization.
All of the technical explanations that I have found are referring to redirection of old web pages to new web pages. We don't any "old web pages;" rather we have set up synonym sites to all point to our main site, so that when people type in a similar domain, they will come to our site. For example, for historical reasons we have the ".com" and ".net" versions of our site name. But there is actually only one web site.
So, in order to use 301 redirects as we have been advised by and SEO consultant, we have to go through the round-about procedure of actually creating web sites for all of them. I would like to confirm this because it is a small piece of work.
What it looks like we have to do, is actually set up a separate, real web site for each of the other domains. Then, with some simple code on the home page of each of these domains, the 301 redirect can be implemented.
Here is the code that is needed:
<%@ Language=VBScript %>
Response.Status="301 Moved Permanently"
Response.AddHeader "Location", "http://www.rephunter.net/
As you can see, the code is trivial--it is setting up all the web sites that I am asking about. Is it really necessary?