virtualDavis

ˈvər-chə-wəlˈdā-vəs Serial storyteller, poetry pusher, digital doodler, flâneur.

Geek Tweak: How to Find Broken Links

How to Fix Broken Links

How to Fix Broken Links

How do you find broken links on your WordPress blog? For a couple of years I was a fan of Broken Link Checker. This plugin works like a charm. Plug it in, activate it and rest assured that it will chug away in the background digging through your website’s links and identifying “link rot” so that your digital domain can be as tidy and user-friendly as your white picket fence domain. It’s a simple set-and-forget way to find broken links.

Broken Link Checker is a good plugin to monitor and remove or nofollow dead links in your website. It has the ability to monitor almost any part of your website, including your posts, pages, comments, blogroll and the custom fields. The plugin is not only limited to links that doesn’t work but also detects missing images and redirects. Broken Link Checker can even prevent search engines from following broken links and let’s you edit the link directly from the plugin’s page without manually updating the posts. (Themecrunch.com)

Sounds perfect! In many ways it is/was. While I remain a fan of this simple and reliable way to find broken links, I’ve deactivated it across all of my WordPress sites on the advice of my developer. Why? It turns out that same diligence that makes it a dependable and thorough tool to find broken links also strains our server. Big time. After being throttled repeatedly by my hosting company for overwhelming the server, my developer narrowed down the problem to the plugin.

You have a plugin installed called Broken Link Checker. It spams your domain with HTTP requests and can cause worker processes to be spawned. ~ Zach Russell

Tools to Find Broken Links

We disabled the plugin and the problems have (apparently) abated. But we still needed to be able to find broken links, so Zach proposed these alternatives:

  1. Online Broken Link Checker We recommend that you… [this] tool to check for your broken links. It’s not a plugin, and won’t make the server unhappy.
  2. Integrity (for Mac OSX) An even better solution… would be an application that you install on your computer.

I’ve been trial testing the Online Broken Link Checker and it certainly works well. But it’s self-initiated (read easily overlooked, postponed, etc.) which is obviously less desirable than a diligent digital gone working away in the background. But it also doesn’t overwhelm the server which is good, er, essential. I haven’t experimented with Integrity (now that’s a funny phrase taken out of context!) or its premium cousin, Scrutiny yet. Soon perhaps. Unless I can divine a better solution to find broken links?

Root Out Link Rot

I know I’m not alone with this blogger challenge. How do you find broken links on your blog? Do you use a website-based plugin to monitor and mend link rot? An independent web-based service like Brokenlinkcheck.com? Or maybe a standalone application like Integrity or Scrutiny?

Geek Tweak: WordPress Post List Hacks

English: WordPress Logo

WordPress Post List

This is a quick post (mostly to help me remember how to do this later on…) about a few quick and easy ways to pull useful collections of posts on a WordPress blog. If you’ve ever wanted a WordPress post list for a date range, a category of content, or even all of the content tagged with a specific keyword, then this what you need to do.

Show all your posts for a given year:
http://virtualdavis.com/2013/?order=asc

Show your posts for a specific Category:
http://virtualdavis.com/category/topic-ideas/?order=asc

Show your posts for a specific Tag:
http://virtualdaviss.com/tag/humor/?order=asc

(This is excerpted from WordPress.com)

See how that works? The concept could be to create other WordPress post lists on the fly as well.

Wondering about the “order=asc” reference at the end of the URL? Try removing that and you’ll understand. Blogs default archive rule is to list all of the relevant content in the order it appeared on the blog (which is to say, newest post at the top and oldest post at the bottom.) But you can override the default so that your WordPress post list appears in chronological by specifying that you want the posts listed in ascending (asc) order.