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

Cheap & Easy To Use VPN Services in China for 2019

Because of copyright issues, many domestic video sites prohibit foreign direct access to foreign IPs. Overseas users want to see these videos from abroad and need to obtain domestic IP with VPNs to bypass these copyright restrictions. Wall mom brings the best solutions for your VPN Services which are not only the best in the area but also have cheap and affordable prices. In this article,  Wall mom  brings some cheap and easy to use over the wall VPN recommendations for their users with the reviews which will surely help those who want a access to the sites which has the copyright restrictions.  They wrote in this articles that Only recommend foreign VPN, do not recommend domestic VPN Dare to operate in the domestic VPN service, the policy risk is particularly large, almost all shut down or run, it is difficult to issue a refund. Before GreenVPN was shut down, a large number of users flocked for a refund, and the refund was still good. Many domestic VPNs...

ملگجی شام پھر نہیں آئی

ملگجی شام پھر نہیں آئی لے کے دامن میں اپنے رسوائی کھو چکے ہیں متاع جان و جگر نزہت بزم کے تمنائی ہے ہر اک روپ میں ترا پرتو تُو تو نکلا بڑا ہی ہرجائی تیرگی وہ ملی شب فرقت جس سے نرگس بھی خوب شرمائی یوں کھلے ہیں دریچے یادوں کے بڑھ گیا اور شوق تنہائی چھوڑ کر آج لالہ و گل کو بوئے گلشن بھی کتنی پچھتائی زیست کی پُرفریب راہوں پر دل نے چاہی ہے پھر شناسائی ہے اسیری جو شہر خاموشاں ہم نے دانش نہ جاوداں پائی

What are the HTML Tags?

The simplest HTML tags arrange text into blocks, designate the font or letter-style, and size of the type. Bold, italic and underline are each identified within an HTML tag that precedes the letter or word(s) to be effected. The tag appears again at the end of the chosen text with a slash to indicate the effect ends there. For example, see how the following sentence appears in HTML: HTML tags are the core of Hypertext Markup Language. HTML tags are the core of Hypertext Markup Language. The “b” stands for bold and HTML tags are always enclosed in angled brackets, with the closing tag starting with a forward slash. If the forward slash is forgotten, the remainder of the page will assume the effect. In addition to changing fonts, HTML tags also create hyperlinks, or clickable text. The hyperlink tag includes an embedded website address (URL or Uniform Resource Locator). By placing a hyperlink tag around a phrase or name, clicking on it will take the surfer to the desired address. This c...