WordPress.org

Ready to get started?Download WordPress

Forums

Broken Link Checker
Broken Link Checker not finding broken links (5 posts)

  1. DanceWorks
    Member
    Posted 8 months ago #

    I am newly using the Broken Link Checker and must be missing something... it is not finding any broken links and I know I have some.

    While under construction the website is password protected; I hope this isn't an issue. I have a 25 page site created using a Genesis template and Genesis Extender. I recently changed some of the page names so I know the links to them are wrong. For example:
    Old link:
    http://development.danceworksstudio.com/lessons-landing-html/lessons-introductory/
    Should be going to:
    http://development.danceworksstudio.com/lessons/introductory/

    However it does not show up on the broken list.
    Under BLC settings it says:

    No broken links found.
    No URLs in the work queue.
    Detected 10 unique URLs in 17 links.

    I am using BLC version 1.9. I have let it run overnight and when I haven't seen any broken links found I have fiddled with settings and forced a recheck.

    It is set to look for links in Pages and Posts. For HTML links, images, plaintext.

    What do I need to do to get this working?

    Here is the debug info info in case this is helpful:

    PHP version	5.2.17
    MySQL version	5.5.34
    CURL version	7.24.0
    Snoopy	Installed
    Safe mode	Off
    open_basedir	Off
    Default PHP execution time limit	30 seconds
    Resynch. flag	0
    Synch. records	26
    Link records	10 (17)
    Last email notification	2013-10-21 06:08:57 UTC
    Installation log	Plugin activated at 2013-10-21 22:57:21.
    Installation/update begins.
    Upgrading the database...
    Database schema updated.
    Database successfully upgraded.
    Cleaning up the database...
    ... Deleting invalid container records
    ... 0 synch records deleted
    ... Deleting invalid link instances
    ... 0 instances deleted
    ... 0 more instances deleted
    ... Deleting orphaned links
    ... 0 links deleted
    Notifying modules...
    ... Updating module cache
    ... Notifying module "http"
    ... Notifying module "link"
    ...... Parser "link" is marking relevant items as unsynched
    ...... Executing query: UPDATE ndk_blc_synch SET synched = 0 WHERE (container_type = 'page' AND last_synch >= '2013-10-21 22:57:17') OR (container_type = 'post' AND last_synch >= '2013-10-21 22:57:17')
    ...... 0 rows affected, 0.000 seconds
    ... Notifying module "image"
    ...... Parser "image" is marking relevant items as unsynched
    ...... Executing query: UPDATE ndk_blc_synch SET synched = 0 WHERE (container_type = 'page' AND last_synch >= '2013-10-21 22:57:17') OR (container_type = 'post' AND last_synch >= '2013-10-21 22:57:17')
    ...... 0 rows affected, 0.000 seconds
    ... Notifying module "metadata"
    ...... Parser "metadata" is marking relevant items as unsynched
    ... Notifying module "url_field"
    ...... Parser "url_field" is marking relevant items as unsynched
    ... Notifying module "post"
    ...... Deleting synch records for removed posts
    ...... 0 rows deleted
    ...... Marking changed posts as unsynched
    ...... 0 rows updated
    ...... Creating synch records for new posts
    ...... 0 rows inserted
    ... Notifying module "page"
    ...... Skipping "page" resyncyh since all post types were already synched.
    ... Notifying module "dummy"
    ... Notifying module "plaintext-url"
    ...... Parser "plaintext-url" is marking relevant items as unsynched
    ...... Executing query: UPDATE ndk_blc_synch SET synched = 0 WHERE (container_type = 'page' AND last_synch >= '2013-10-21 22:57:17') OR (container_type = 'post' AND last_synch >= '2013-10-21 22:57:17')
    ...... 0 rows affected, 0.000 seconds
    ... Notifying module "youtube-iframe"
    ...... Parser "youtube-iframe" is marking relevant items as unsynched
    ...... Executing query: UPDATE ndk_blc_synch SET synched = 0 WHERE (container_type = 'page' AND last_synch >= '2013-10-21 22:57:17') OR (container_type = 'post' AND last_synch >= '2013-10-21 22:57:17')
    ...... 0 rows affected, 0.000 seconds
    Updating server load limit settings...
    Optimizing the database...
    Completing installation...
    Configuration saved.
    Installation/update completed at 2013-10-21 22:57:21 with 25 queries executed.

    http://wordpress.org/plugins/broken-link-checker/

  2. Janis Elsts
    Member
    Plugin Author

    Posted 8 months ago #

    Take a look at Tools -> Broken Links -> All. Do the links that you think should be reported show up there? If they do, what does the plugin say about their status - is it "200 OK" or something different?

  3. DanceWorks
    Member
    Posted 8 months ago #

    Thanks for your help!

    I see 11 links listed under All. Small number, but it's possible that's actually all, as we're still under development.

    All of the internal links listed say "401 OK." Some of the links listed do indeed work and go to the correct page. However some on this list I know go to an error 404 page. Just rechecked, they still do. Shouldn't these show up as broken? Or am I not understanding something?

    There are three external links that say "200 OK" but as far as I know these do indeed all work fine.

  4. Janis Elsts
    Member
    Plugin Author

    Posted 8 months ago #

    The "401" status code means that the plugin got an "unauthorized access" response when it tried to check the links. That's probably because your site is password protected. Since the plugin can't access the password protected links, it can't really determine if they're working or not, so it doesn't report any of them as broken.

    I would recommend adding an exception to your password protection software/configuration to always allow requests that come from the site itself.

  5. DanceWorks
    Member
    Posted 8 months ago #

    Thank you Janis.

    I temporarily removed the password on the directory and have confirmed that everything is looking fine. Looking forward to now using this helpful tool!

Reply

You must log in to post.

About this Plugin

About this Topic