Using 301 Redirects Get the Trellian Seo Toolkit
Get our FREE SEO Guide
Subscribe to our newsletter to receive useful SEO tips, tricks, strategies, free ebooks that are available only to our subscribers and get this amazing SEO guide for free!

Your email is safe and will NEVER be shared with any other parties. And of course, you can unsubscribe at any time.

Name:
Email:
SEO Elite - #1 SEO Software

Who Else Wants To Finally Get A #1 Google Ranking In As Little As 7 Days... And Drive A Minimum Of 789 Unique Visitors To Your Websites Per Day?

25 Web Design Articles with PLR and Master Resell Rights

This package includes 25 high quality web design related articles with Private Label rights and Master Resell Rights

Only $4.95
Coming soon ...


Self SEO Store  
SEO forum
Website templates
Flash templates
Best hosting reviews.
Free Internet & IT Magazines.
Articles archive

Submit your article

Register
Login

Search
XML news feeds
Free RSS news reader
Contact


AddThis Feed Button

Using 301 Redirects

Posted by Kristine Wirth on: 2006-09-21 23:18:26

Self SEO > Web Development Articles


Before we go any further, you are probably wondering what in the world 301 redirects are in the first place am I right? You've heard the term, heard people asking about it and are curious but it just sounds so technical you aren't sure what to do with it.


Let me assure you that 301 redirects are as easy as a click of a button and very helpful when you want to protect your domain names.

Typically companies purchase multiple domain names to protect their competition from taking their .net or .org name. For example, if you have just registered www.yourwebsite.com, it is a good idea to also register www.yourwebsite.net and even www.yourwebsite.org. Some people even go so far as to register the misspellings of their domain name just to be sure that your competition doesn't grab a hold of it.

The problem is you don't want to have to develop multiple different sites and it is frowned upon by Google to have multiple web sites with identical content. So what do you do?

You place a 301 redirect on your web site. This tells search engines where to find your preferred web site.

This helps you because if someone types in say, www.YuorWebsite.com instead of www.YourWebsite.com which is the proper way to enter your web site address, the person who typed in www.YuorWebsite.com where the "o" and the "u" are inversed will automatically be redirected to the correct web site.

Using a 301 redirect makes the search engines happy and prevents you from having to develop multiple web sites with the same content which the search engines hate anyhow.

So now that you understand why you should use a 301 redirect, how do you go about putting one on your web sites?

If you use a web host like GoDaddy, then you can redirect your domain names by a simple click of a button.

If on the other hand you want to do it yourself, then here are some simple ways to put a 301 redirect on your web site:

First and foremost, some folks might recommend that you use a JavaScript meta refresh technique on your web site. This is not recommended because it is a technique used by spammers and you certainly don't want to start off on the wrong foot with the search engines.

If you are using a Linux server (ask your web hosting company or someone close to you who is familiar with technology if you are unsure) and follow these steps:

* Go to the web site that you want to redirect from. For example, if you want to redirect www.websitenumber1.com to www.websitenumber2.com then put the following information in the root directory of the www.websitenumber1.com.

* Create an .htaccess file using the following code:

redirect 301 /the-directory-on-websitenumber1/the-page-on-websitenumber1.htm http://www.websitenumber2.com/

* Save the file as simply .htaccess

* Be sure you save the file in the root directory of your web site.

* Upload the file to your web server

* Test the file by going to your old web site address and be sure it redirects to your new web site

Please note however that the update will take about 24 hours to work.

If you are using a Windows server with. ASP pages then use the following code:

<%@ Language=VBScript %> < % Response.Status="301 Moved Permanently" Response.AddHeader "Location", " http://www.websitenumber2.com">

If you are using a Windows server with ASP.net then use this code:

private void Page_Load(object sender, System.EventArgs e) { response.status = "301 moved permanently"; Response.AddHeader("Location","http://www.websitenumber2.com"); } < /script>

Be sure that if using a Windows server with either .asp or ASP.net pages that you put the code before the tags on your page.

A 301 redirect will safely tell the search engines that your site websitenumber1.com and websitenumber2.com are the same as websitenumber1.com without wasting the search engines time and you can be sure that if someone accidentally enters in the wrong domain name, they will still end up at your web site.

