Turn Harmful 404 Error Pages Into Helpful 301 Redirects

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.

Tony Simpson, Advises on the use of Automation in Website Design, Promotion and Optimization of Websites. The 2nd part of his article is at: Setting Up a 301 Redirect with Redirect Script Software where the advantages of using automatic redirects is outlined.

In The News:


pen paper and inkwell


cat break through


10 Ways to Sabotage Your Website Traffic and Send Visitors Packing

If you're running a website or online business, your number... Read More

What I Look For In a Website

As my occupation is that of a proofreader, one of... Read More

3 Simple Ways To Dramatically Improve Your Website

Before you start worrying about marketing your website on the... Read More

Do Your Website Yourself - 4 Simple Steps to Get Your Dreams on the Web

Many people hire professional web site designers for as much... Read More

Top Ten Ways to Increase Web Sales - Part 2

You have only 10 seconds to impress your potential buyer.... Read More

Sales Versus Customer Oriented Websites

Should Generating Revenue From A Website Be The Prime Motivator?... Read More

The Key to Getting More Magic Shows Booked Online

This article is the result of a conversation I had... Read More

Creating a Compelling Headline for Your Private Practice Website

Your home page is the most important page of your... Read More

Good Websites Stand Out From The Masses Of Boring, Hard To Travel Sites

Good websites stand out from the masses of boring, hard... Read More

Website Maintenance: What Does it Take to Manage Your Website?

Every action has a beginning phase where you launch your... Read More

Let Your Website Make You $$$ While You Sleep! and All That Other B.S.!

Well, you've got your product, started your home business, and... Read More

Images: How To Make Them To Load Fast On Your Web Pages?

1. Use .gifs rather than .jpgs. GIFs are smaller in... Read More

50 Surefire Web Design Tips

Tips to brand your websiteInclude your logo in all pages.... Read More

The Importance of Choosing Your Website Keywords Carefully

The importance of choosing your website keywords carefully is very... Read More

Choose & Use the Best Colors, The Psychology of Color

Are you using the best colors for your web site?... Read More

Increasing Conversions Through Action-Oriented Copywriting

I do site reviews. Needless to say, I see a... Read More

Hiring The Right Webmaster

The Questions You Should Be Asking ? The Answers You... Read More

Website Design: Secrets Of Professional Website Designers Revealed

What colors do you have at your website?Can they make... Read More

The Ultimate Web Site Marketing Strategies That You Should Know

Most of us know that we need to advertise our... Read More

Creating the Perfect Website - A beginners Guide

Are you looking to create the perfect website? A complete... Read More

Increase Your Credibility With Web Site Awards

Web Site Awards are given from other sites to reward... Read More

Orient Your First-time Web Site Visitor

Imagine spinning someone around so profoundly and for so long... Read More

Web Copywriting: The Psychology Of Scarcity, Less Is More If You Want Faster Sales

Countdown to Armageddon - at least you'd think so judging... Read More

File Types For Icons Explained

An application is not ready for use unless you have... Read More

Why You Should Use CSS

It seems more and more webmasters are using CSS for... Read More

What Content to Publish on Your Website

Many businesses want a simple website where they tell people... Read More

Tapping Into The Visual Stimulus Of Your Web Site Visitors

"Oh, my eyes, my eyes! What an eye sore. Quick,... Read More

How To Get A Pay Raise From Your Web Site

How many of the visitors to your web site take... Read More

Recipe For A Good Looking Web Site

We've all surfed the web and seen some awful web... Read More

Handwriting Font Tips - The Personal Touch That Makes a Difference

Most websites use similar fonts and as a result have... Read More

7 Web Site Design Mistakes That Will Lose You Clients

In today's world, a web site is virtually mandatory for... Read More

Facts You Should Know About Web Site Design and Search Engine Optimization

1. Web site File Structure / File NamingMost search engines... Read More

Custom Website Design - 7 Steps to a More Professional Website

If you are trying to sell a product or service... Read More