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


Dos and Donts in Web Design - part 1 (design)

Do use a consistent look and feel Your site should... Read More

How to Create a Great Landing Page for Your Website

The landing page or entry page of your visitors is... Read More

Affordable Website Design In Manchester

If you have a business, big or small you may... Read More

How to Prepare Your Project Before You Order Website Design

Are you serious about get this website done fast and... Read More

Get Rid of Your Frames

A few years ago a lot of websites utilized frame... Read More

Simplify Your Web Site for Clarity and Ease of Use

There are plenty of web sites out there in which... Read More

Graphic Design Using Color

Color is everywhere and conveys a message even if we... Read More

4 Things That Make A Web Site Great

First you need original content. Content is the heart beat... Read More

How To Set Up A Professional Website On Your Own Using Web Templates

To create professional websites is not an easy task by... Read More

Do You Make These Common (But Deadly) Website Design Mistakes?

Building a website can be overwhelming, here are some design... Read More

Website Registration Roadmap - How to Create Your Own Website in 7 Easy Steps

Creating your own website is actually easy in today's world... Read More

Flash Doesnt Always Add Shine to Web Efforts

The trend today to overuse animation in a website's opening... Read More

Website Design: 10 Web Site Design Pitfalls To Avoid

If you've a website that is not generating a lot... Read More

Creating a Basic Web Design Template

A "template" is simply a design format which you can... Read More

.htaccess to Mask Errors on Your Website

The .htaccess file is a control file located in your... Read More

How to Build Your Own Website - More Steps

To build a website, there are four methods to choose... Read More

Do You Own Your Web Site Design?

Your web site has been up for a few months... Read More

You Too Can Have an Amazing Website

It is a well-known fact that a successful business depends... Read More

Website Sales: Discover 10 Mesmerizing Insider?s Tricks To Ignite Your Sales

Marketing is not an easy skill to acquire.It requires patience... Read More

Eight Website Pitfalls, and How to Avoid Them

Clutter: Too much noise, too much text, and too little... Read More

Browser Compatibility

Internet Explorer, created by microsoft has been the most popular... Read More

Your Website Could be Letting You Down

A professionally presented business website is a powerful and essential... Read More

Web Copy - What You Should Know First

Just what is web copy? Some people think that web... Read More

Website Background Colors and Graphics: What You Need to Know Before Designing Your Website

Designing your website means you have to be creative, plan... Read More

Concentrate On Web Content Instead Of Search Engine Optimization

For many webmasters the title of my article may seem... Read More

Why Dot-Coms Fail - a Webmasters Perspective

Everyday we hear that another company goes out of business.When... Read More

Hiring The Right Webmaster

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

Turn Harmful 404 Error Pages Into Helpful 301 Redirects

It's a fact, Page Not Found, known as a 404... Read More

No Matr How Goud The Infomation...

Typos, misspellings, hideous grammar, exclamation overkill and run-on sentences all... Read More

Can Your Visitors Contact You From Your Website

Argh, where's the contact button?! Believe it or not, some... Read More

Website Design Considerations

Q: Should I build and maintain my business Web site... Read More

Awards Program Debate

Daily article:One of the most debated subject among webmasters is... Read More

Increase Your Credibility With Web Site Awards

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