Kristine Wirth is a partner in the Work at Home Mom Website http://www.Be-a-WAHM.com whose purpose is to show other parents who wish to work from home, how to build a successful business online and specializes in SEO and marketing techniques. Kristine has over 12 years of experience in the Internet business industry and is also a WAHM herself. She has two boys, one who is already in college and another who is a very busy toddler.




Print this article    Tell a friend
User comments:

kayleigh.brand - Posted on: 2011-01-28 11:18:30

It’s not easy to find knowledgeable people on this topic, but you sound like you know what you’re talking about! Thanks
----------------------------------------------------------------------
internet marketing servicesseo servicesmba in finance

phoenixp160 - Posted on: 2011-05-14 06:57:30

301 Redirects for moved pages using .htaccess; 301-redirect.info, site summarizing redirection methods in Apache, PHP, ASP, JPs or ColdFusion programming
_______________
HDMI Cable
HDMI Cables

aymenbnr - Posted on: 2011-06-09 05:13:41

very nice article like usuak,very thoughtful info !!
freeads
Commission predators review
cheapest web hosting

jerremy255 - Posted on: 2011-06-16 11:11:00

preserve your search engine rankings for that particular page. If you have to change file names or move pages around, it's the safest option. The code "301" is interpreted as "moved permanently".
________________
Link Building
Link Building Services

cagenicolus - Posted on: 2011-08-01 11:54:53

taking 301 redirection is the important part of SEO process and mostly optimizers doing this on the site. I like the article and specially window based redirection technique.

Home Theater Systems
Audio Speakers

jimb45 - Posted on: 2011-08-06 22:26:51

I think using the redirects is so good. There is so much that you can learn from this. Keep up the good work. orlando personal injury attorneys

smallyfish - Posted on: 2011-08-26 10:11:45

Usually I do not post comments on blogs, but I would like to say that this blog really forced me to do so! Thanks,for a really nice read. moulin de ble

samson77 - Posted on: 2011-10-23 19:09:49

The offerings of a college or university where college work is completed either partially or wholly online often with the assistance.Thanks for sharing the informative post.

Graham and Spencer

claiser - Posted on: 2011-11-07 16:20:24

I want to assure you that 301 redirect is as easy as the click of a button, and very useful when you want to protect your people names.some domain suggest using java script  technology to update the destination of your page. It is not recommended, because it is a technique used by spammers, and you really do not want to start on the wrong foot with the search engines.
contractor accountants

lilycollins - Posted on: 2011-11-09 11:13:28

301 Redirects for moved pages using .htaccess; 301-redirect.info, site summarizing redirection methods in Apache, PHP, ASP, JPs or ColdFusion programming
Internet Marketing Company:online marketing Company:Web Development Services

kulkernii - Posted on: 2011-11-09 15:51:09

Someone might recommend that we should use java script  technology to update destination page. It is not recommended, because it is a technique used by spammers, and you really do not want to start on the wrong foot with the search engines.
eden pure heater reviews

claiser - Posted on: 2011-11-16 17:01:59

Using a 301-redirect the search engines are fun and you do not have to build multiple websites with similar content to search engines hate anyway.I’ll be sure to come back to your blog for other valuable information next time I need solid information on this subject.knife sharpener reviews

kulkernii - Posted on: 2011-11-18 05:38:52

It is very difficult to find good information on the blog.cigars affiliate really enjoyed reading this post. He strengthened my faith more. May you all do a great job with these concepts. .. I can not tell you how much I appreciated for all they do.

janetjoan7@gmail.com - Posted on: 2011-12-29 21:02:27

This is among the good articles you'll find within the internet explaining everything at length concerning the subject. I appreciate taking your time and effort discussing your ideas and concepts to numerous visitors available.
Resume Writing Service
underlined texthttp://www.resumewritingservice.biz/services/

rrgan12 - Posted on: 2012-01-03 20:37:43

There are a lot of great points here, but I'm not sure I agree with real-time search being discarded. I agree that it's not very relevant,but isn't the point of it to show what people are currently saying about a topic.
-compare van insurance

camilla - Posted on: 2012-01-11 16:57:37

Jet Set Roma
Discoteche Roma
Post New Comment

This site does not allow anonymous comments. Registered members can login to participate. Registration is free and takes only a few seconds