WordPress.org

Ready to get started?Download WordPress

Forums

Broken Link Checker
Fix Redirects Broken (8 posts)

  1. gfmorris
    Member
    Posted 3 years ago #

    Hello: I love this plugin. :)

    The problem I have with it---and I'm running the latest, 0.9.4.2---is that the Fix Redirect function appears to not do anything at all. My expectation is that 301 redirects would be followed, and the old link fixed to point at the new target. Is this not the case?

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

  2. Janis Elsts
    Member
    Plugin Author

    Posted 3 years ago #

    Yes, it should replace the old URL with the one that it redirects to.

    Perhaps you have an old version of CURL that doesn't properly handle redirects? Click "Show debug info" in Settings -> Link Checker and check the displayed table for redirect-related warnings.

  3. gfmorris
    Member
    Posted 3 years ago #

    My only warning there is that I use open_basedir. I administrate this server, so I can make the server changes as they need be made.

    GFM

  4. Janis Elsts
    Member
    Plugin Author

    Posted 3 years ago #

    Hmm, so what happens when you use the "Fix redirects" action? Is there an error message, or does it say it fixed them without actually doing anything?

    Another thing you could do is verify that the plugin is correctly detecting the redirected-to URL. To do that, click the "Details" link of one of the listed redirects and check the "Final URL" value. It should be different from the original URL.

  5. gfmorris
    Member
    Posted 3 years ago #

    The plugin appears to be seeing the correct URL on the destination of the redirect, but using "Fix Redirects" leaves the link unchanged.

    GFM

  6. Janis Elsts
    Member
    Plugin Author

    Posted 3 years ago #

    Have you already updated to the latest version (0.9.5)? Also, could you post the HTML that corresponds to the problematic link? Maybe there's something in the link code that confuses the editing routine.

  7. gfmorris
    Member
    Posted 3 years ago #

    Yes, I'm using 0.9.5, and was using it at my last response. Full phpinfo() profile is available at gfmorris.net/pi.php.

    Example: http://bible.gospelcom.net/cgi-bin/bible?passage=Romans+8%3A28&version=NIV&showfn=yes&showxref=yes&language=english is 301 redirected to http://www.biblegateway.com/cgi-bin/bible?passage=Romans+8%3A28&version=NIV&showfn=yes&showxref=yes&language=english but using fix redirect does nothing.

    Are you wanting the HTML from my post? The cite for the above link issue is this particular post.

    GFM

  8. Janis Elsts
    Member
    Plugin Author

    Posted 3 years ago #

    The post HTML looks fine, but that isn't saying much. WP applies a number of automatic transformations to post content before displaying it, so the HTML that I see at that link can be entirely different from what shows up in your editor and is stored in the database (and thus seen by BLC).

    Try this debug version. It will output a number of status messages when you use the "Fix redirects" option, which should provide some clues as to why the redirect doesn't get fixed. Post those messages here.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic