Web Site Redirection - How to Implement a 301 Redirect



Get Web Design Tips and Tricks on mps-web-design.com. Web Site Redirection - How to Implement a 301 Redirect topic will increase your understanding on Web Design Tips and Tricks. We at mps-web-design.com only provide news, articles, information in Web Design Tips and Tricks. Web Design Tips and Tricks at mps-web-design.com provides the most up to date news and articles. If you have questions please do not hesitate to contact us.

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.



WinTheBet! Beat The Online Casinos! - WinTheBet provides software systems to help you design, test and implement your own betting system on Roulette, Blackjack, Craps.
Bass Fishing System. - The complete system for becoming a better fisherman, 50% commission!

This week, we make a collection of the best collections of resources that hit the web this week, including iPhone and iPad development kits, the best apps and websites for any web designer, and HTML5 Boilerplate: A rock solid default for HTML5 awesome.


Article Index: | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79


More Articles:


1. 3 Simple Ways To Dramatically Improve Your Website By Mike Cheney
Before you start worrying about marketing your website on the internet it always pays dividends to look at the website itself and get the fundamentals right before looking to shout about it from the virtual mountain-tops.You may already have thought about the following 3 ways and some of you may already have them in place on your website. If so – congratulations – you’re well on the way to having a website that will bring you more business. So here they are then – the 3 Simple Ways To Dramatic…

2. Six and a Half Keys to Creating an Ugly Web Site By David Carlson
1. Use Too Many ColorsLet’s put brown, purple and orange on the same site and see what people think. I don’t know who designed some sites, but they must have never learned about complementary colors on the color wheel. Or if a designer hasn’t chosen non-complementary colors, they choose to put too many colors on the page. It’s almost as if a rainbow had vomited on your computer screen. There are colors everywhere. If you want an ugly web site, put as many colors as you can think of to design w…

3. How To Shop for a Web Design Firm? By Jon Kee
While few companies can boast as we do that our first ten clients are still with us today, many companies often change Web design firms to get a new perspective on how their Web presence could look and perform. The following paragraphs serve as a Buyer’s Guide to use when shopping for a new Web design company.First, determine what exactly you’re shopping for. Is your Web site down a lot? Do you frequently have email problems? This may or may not be your Web site designer’s problem. Many design…

4. Basic brochure design in Two
You may already know some of the many different tips and techniques on designing your brochures. Based from what you have learned and followed, you might be thinking that you have the perfect type of brochure for your business. But do you know the characteristics that your brochures have? These characteristics are the factors that make up these cards even before you put all the styles and techniques you chose. It is best to know them before deciding on the appearance itself. What are the two ch…