Finding and Fixing 404 Errors on Your WordPress Blog

  • Buffer
  • Pin It
  • Sharebar
  • Buffer
  • Pin It

It is important to find and fix 404 errors that can occur in your WordPress blog. This allows you to take corrective measures to ensure visitors to your blog are presented with your content and not an error page. Earlier this year I wrote a post that explained how you can remove broken links in your WordPress blog. The post talked about using a plugin to detect any broken links within the posts on your blog. This plugin proved very useful as it found many links that were no longer valid.

I recently decided I wanted to see if I can detect links that were pointing to my blog, but weren’t valid. Such links would produce a 404 “not found” error on my blog, and may prevent some traffic from reaching a specific destination. To help with detecting 404 errors, I installed a plugin that will notify me when the errors occurred.

Finding 404 Errors on Your Blog

Finding the 404 errors on my blog came about when I viewed my server logs for Technically Easy. I was surprised at the number of 404 errors had occurred each month, and I decided I wanted to reduce the number that happen. While I can’t reduce the number to zero each month, I can at least bring it down to a more reasonable number.

To help with this process I searched for a WordPress plugin that would help. I found a plugin called 404 Notifier.

This plugin simply will notify me when a 404 hit occurs on my blog. I can be notified by e-mail or through an RSS feed it generates. I tried the e-mail option first, but was quickly overwhelmed with the number of mails, so I switch to subscribing to the RSS feed.

Everyday I view the feed and can see all the links that produced a 404 error on my blog. If the link was located on a referring site, I can see the referring site’s URL so I can have a look.

Many times, the links weren’t properly created on a referring site, so I would just go into my .htaccess file and redirect that link to the correct location. I managed to find a few links that were followed by Google’s Googlebot that I eventually corrected.

While I can’t say this has increased my traffic now that some of the links have been corrected, I can say that visitors will now get the correct page.

Find More Than Bad Links

One benefit I have seen with using the plugin is that of finding hackers. There are certain plugins that have a known security hole that hackers will try to exploit. Even though I haven’t installed those plugins, it doesn’t stop hackers from trying.

In my 404 RSS feed, I sometimes see their attempts at trying to exploit those security holes, since they generate a 404 on my blog. I have been thinking about doing something about that, more than returning a 404 page to the hackers, perhaps redirect them to another page. I haven’t figured out what to do with them yet. I’m all ears for some suggestions, however.

In the meantime, I will continue to monitor any links to my site that aren’t valid, and correct them if needed. I would rather have a visitor be redirected to the correct page, than to the 404 page on my blog.

 Finding and Fixing 404 Errors on Your Wordpress Blog

About Paul Salmon

Paul Salmon is the founder of Technically Easy. He is a an experienced PC user, and enjoys solving computer-related problems that he encounters on a regular basis.

Facebook | Twitter | Google+

You may also like:

Wordpress Logo

Removing Broken Links in Your WordPress Blog

404 Not Found

Web Server Returns 404 Instead of 200 Status Code

Wordpress Logo

4 WordPress Plugins to Help Protect Your Blog

No Spam

How to Prevent Spam in Your WordPress Blog

5 people had something to say about “Finding and Fixing 404 Errors on Your WordPress Blog”:

Comments


  1. Merry Christmas and Happy New Year. I read a post about doing more with your 404 pages but had to put it on the backburner with the Christmas busy time.


  2. Send the hackers somewhere that they’ll get a nasty virus or something. It would served them right!


    • lol or send them to a full page with ads so you get some money out of it? :D
      Twitter:


      • I should do that. The only thing is that they may falsely click many of the ads. After awhile, I’m not sure how Google would react.


  3. Hi there. Thanks a lot for sharing this. it’s a very nice tips. Very helpful!
    Andrew Walker recently posted…Great hotel spasMy Profile

Do you have something to say? Let everyone know!

Commenting policy: All comments are moderated for spam. You must use your real name and not your website name or keywords. If a comment is deemed to be spam, then it will be deleted or edited. Links to your website within the comment body is not permitted, but you are free to use CommentLuv to add a link to your latest post. If you wish to add a link to your website, you can always contact me about submitting a guest post.






CommentLuv badge
This blog uses premium CommentLuv which allows you to put your keywords with your name if you have had 5 approved comments. Use your real name and then @ your keywords (maximum of 3)

Previous Post:

Next Post: