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

In The News:


pen paper and inkwell


cat break through


A Beginners Guide to Web Page Design

Designing your own successful web page can seem difficult and... Read More

Simple Lines and Shapes for Your Logo Design

Geometric designs come in all shapes and sizes? and lines.... Read More

Tips On Effectively Organizing Your Navigation

Not all links are created equal.While all of your links... Read More

Browser Compatibility

Internet Explorer, created by microsoft has been the most popular... Read More

Tapping Into The Visual Stimulus Of Your Web Site Visitors

"Oh, my eyes, my eyes! What an eye sore. Quick,... Read More

How to Make Your Site Attractive to Potential Link Partners

Every now and then, I receive a link exchange request... Read More

Immutable Laws Of Effective Navigation - Part 1

The first immutable law of effective navigation: It's gotta be... Read More

Banner Enchancement - Designing Your Banner

A well designed web site is great to have, but... Read More

Elements of Graphic Design for Your Website

We've all seen them. Poorly designed web sites that make... Read More

The Secrets to Successfully Learning Basic HTML

If you'd like to create/maintain a website, having some HTML... Read More

How Important is Content to a Successful Website

Content is the most important part of any website.The Internet... Read More

Online Businesses Still Ignoring Dial-up Market

In this article you will find the parallel between two... Read More

Quality Web Copy is the Key to Success

Many websites make the mistake of being all flash and... Read More

Web Crimes: how to avoid common website design mistakes

Thinking about designing your own website? Think again about adding... Read More

Graphic Design Can Make or Break Your Web Site

We all want high impact graphics for our Web sites... Read More

Website Design Basic Concepts

So, what's in a website design anyway? And, how do... Read More

The Top Ten Checklist For Low Web Site Sales

You have good traffic, but low client sign ups and... Read More

Creating a Basic Web Design Template

A "template" is simply a design format which you can... Read More

Is Your Website Color As Inviting as Your Home? Does Color Really Matter?

We've all read the countless publications about effective web site... Read More

Will You Site be a BIG SUCCESS. 7 Reasons Why It Might Not!

With so many new websites going up, it is hard... Read More

Some Useful Common Site Ideas

In my web surfing adventures, I've found a few site... Read More

Be Friendly to Search Engines

The object of search engines is to give their visitors... Read More

Building Web Sites Using Web Templates

Gone are the days when you had to rely on... Read More

Build It And Build It Cheap! Part II

If you are familiar with my work, then you have... Read More

How To Rescue Your Graphic Design Project When All Else Fails

Whether you're giving a critical sales presentation to a client,... Read More

Designing Professional Web Pages

If your Web site doesn't project a professional and polished... Read More

How to Chose Stock Photography for your Web Site

So you've decided to take the plunge. You know that... Read More

How To Use Color Effectively When You Create A Web Site

Colors are powerful, and create strong feelings. They can also... Read More

Free Website Templates - Top 10 Things You Need to Know

When building your website you might not have a large... Read More

Web Production And Design Tips

You have identified that to have an internet prescence would... Read More

Can a Webpage Created Without HTML?

The HTML editor is usually a webpage design software that... Read More

Revising Your Site - What Happened To My Search Engine Placement?

As of September, Smartads went through what so many have... Read More

6 Website Design Disasters and How to Avoid Them?.

Let's face it; the line from A Field of Dreams... Read More