Webmaster Papers








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

RELATED ARTICLES


Web Site Turn Ons
When you develop a sales brochure, you have a mental checklist of what needs to be in it. You probably look at brochures from other vendors. You get advice from friends and colleagues. You probably also notice the sales flyers you get in the mail. What do you notice? What gets your attention?
Free Website Design Tips
In this article I will give a few tips of where to find a low cost web design company and also about the best ways of producing a quality website.
Why Choose A Professional Web Designer?
It seems that almost every Tom Dick and Harry do web design in one form or another. Everyone seems to know a friends' brother's son who can build websites for real cheap. Why choose to pay the sometimes high fees that web designers charge?
10 Important Web Design Tips: SEO Friendly Website
A website should firstly be searched out by visitors before talking about attracting or retaining those visitors. Nowadays, a "well designed website" does not only relate to a web site's visual attractiveness but more importantly, how friendly it is with search engines.
Web Design for Ecommerce
Your website is your tool for showing the online community an image of your Drop Ship retail business. Whether or not your business succeeds depends heavily on your website. If your website design is user-friendly, more visitors will purchase your products or subscribe to your newsletter. This will ensure that you are not wasting the time and money you spent attracting visitors to your website. It does not pay to drive large amounts of traffic to your website and have 99% of them leave due to poor content and navigation.
Graphic Design Using Color
Color is everywhere and conveys a message even if we don't realize it. While this message can vary by culture it pays to know what colors "say" in your own corner of the universe, and even what color means to your target market.
Is Your Site Too Slow? Why Image Optimization Is Critical
Graphics are fun, but if you put in too many bells and whistles when you create your web site, you may lose a potential audience whose Internet connection can't handle lots of graphics, and that means you'll be losing potential customers.
How Do You Make A Website?
No, that's not the real question. The real question is "How in the Heck Do You Make a Website???"
How To Design A Web Site
I'm not a professional web site designer and openly admit there is a lot that I don't know. But if you're a beginner I probably know more than you do, so listen up.
Website Registration Roadmap - How to Create Your Own Website in 7 Easy Steps
Creating your own website is actually easy in today's world of affordable and free web hosts and website building software. Fortunately, even if you have no Internet experience at all you can simply follow directions and build your own website in seven easy steps. Just follow the steps below and before you know it you will have your very own website online.
Website Design: Color Me Blue
Chris, a new consulting client, asked me to help him increase sales on his affiliate marketing site.
Banner Enchancement - Designing Your Banner
A well designed web site is great to have, but what if no one ever comes to it? Most web sites either rely on advertising, or have used advertising at some point in their existence, to get people to come to view the site. This means that your going to have to have not only a well designed web site but also well designed banners to attract your visitors.
Cascading Style Sheets for Better Web Design
In cascading style sheets you can specify how your web pages will be presented on the screen by simply predefining page elements such as fonts, headers and links.
How to Hire a Web Designer/Programmer for Your Website
Hire a designer or a programmer for your website is a daunting for any business entrepreneur. Remember that you're the important part of a design process. It is your decision makes the final outcome or success of a website. Your website is a one which works better and sells your products and have good feel for the visitors.
Web Coach Tip: The Single Most Important and CRUCIAL Element of Your Web Site
Here's the single most important part of your website: YOUR WEB COPY! And remember: Your website isn't about YOU, it's about THEM!
Do-It-Yourself or Hire a Professional Designer
Remember your vision for your company and the brand or statement you want to make when any of your current or potential customers come in contact with you. You have to impress them in all the ways you connect with them.
Very Cheap Website Design Services
Are you looking for somebody to build you a website, however do not have a very large budget? This is the position many people find themselves in and are on the lookout for very cheap web design services.
Top Ten Fonts for Website Design
The top ten fonts for website design might change in order, but for the most part the fonts that make up this list stay the same due to their popularity. In general, the top ten list includes Arial, Frutiger, Futura, Gills Sans, Helvetica, Lucida, Optima, Palatino, Agfa Rotis, and Univers.
Tips on How to Design a Great Site
Have you ever walked pass a shop that, for some reason, you just felt that you had to go in? Maybe it was the décor, or the window display, or the pretty girl, or a combination of all those but something in the shop called out to you, "Come in" and you just had to obey.
Why Stock Photography is a Great Resource for Web Business
A picture is worth a thousand words.