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


6 Website Design Disasters and How to Avoid Them?.

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

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... Read More

Simple Lines and Shapes for Your Logo Design

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

Good Web Design ? What Is It?

There is unlimited possibilities when it comes to designing a... Read More

Create Favorite Icon

Favorite icon appears to the left of your link in... Read More

Effective Website Design

In this era of ultra-sophisticated internet marketing and web design,... 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

How to Choose Web Design Company?

Before deciding on which web design company to choose, you... Read More

Designing Professional Web Pages

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

Ten Basic Steps For Building A Web Site That Works

1. Assemble a web site development plan that is integrated... Read More

No Matr How Goud The Infomation...

Typos, misspellings, hideous grammar, exclamation overkill and run-on sentences all... Read More

Welcoming Your Website Visitors

Imagine you're going on a blind date. You've heard wonderful... Read More

Converting Traffic into Sales

Making a successful online business can be a long and... Read More

What is ASP.NET

ASP.NET is a new programming framework from Microsoft for developing... Read More

The Right Trigger Words

CNN.com's designers have gone out of their way to make... Read More

Website Woes: Top Five Offenders

I see a lot of mistakes, but here are the... Read More

E-covers for Your Niche Market

When creating an e-cover the what's the first thought that... Read More

The Seven Deadly Sins of Web Business Design

Before you take a road trip it is usually a... Read More

Choose & Use the Best Colors, The Psychology of Color

Are you using the best colors for your web site?... Read More

The Best Simple Software For The Busy Webmaster

Here are a few programs I can't do without. They're... Read More

Images: How To Make Them To Load Fast On Your Web Pages?

1. Use .gifs rather than .jpgs. GIFs are smaller in... Read More

Website Design Firm

Website design firms come in all shapes and sizes.When choosing... Read More

Top Ten Website Design Secrets for Internet Marketing Success

When it comes to marketing your website, you should really... Read More

How Important is Content to a Successful Website

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

How To Create A Homepage That Works

Want to know what the worst thing to say on... Read More

The Brutal Truth

Not too long ago while looking for businesses that do... Read More

When Your Graphic Designer Costs You Money

So how do you know when your graphic designer costs... Read More

Low Cost Web Design In Birmingham

There are many companies who build websites, all of which... Read More

Fast Web Design For The Skint Webmaster

About two years ago, I had a go at commercial... Read More

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

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

Free Website Templates - Top 10 Things You Need to Know

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

Ten Tips For Your Web Site Home Page

1. Loading time:try to be below 20kbless number of imagesspecify... Read More

Bad Design Characteristics For A Website

Making a poorly designed website is one of the easiest... Read More