Webmaster Tutorials - Web Design
Webmaster Resource Directory | Contact Us | Submit Your Site

LEARN

BUILD

PROMOTE

SELL

MANAGE

GET LISTED



Web Site Redirection - How to Implement a 301 Redirect


You just created a new web site but want to pass on the search engine rankings of the old one to the new one. What is the most effective and spider/visitor friendly strategy to implement your web site redirection? You should use a 301 redirect.

What is a 301 redirect?

It is used when you want to redirect your web site or web pages. 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.

Requirements for using a 301 redirect

Apache server.
Most hosting services used these days have Apache servers. Check with your host if you are not sure.

.htaccess file
When a search engine spider requests a web page, your web server will check for an .htaccess file. The .htaccess file contains specific directions that are processed then sent back to the browser.

How do I implement a 301 redirect?

1. Create an .htaccess file - you can use Notepad to create the file. Remember to insert a period at the beginning of the file name with no extension at the end (ie .htaccess).

2. Create a line of code that reads like this:

Redirect permanent / http://www.domainname.com/

The first "/" indicates that everything from the top level of the site down should be redirected.

All current links within the search engine results from the old site will redirect to the top level of your new site.

If you already have an .htaccess file on your server, open it up in Notepad and look for lines of code that are there. If lines of code are present, don't change any of them but leave a space, then insert the above 301 redirect code.

3. Save the .htaccess file to your root directory and upload it to your server.

4. Test it out by typing in the old web site address. You should immediately be redirected to your new web site address.

Redirecting a Web Page

The above example shows how to redirect a whole web site. What if you want to just redirect a web page that you have changed but want to keep the rankings of the old page?

Follow the same steps as above but write the code like this:

redirect 301 /old/old.htm http://www.you.com/new.htm

/old/old.htm (the original folder path and file name)

http://www.you.com/new.htm (new path and file name)

Note:
When the search engine spiders visit your old web site or web pages, they will automatically be redirected to the new web site or web page.

Conclusion:
It may take several weeks or months for the old rankings to be passed on to the new site. Therefore don't remove your old domain name, web site or web pages just yet.

Herman Drost is the Certified Internet Webmaster (CIW) owner and author of http://www.iSiteBuild.com - Affordable Web Site Design and Web Hosting. Subscribe to his ?Marketing Tips? newsletter for more original articles. subscribe@isitebuild.com. Read more of his in-depth articles at: http://www.isitebuild.com/articles


More Web Design Articles

.htaccess to Mask Errors on Your Website
The .htaccess file is a control file located in your webservers directory.

404 Error - The Page Cannot be Found
A "404 Error" happens when the web server you are on cannot find the page that you requested. This type of error is quite common and is seen all over the place.

Essential Strategies To Make Your Web Copy Attractive To Your Target Audience
Reading on the web is different than reading in all other formats. People approach it differently and you need to have strategies that capitalize on those differences so you can connect with your prospects.

Optimized Web Page Template
I want to give you a free web page template that will be search engine friendly. Why?Well, I assume you want your web page to come up as high as possible in search engines because that generates free traffic.

Cascading Style Sheets for Better Web Design
In cascading style sheets you can specify how your web pages will be presented on the screen by simply predefining page elements such as fonts, headers and links.You can add these predefined elements in the head-section of your pages, but more interesting is to use them in a single .

How To Increase Your Conversion Rate or What Most People Miss When It Comes To Optimization
Everybody talks about the importance of testing your sales copy or a page layout. After all, proper testing can help you modify your page in a way that will drastically increase your conversion rate.

Designing Your Websites Directory Structure
Any kid, and their grandmother too, can make a webpage. There are many "wysiwyg" webpage design applications that let you create a webpage as easy as typing text.

Tips for Getting More Sales From Your Website
(1) Create a Direct Response Website, with the minimum number of pages possible (e.g.

Want to Increase Your Online Sales? Make Sure That Your Web Site Has a Unique Selling Proposition
If you own a web site or if you are going to build a new one, the most important thing about your site is to achieve as high as possible visitors to sales conversion rate.Although they say that "the traffic is king online", if your website converts poorly, your online business will fail, unless you receive tons of free traffic which I doubt.

Use Feng Shui Techniques To Design a Harmonic Website For Your Business
By following feng shui guidelines and techniques, you can build and design a business website that is not only visually attractive but also attractive to wealth and prosperity. The elements that are part of a business website are somehow equivalent to the objects distributed through a working space since the website is the electronic version of the actual business' offices.




Helpful Tools

NetDownload
freeware and software downloads

Findahost
web hosting directory

FindaTechJob
new computer jobs daily

ManagedHostingPro
Managed Hosting and Colocation



© 2007 webmasteredge.com