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:

Apple recently notified a small number of iPhone customers in 92 countries that their phones may be under attack by mercenary spyware.
An artificial intelligence-powered home security system can fire paintballs and tear gas at trespassers. The camera identifies human faces and animals.
Technology expert Kim Komando gives her tips and tricks on enhancing your user experience a smartphone and other devices you use everyday.
A new camera called NUCA uses artificial intelligence to create deepfake photos of subjects by stripping away clothing in close to real time.
The Kimberley Kube trail-ready camper has a compact but spacious design and combines luxury, functionality and ruggedness for a weekend getaway.
Stay up to date on the latest AI technology advancements and learn about the challenges and opportunities AI presents now and for the future.
Emails instructing you to reset your password for an account may be legitimate, or they may be scams. Kurt "CyberGuy" Knutsson explains.
Northrop Grumman's Manta Ray uncrewed underwater vehicle aims to revolutionize undersea missions — it glides through the ocean without human assistance.
Learn how to work Google's calendar application to streamline and organize your daily tasks from technology expert Kim Komando.
If you do not want Facebook to have automatic access to your private photos, follow our tips to protect yourself. Kurt “CyberGuy" Knutsson shows you how.
Kurt “CyberGuy" Knutsson goes into detail about Apple’s recent iOS update that allows iPhone users to instantly translate spoken language simply by using the Action Button.
Safeguarding your digital life with a reliable physical backup isn't just a precaution, it's a necessity. Kurt “CyberGuy" Knutsson provides the essential backup checklist.
Kurt “CyberGuy" Knutsson reveals how a Redditor exposed false recycling claims at their apartment, highlighting a report that only 21% of U.S. recyclables are processed.
Kurt "CyberGuy" Knutsson offers a travel toolkit featuring five technology tools to help you with booking flights and hotels for your summer vacation.
The bubble behind the clock on your iPhone can appear in different colors. Kurt "CyberGuy" Knutsson explains what each of those colors mean.
Scammers are using the power of artificial intelligence to mimic voices of people and are using the fake voices to commit crimes, like kidnappings.
Stay up to date on the latest AI technology advancements and learn about the challenges and opportunities AI presents now and for the future.
Tech guru Kurt "CyberGuy" Knutsson explains the science behind the Invisibility Shield, a 6-foot shield that makes people become invisible.
The International Olympic Committee on Friday announced plans to use AI in various Olympic aspects, including athlete identification, training and judging.
Tech guru Kurt "CyberGuy" Knutsson explains an easy trick to avoid squinting while working or surfing the web by zooming in on your personal computer.
Streaming giant Roku has recently been targeted by a pair of cyberattacks, and the company confirmed over a half million Roku accounts were compromised.
The Land Aircraft Carrier combines an all-terrain, six-wheeled vehicle with a two-seat aircraft, which features electric vertical takeoff and landing.
The European Union has sent TikTok a "request for information" on the video sharing platform's newest app, TikTok Lite, under the Digital Services Act, with the aim to clean up social media.
Stay up to date on the latest AI technology advancements and learn about the challenges and opportunities AI presents now and for the future.
The FBI is warning the public about a recent phishing scam via text that claims its targets owe money in Pennsylvania for unpaid road toll charges.

Why Web Pages Appear in the Wrong Location after Uploading to my Website?

If your are a new web designer, you may face... Read More

Developing Your Winning Web Site Strategy

Your web site is the key to your success on... Read More

How To Improve The Professional Look And Feel Of Your Website

Projecting a professional image is paramount to your website's success.... Read More

Build It And Build It Cheap! Part II

If you are familiar with my work, then you have... Read More

10 Reasons Why You Need A Multilingual Website

The internet continues to grow and has become the default... Read More

Testimonials Can Increase Your Web Traffic

We've all seen and read product testimonials. They're a very... Read More

Eliciting Constructive Website Feedback

"It's good.""You've done a nice job.""I don't like it."At some... Read More

Flash Design Adds Website Versatility

You have probably viewed many Flash-based components while surfing the... 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

Website Design Mishaps - How to Avoid Costly Errors That Can Crush Your Chances of Success

Designing your website can be a difficult task especially if... Read More

Don?t Put Your Slogan in the Title Tag - Optimize Your Web Pages

Don't just put your slogan in the title tag when... Read More

Has Your Design Firm Run Amuck With Your Web Site?

What's happening to good web site design? Somehow we creative... Read More

Positive Design Attributes for a Successful Website

Designing a website is hard job, and requires you to... Read More

Good Content Pays!

Traffic to a site can be a blessing or a... Read More

Mini Site or Content-based Web Site?

Are you in a dilemma whether to create a mini... Read More

Appropriate Key Words Choice

What do the key words represent?Key words - these are... Read More

Flash - To Use Or Not To Use?

Out there in the WWW there are thousands sites using... Read More

Top Ten Fonts for Website Design

The top ten fonts for website design might change in... Read More

Plugging the Dreaded World Wide Web Black Hole is Just the First Step

You have created your custom error page so now all... Read More

Build It And Build It Cheap!

There are several very good reasons why you should consider... Read More

How To Attract People To Your Web Site and Leave Their Contact

If you have a website, you want your visitors to... Read More

Optimized Web Page Template

I want to give you a free web page template... Read More

10 Important Web Design Tips: SEO Friendly Website

A website should firstly be searched out by visitors before... Read More

When You Create A Web Site, Dont Make A Splash!

Don't make a splash!Are you thinking about using a splash... Read More

Choosing Form Over Function Kills Your Site

Never put form over function. Why? Because it's crucial that... Read More