Skip to main content

Track 404 Errors on your Website as they Happen!

404 - Not FoundYour website can display 404 errors for two reasons:
Reason #1 (in your control) – If you change the URL of an existing page or decide to delete it completely from your server, your visitor will get a 404 or “File Not Found” error when they try to access that page.
Reason #2 (not in your control) – You page URL is abc.com/xyz and another site decided to link to your page but they mistakenly used a wrong URL (say abc.com/xyy) – if anyone visits your page through the other site, they’ll see a 404.

Track all the Missing Pages on your Site

It is extremely important that you get your 404 errors fixed as soon as you spot them because they not only spoil the visitor experience but your site is also losing Google juice. You get juice from every incoming link to your site but the benefit is lost if that link is pointing to a non-existent page.
Let me now share the various tools that I use to track track 404 error pages on my site.


If are using Google Analytics, you can slightly tweak the same code to also enable tracking of missing pages through. The modified code will generate a virtual pageview in your Analytics reports (see the above screenshot) that will not provide you with the URL of the missing page but also the URL of the referring site.
The only issue with the Google Analytics approach is that it can artificially inflate the actually pageviews of your site though by a very small number.
My next favorite service is LinkPatch – they have a version that is free for tracking one domain. LinkPatch is purely for tracking 404 errors – you just to have add a line of code to your 404 template* and it will send you instant emails as soon as it discovers any 404 page on your site.


What you’ll like most about LinkPatch is the ease of use (Google Analytics is obviously very complex for most users) and that the notifications for missing pages are delivered in real-time so you don’t have lose any traffic.
While LinkPatch and Google Analytics will get you the information you are looking for, there’s one obvious downside – both these services require you to add some JavaScript code to your template’s 404 page and they’ll therefore not work with blog sites hosted on Blogger, WordPress.com, etc.
In that case, I recommend using the very-awesome Google Webmaster tools. Go to Dashboard –> Diagnostics –> Crawl Errors and select the “Not found” option.


Here you’ll see a list of pages that returned a 404 status code to Google while it was trying to index your site. The tool may not catch every single missing page of your site but, as Matt Cutts remarked, “the vast majority of the backlinks you’d care about, at least as far as Google is concerned.”
[*] WordPress users can add the tracking code to either their 404.php file or anywhere in the template through the function is_404().

Comments

Popular posts from this blog

Email On Deck: A disposable email address that works

Today, Team Inforpioneer brings an interesting Email service for our reader which will definitely help our readers to improve their internet security and will benefit in some other ways.  Here is a short description of this service.  EmailOnDeck.com is the premier site for all things relating to temporary, disposable and throwaway email addresses. We want to help you avoid SPAM, protect your online privacy, and stop you from having to give away your personal email address to every company and person on the internet who insists on you giving it to them. We work hard and will continue to work hard to give you a disposable email address that works with any site or app. We hope to help give you back the control of deciding who you want to give your personal info to. Temporary emails are perfect for any transaction where you want to improve your online privacy. Use them when you buy or sell Bitcoins or trade cryptocurrency, at exchanges, or locally. They can be used for QA testing of e

Cell Phone Buying Guide 2010

I outline some of the most important factors to look into when purchasing a new cell phone. When your old cell phone squeaks like a rusty door hinge, has more lint under the screen than your jean pockets, and lasts half an afternoon with a full charge, it’s time for a new one. But with most cell phone contracts lasting two years, a new phone shouldn’t be the type of purchase you make lightly. Check out our quick and dirty guide to your next phone purchase to make sure you cover all the bases on your shopping trip. Choosing a carrier Because most U.S. cell phone carriers heavily subsidize phone purchases in exchange for two-year contracts, and lock the phones to their networks, your choice of cell carrier will have more impact on which type of phone you end up with than any other factor. If you already have carrier and feel satisfied with it, the choice is easy. If not, you’ll need to choose one. AT&T, T-Mobile, Sprint, and Verizon dominate the cell phone market in the States. Speak

Top 101 Ways to Promote a New Blog

Promoting a new blog can be quite daunting, but it doesn’t have to be. As you might expect, breaking down blog promotion into small, actionable tasks eliminates the mental road block you’ve probably experienced when trying to wrap you head around how to get people’s attention. You don’t have to do everything in this list, and some items will have a greater effect then others, but every tactic will at least drive some traffic, and any traffic is better than no traffic. Content 1. Write a list of over 100+ resources or ideas. 2. Write the definitive guide to something. Spend time making this awesome. 3. Release a manifesto . 4. Release 2 manifestos . 5. Interview cool people. People like talking about cool people. 6. After your articles are indexed in search engines, break them up into smaller articles and submit them to ezinearticles.com (and other article directories). 7. Or just pay someone to submit the articles for you . 8. Write a list of all the cool blogs and people in your nich