How can I improve Broken Link Checker?

Links on sub-directory-installed WordPress coming up as broken

I have my WordPress installed to a sub-directory on the server root. This plugin is detecting many links in my blog as broken when they are not. What's happening is it's throwing the sub-directory in front of the permalink, which is incorrect. It's happening on links like this:

<a href="#somePageAnchor">asdf</a>

7 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Steven VachonSteven Vachon shared this idea  ·   ·  Admin →

    9 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • onlinemoneydiscussions .comonlinemoneydiscussions .com commented  · 

        Yes. He is right. This plugin detects anchor links as broken. Kindly fix this issue asap..

      • Steven VachonSteven Vachon commented  · 

        I just updated to v1.5 of your plugin and, this is now magically fixed. It may have been fixed earlier, but I just did a "force re-check" and everything worked out fine.

      • Steven VachonSteven Vachon commented  · 

        This problem is NOT occurring ON MY SITE... JUST in your plugin's ADMIN PAGE.

        This is STILL broken and you don't seem to be taking notice to my descriptions. Please advise!!!

      • Steven VachonSteven Vachon commented  · 

        The actual blog post just has href="#anchor" ... but within BLC, it's showing up with these folders added. My WP settings appear correct, and everything else on my site works correctly. I'm 99% sure the problem is with the plugin itself.

      • Jānis ElstsAdminJānis Elsts (Admin, W-Shadow.com) commented  · 

        No, I'm not hiding the sub-directory on my site.

        If you're still running into problems even with plugins deactivated, I would suggest that the problem is with your WP configuration, not a plugin. Plugins can't affect your site when they're inactive.

        Do the "WordPress address" or "Site address" settings (in Settings -> General) have the hidden directory in them?

      • Steven VachonSteven Vachon commented  · 

        Are you hiding the sub-directory with a mod_rewrite, or similar? All of my links with a hash anchor are adding this hidden dir. Even with all plugins deactivated, I still run into this problem.

      • Jānis ElstsAdminJānis Elsts (Admin, W-Shadow.com) commented  · 

        I can't reproduce this bug. I have a blog installed in a subdirectory and when I add an anchor link to a post, BLC parses the URL correctly (i.e. doesn't lose the subdirectory name).

        Some background info: When BLC encounters an #anchor or link in a post, it basically just runs get_permalink() to retrieve the post URL and tacks the anchor onto the end. Assuming that get_permalink returns the correct URL, I don't see how it could end up with the subdir stripped out.

      • Steven VachonSteven Vachon commented  · 

        This is a BUG, not a feature request. ~Please~ fix this asap

      Feedback and Knowledge Base