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. [email protected]. Read more of his in-depth articles at: http://www.isitebuild.com/articles

In The News:

5 Ways SEO & Web Design Go Together  Search Engine Journal
What Is Web Design?  Technology Zimbabwe
What is the Purpose of Your Website?  Business 2 Community
Tips to Improve Your Website  Business 2 Community
Web.com Has a New DIY Website Builder  Small Business Trends
Website Design Trends For 2020  Hotel News Resource
2020 Web Design Trends  Business 2 Community
Seven web design mistakes that hurts user experience  Business MattersBusiness Matters

Your Free Guide To Obtain A Cheap Web Design Quote

Website design is a very competitive area and there is... Read More

Are You Driving Away Potential Customers?

When a prospect lands on your website will he or... Read More

Good Content Pays!

Traffic to a site can be a blessing or a... Read More

Colorblind People, Can They Really Read Your Web Site?

I once created a notepad-like editor. It is possible with... Read More

What to Avoid to Make Your Website Design Effective

The effective design is this one, which is maximum simplified,... Read More

4 Things That Make A Web Site Great

First you need original content. Content is the heart beat... Read More

Some File Naming Tricks for Your Online Home Based Business Web Pages

Conventional Wisdom states you should use Sub-Directories to organize your... Read More

How to Build Your Own Website - More Steps

To build a website, there are four methods to choose... Read More

Long Copy Sales Letters on the Web: Hype or Not?

I have written before about long sales copy on the... Read More

Using Server Side Includes to Simplify Your Web Design

An "include" file is a piece of code that can... Read More

Are Web Templates Worth It?

First off, I am a designer. Now you're thinking, here's... Read More

Make Your Web Site User-Friendly

You can create a website that attracts customers, not repels... Read More

Appropriate Key Words Choice

What do the key words represent?Key words - these are... Read More

How to Force Your Visitors to Order Immediately!

This may comes as a surprise to you but, if... Read More

Get Rid of Your Frames

A few years ago a lot of websites utilized frame... Read More

Your Website Could be Letting You Down

A professionally presented business website is a powerful and essential... Read More

Excellently Constructed Websites

Want to see an excellently constructed website? As a writer... Read More

20 Tips to Creating a Profitable Website

As an online Entrepreneur you require a successful website.One that... Read More

Best Web Design And Free Web Promotion Tips

This article gives free tips on how to find a... Read More

Increase Your Credibility With Web Site Awards

Web Site Awards are given from other sites to reward... Read More

E-covers for Your Niche Market

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

Website Creativity: Why It Matters Now More than Ever

If one more business owner tells me their website sucks... Read More

6 Design Flaws Newbie Web Designers Make: Fool Everyone Into Thinking You Know What Youre Doing

Even if you're not an accomplished webmaster you can still... Read More

Using CCS to Eliminate Tables

CSS or Cascading Style Sheets has opened up tremendous possibilities... Read More

Offshore Web Design and Development - Use Great Opportunities

Sooner or later every small or medium business owner realizes... Read More