Turn Harmful 404 Error Pages Into Helpful 301 Redirects



Get Web Design Tips and Tricks on mps-web-design.com. Turn Harmful 404 Error Pages Into Helpful 301 Redirects 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.

It's a fact, Page Not Found, known as a 404 error, can harm your website Ranking with Search Engines as well as being a Turn-Off for Visitors.

A search engine that repeatedly gets a 404 error will de-list the page from its index. Too many 404 error pages on your website and its ranking with the search engines will suffer.

Visitors are always just one click away from clicking to another search and another website. Present them with a page not found 404 error and these days they'll not stick around long enough to search for your missing page.

How Many 404 Error Pages Do You Have Right Now on Your Website ?

Unless you check your web stat error logs regularly you'll never know just how many 404 error pages your site has. Even if you don't have a single 404 error right now, I can absolutely guarantee you'll get them.

How Can I Avoid 404 Error Pages ?

The simple answer is you can't, a 404 error can not be avoided.

They happen when you rename a page.
They happen if you delete a page.
They happen if you change the page file extension i.e. htm to html or php.
They happen if you move a page to another location.
They happen if other sites link to pages which don't exist.
They happen if visitors have bookmarked pages that no longer exist.
They happen if visitors mistype a URL.

How is a 301 Redirect Helpful?

A 301 redirect enable you to send you visitor or the search engine to any replacement page you specify. A 301 redirect is also important because it's what's known as a permanent redirect. A permanent redirect is the one preferred by search engines so they are the only ones you should use if you want your website to be search engine friendly.

How Do I Setup a 301 Redirect?

Basically there are two ways to setup a search engine friendly redirect. One is by directly modifying what's known as the .htaccess file found in the root directory of your website where your web pages are stored.

The second way is to use a software redirect script. The advantage of using a redirect script is that you can setup and maintain any number of 301 redirect 's through a control panel.

You can also do very clever and helpful things that will make your website even more friendly to visitors and the search engines, but more of that in the 2nd Part of this article.

Setting Up a 301 Redirect Manually

First let's deal with modifying the .htaccess file to setup a redirect manually just so you know what's required. Then I'll tell you a much simpler way to do this and a whole lot more.

First you must find the .htaccess file on your web server. There could be more than one, but you need to locate the one in the same directory as your web pages.

On some web hosts the .htaccess file is hidden, it's there but you just can't see it listed when you FTP to your host. On most web servers it's visible, so I'm only going to deal with the visible file. Download the .htaccess file as ASCII not Binary to your PC then open it with a text editor like Notepad or Textpad, not Word.

In the .htaccess file, type the following line but substituting your locations for the missing and replacement files shown in [ ] brackets, excluding the brackets.

Redirect 301 [relative URL of missing file] [complete URL of replacement file ]

For example:

Redirect 301 /directory/discover.html
http://yourdomain.com/adventure.html

For every other redirect required you must add a new line of code to the .htaccess file then FTP to upload it as an ASCII file back to the same location you downloaded it from.

If all this sounds quite complicated, you'd be right, it can be. But life gets a whole lot easier in the 2nd part of this article Setting Up a 301 Redirect with Redirect Script Software.



ErrorDoctor: 5,000,000+ Users Worldwide! - Add ErrorDoctor to your Review Site and watch the sales come in!
Scan And Fix Errors In Windows Registry. - Error Nuker - Scan your Pc for Free to Check for Windows Registry Errors - by SpyWare Nuker Team - no#1 money maker since 2002.

I am really impressed by Graze.com for numerous reasons, not least of which is the sense of control you have over your orders. Control empowers users and gives them confidence when using your website. Thanks for subscribing to Boagworld; a web design blog, forum and podcast run by Paul Boag and friends. If you are [...]


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. Print Design vs Web Design - Part 2
One of the costliest mistakes companies make when creating their web sites is hiring graphic designers who specialise in print design. Many print designers believe that if they can learn HTML, they can easily transfer their 'vision' from the printed page to a web site, thus having a special advantage in designing for the web. Print design specialists tend to make one profound mistake: using print layouts and print marketing strategies to design and market a web site. The fact is that any success…

2. 10 Ways To Irritate Your Visitors By David Bell
Let's face it. It is really hard to come up with new ways to fully irritate visitors to your site.I thought I would share some ways that I have found to irritate visitors and drive them away, thereby saving you money on your hosting bills. These tips are not in order according to their effectiveness, however #1 is by far the most effective. For 100% effectiveness, use any three of these techniques.1. Install a script to disable everyone's right mouse click button. When someone tries to right-c…

3. Basic Web Design Principles
Home PageHome page should clearly indicate what the site is about. Provide top level navigation on the first page, your logo, and tell to the visitor what he can found on your web site. Your home page should be informative, and should call your visitor on action. Home page is the place where the visitor decides what he will do, click on some of your links, or leave the site. If you have a discount, or if you offer some free service in attempt to make a contact with potential customers, make sure…

4. Modern works of art
When Michaelangelo hand-painted the Sistine chapel, he did not have any idea that one day, the painting that took him years to make, can be made in a matter of hours, maybe days. With just a simple push of the buttons, a few shove at the mouse and a vivid and wide imagination. And of course, not to mention, the use of highly-modernized machines and gadgetries. If only he had known that one day, machines will be able to do things that human can, then maybe, he would just had sat there and let it …