Track and Fix Broken Links on Your Website [404 Errors]
By on September 27th, 2009

Getting a 404 error on a website is not only frustrating for a user but also for a webmaster of a site. Of course you can make your 404 error pages funny but you still lose potential readers.

Many times visitors see the 404 errors the first time they visit your site. Showing them erroneous messages can definitely piss them off and send them on their way to another site.

On this website, I have made use of few things which;

  1. Let me track 404 error hits and URLs, including referrers.
  2. Let me fix the URLs by applying 301 permanent redirects to the proper page.

Continue reading if you are interested in the solutions I use to keep the 404 error hits to a minimum.

404 Error Tracking using Link patch

There are 100s of 404 error tracking plugins and services. My favorite and the one that I use on this site is Link patch.

This service provides you with a single line of JavaScript code that you will need to paste into your custom 404 error page.

track_404_errors

Once you have added the code, Link patch will email you everytime your site hits a 404 error. You can then correct the URL or redirect it to another URL.

In addition to that, it also tells you from which referring page a 404 error was encountered. If that happens to be your own site, you can go in and edit your posts to rectify the problem.

This service is definitely pretty useful and a must use service for any webmaster. It does come at a cost of $10 per month for tracking 5 websites. However I must tell you that the service is worth the money you pay and will help convert 404 error hits into regular readers.

If you are not ready to start paying yet, you can try out the service for free for the first 30 days. Signup for Link patch.

Fixing/Redirecting Broken Links/404 Pages on Your Website

Using the above service you can easily track all the 404 error pages. But what about fixing them?

If you are a user you can easily fix broken URLs by using a plugin called redirection.

301_redirection_wordpress

This plugin will help you set permanent redirects (301) from one URL to another. In addition to that, you can also use wildcards in the form of regular expressions (regex).

You don’t need to edit the .htaccess file to setup redirects. Redirection is definitely a must have plugin for WordPress.

Download Redirection

That’s it. Using these tricks, you can not only track 404 error hits and fix them but it will also help you get more traffic and increase your regular readers.

Looking for more tips? Don’t forget to visit the Webmasters tips section.

Tags: , ,
Author: Keith Dsouza Google Profile for Keith Dsouza
I am the editor-in-chief and owner of Techie Buzz. I love coding and have contributed to several open source projects in the past. You can know more about me and my projects by visiting my Personal Website. I am also a social networking enthusiast and can be found active on twitter, you can follow Keith on twitter @keithdsouza. You can click on my name to visit my Google+ profile.

Keith Dsouza has written and can be contacted at keith@techie-buzz.com.

Leave a Reply

Name (required)

Website (optional)

 
    Warning: call_user_func() expects parameter 1 to be a valid callback, function 'advanced_comment' not found or invalid function name in /home/keith/techie-buzz.com/htdocs/wp-includes/comment-template.php on line 1694
 
Copyright 2006-2012 Techie Buzz. All Rights Reserved. Our content may not be reproduced on other websites. Content Delivery by MaxCDN