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:

Importance of Web Design -  VENTS Magazine
Web design trends to grow your business in 2020  Business MattersBusiness Matters
“The Mill” focuses on real-life PR experience  The Villager Stevenson University
5 Ways SEO & Web Design Go Together  Search Engine Journal
Website Design Trends for 2020  Business 2 Community
What Is Web Design?  Technology Zimbabwe

The Technology May Change, But Human Nature Remains The Same

Let me repeat that.."The technology may change, but human nature... Read More

5 Ways To Improve Your Website Immediately

If you are reading this, I assume you either have... Read More

Keep Your Navigation Consistent!

One of the single most important aspects of effective navigation... Read More

Give Your Web Site a Small Business Marketing Tune Up

Your web site is like your car. Both are significant... Read More

Why You Should Use CSS

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

Pages to Include in Your Website

What pages need to be included on your website? The... Read More

Make it Clear What Your Website is About

Just about every list of the "Top 10 Web Design... Read More

How Important is Content to a Successful Website

Content is the most important part of any website.The Internet... Read More

Drupal Modules

There are plenty of Drupal Modules that you can install... Read More

When Your Graphic Designer Costs You Money

So how do you know when your graphic designer costs... Read More

Why Ugly Sites Sell More Than Pretty Ones

What the heck is going on lately? Most internet websites... Read More

Increase Your Website Sales Instantly

If there's one thing that I've learnt so far, it's... Read More

Nine Effective Tips For Improving Your Website?s Usability

Web usability is perhaps the most important factor in any... Read More

Shameless Flashers - Using Flash Tools To Create Spectacular Websites

Flash is a powerful technology that can help you create... Read More

Designing Your Web Site For ALL Browsers

Let's face it. Building a web site that browses consistently... Read More

Explode Your Homepage And Replace It With Something Dynamite!

You know that I'm always extolling the virtues of an... Read More

Size Does Matter!

In this article we will be looking at why you... Read More

How To Create A Stunning Drop Capital Effect On Your Web Pages

Drop Capitals are frequently used in many newspapers, books and... Read More

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

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

Some Useful Common Site Ideas

In my web surfing adventures, I've found a few site... Read More

Web Design Advice And Information

Most of us at times need advice on different aspects... Read More

Why Stock Photography is a Great Resource for Web Business

A picture is worth a thousand words.And it still is... Read More

Moving Things Around

How often, men, have you come home to find the... Read More

Simple Steps To Proper Web Design

Over the course of the last decade, the Internet has... Read More

Make Your Web Site User-Friendly

You can create a website that attracts customers, not repels... Read More