Tips on how to redirect your readers to your new domain name
Got a new domain name? Do you need to transfer your reader to new domain name? The safest way to redirect from the old website to the new web site and keep the same search engine rankings is to use the 301 redirect.
What is 301 redirect?
The 301 redirect is the best method to preserve your current search engine rankings when redirecting to your web site. The code “301” is interpreted as “moved permanently”. After the code, the URL of the missing or renamed page is noted, followed by a space, then followed by the new location or file name. You implement the 301 redirect by creating a .htaccess file.
What is a .htaccess file?
When a visitor a web page, your web server checks first for a .htaccess file. The .htaccess file contains specific instructions for certain requests, including security, redirection issues and how to handle certain errors.
Don’t have an .htaccess file access?
In this cases you can redirect your readers using the following scripts:
To send someone to a new page (or site) put this between the head tag “<head> </head>” of your document:
<meta content=’5;url=http://mynewsite.com ‘ http-equiv=’refresh’/>
<.cfheader statuscode=”301″ statustext=”Moved permanently”>
<.cfheader name=”Location” value=”http://www.new-url.com”>
Header( “HTTP/1.1 301 Moved Permanently” );
Header( “Location: http://www.new-url.com” );
<%@ Language=VBScript %>
Response.Status=”301 Moved Permanently”
ASP .NET Redirect
private void Page_Load(object sender, System.EventArgs e)
Response.Status = “301 Moved Permanently”;
JSP (Java) Redirect
response.setHeader( “Location”, “http://www.new-url.com/” );
response.setHeader( “Connection”, “close” );
CGI PERL Redirect
$q = new CGI;
What if you are using bloggers or blogspot.com?
Since Bloggers (blogspot.com) does not let you access the .htaccess file. You can use the Meta redirect script as stated above. Where “content=10″ is the time in seconds that the readers will have to wait before they will be redirected. As what we did with Zorlone (zorlone.blogspot.com), we created a meta tag to redirect his readers to his new domain http://www.zorlone.com. But you have to remove all your widgets that you have added and make a post that you’ll be redirecting your reader to a new domain name.
To demonstrate I have prepared a slide show for you to have a better picture.