3RingStudios » V5

Professional Web Design, Best Flash Movies, Affordable Hosting, SEO Firm

[ HOME  ]      [ add to favoritesBOOKMARK  ]      [ print this pagePRINT  ]      [ email this pageEMAIL  ]
   
Tue Jan 06 2009 - 09:41 PM
"Everyone wants to go to heaven - but no-one wants to die to get there..." - Domino Harvey
 

How To Remove Old Pages and Keep Your Rankings : 301 Redirect


The 301 Redirect just may save your business.

If you’ve got old pages that you need to move, remove or rename - this is critical to maintaining your search engine traffic!


——————————-

IF you’ve been with us for a while, you’ll know that we have enjoyed excellent ranking in Google for the past 5 years (since they’ve been born!), and that’s by doing things that Google themselves recommend to get ranked well.

Then, around March 2005 we got greedy, and started to use tactics that Google warned us NOT to (using scraped content - more later). We should have listened, because we got banned from Google! We went from over 4,000 unique visitors per day - to less than 300 - within 24 hours! This drastically cut into our AdSense earnings (from triple digits per day to single!!), and put us in a real dilemma.

We had over 4000 pages that were banned from Google, but they were still bringing in some minor traffic from Yahoo and MSN. In order to get UNBANNED from Google, we had to remove ALL of the offending content (which lead to the creation of this version of our site!). But, if we did that, we’d lose the traffic from Y and M . But we HAD to do it.

And thus, the introduction of the 301 redirect… or, “how Google finds your unfindable pages”.

Essentially, a 301 redirect is a small line of code in your hosting server’s .htaccess file, that tells browsers (including search engine robots) where your new page is. This can be done for single pages files or whole folders…

How To Install a 301 Redirect

(This is for Apache servers ONLY - so check with your host if you’re not sure what you have. [ view hosts using apache servers ] If you have a MicroSoft server, I can’t help you… use our Google search box above to search for “301 Redirect using IIS”.)

The 301 Redirect : Class 101
A 301 redirect is typically the most spider and visitor friendly means for implementing a strategy to preserve your search engine rankings as well as pages that visitors have previously bookmarked - for pages that are no-longer there due to being moved, removed, or renamed.

For Apache based servers, a 301 redirect is coded into your .htaccess file.

What is a .htaccess file?
A .htaccess file is: a file typically located in your root directory that your web server checks for when a visitor or search engine spider requests a web page on your website. The .htaccess file contains specific instructions for certain types of requests, including security, redirection issues, missing pages and how to handle certain types of errors.

What is a 301 redirect?
The code “301″ is interpreted by the server and notifies the browser or search engine spider that the page(s) has “moved permanently”. Included in the code is the URL of the missing or renamed page(s), followed by the new location or file name.

How do I install a 301 redirect?
First, download the .htaccess file from the root directory of your website. If there is no .htaccess file there, you can simply create one with Notepad or a similar ASCII text editor. Be sure when you name the file that you put the “.” at the beginning of the file name. This file has no suffix for file type - just call it: .htaccess

If there is a .htaccess file already in your root directory, and it already contains lines of code, be sure NOT to change any existing code unless you are VERY familiar with the functions of the code.

Leave a line space after any existing code, then create a new line of code like this (using your domain and file names where applicable):

redirect 301 /oldFolder/oldPage.htm http://www.yoursite.com/newPage.htm

It’s that easy. Save the file, and upload it back into your server to test it out. You can do so by typing in the old address of the page you’ve changed/moved/removed. You should immediately be brought to the new page.

NOTE: Make sure NOT to add “http://www” to the FIRST part of the code (after ‘301′) - just input the path from the root level of your site to the page name.

Also, be sure that you leave a single space between these elements:

redirect 301 (the instruction that the page has moved)

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

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

Redirecting entire folders and sites with 301 redirect.
The 301 command is very powerful. You can redirect not just single files but entire folders, or even entire web sites - for example when changing domain names.

Redirecting Entire Folders:

redirect 301 /oldFolder http://www.yoursite.com/newFolder

Redirecting Entire Websites:

redirect 301 / http://www.yoursite.com/

In the above example(s), the first “/” indicates that everything from the root level of the site down (to the folder name if specified) should be redirected. This is an excellent remedy for ensuring that no traffic or rankings are lost if you have to change your domain name.

Search engine spiders & 301 redirects
The 301 redirect is the safest way to preserve your search engine rankings. On it’s next visit, the search engine spider (a.k.a.: robot) will obey the new rule in your .htaccess file. The spider doesn’t actually read the .htaccess file, but recognizes and follows the instructions from the server.

Usually, in the next search engine update the old file name and path should replaced with the new one. Sometimes you may see alternating old/new file names during an update transition period, along with possible fluctuations in rankings as things settle. This is typical of search engine updates and may take a few weeks for things to settle. You should be aware that any change you make has risks - whether it’s altering page text, moving or renaming pages, or simply changing domain names. Search engine rules change as often as the weather, so stay updated in case the 301 redirect becomes a liability! (Join our feed, hint, hint!)

Changing old domain names - be patient.
When changing domain names and using a 301 redirect, it’s advisable to leave the old domain name and files in place for a few weeks to give the search engines time to index your changes.

Also, don’t forget to notify any website(s) linking to you of the domain name change as soon as possible. Once you remove the old domain name, any links pointing to your old site will have no effect on the ranking of your new site - so get ‘em changed over!!

—————————————————-

We learned everything we know and taught you about 301 redirects, and you’ll find a lot more resources, here: TamingTheBeast.net (thanks guys!)


One Response to “How To Remove Old Pages and Keep Your Rankings : 301 Redirect”

  1. HOW TO: Avoiding Duplicate Content Penalties with Apache Server Rewrites » 3RingStudios » Professional Web Design, Best Flash Movies, Affordable Hosting, SEO Firm Says:

    […] Here’s a link to a post I did about using 301 redirects if you are moving pages within a website or a whole site itself… Moving or removing old pages and keeping search engine rankings. […]

Leave a Reply

You must be logged in to post a comment.

Thank you.


NEED HELP FINDING SOMETHING?
Google


COPYRIGHTS AND CREDITS


COPYRIGHTS
All content on this web site Copyright © 2006 3RingStudios Inc. All rights reserved.

CREDITS
All articles and/or comments made on this web site falling under the Creative Commons License shown below may be used in full or in part for content on your web site or blog, providing that the terms of the Creative Commons License shown below (link) are met and that credit is given to our site using the following content and format:
About The Author
Paul Marek is Founder and General Go-To Guy at 3RingStudios.com, a Toronto, Canada based internet services firm offering advanced Web Design, Flash, and Search Engine Marketing services.

Creative Commons Licence
This work is licensed under a Creative Commons Licence.



LEARN MORE
button

 
Top Ad - 3RSV5 15 TOP HOSTS! - Hosting Reviews and Comparisons



Bluehost.com Web Hosting $6.95




WANT YOUR AD HERE? TELL US.



[ BACK TO TOP ]

This site is not affiliated with or sponsored by Google, Macromedia or Adobe.
® Google, ® Adwords and ® Adsense are registered trademarks of ® Google Corporation.
® Flash is a registered trademarks of Macromedia Inc. ® PhotoShop is a registered trademarks of Adobe Inc.
They are used here for identification and/or entertainment purposes only.

This website is powered by WordPress.
Entries and comments feeds. Valid XHTML and CSS.