Support » Plugin: Broken Link Checker » Bug: plugin reports broken links for scheduled posts

  • I reported this before but this still isn’t fixed and the previous topic is now closed for comments. So I am reporting it again to bring it back to your attention.

    Every time I have scheduled a post, this plugin reports that the anchor links on the same page are broken.

    Below the main content I have two links asking visitors to share the post or leave a comment. They link to an anchor further down the page like this:

    So these links are IN a scheduled post and they point TO a scheduled post / itself.

    These links are reported ad broken but they are not.

    In the broken link checker options » Look for links in » Post statuses, I have only the ‘Published’ status checked. The schedules, draft, pending, privat statuses are all unchecked.

    The page I need help with: [log in to see the link]

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Support Adam – WPMU DEV Support


    Hi @jpnl

    I hope you’re well today!

    I checked your post where you reported the issue initially and I’d like to “explain” ourselves a bit: this was reported 7 months ago and we only adopted Broken Link Checker from Manage WP slightly over 3 months ago.

    We might not have a full “bug list” from older reports and we’re aiming to go through all the code and issue reports all the way back but it takes quite some time, especially that in many cases it takes additional testing to find out if a given issue was addressed already or not and if it’s still valid with current PHP/WordPress versions.

    That being said, I sincerely apologize if you felt ignored and let’s take care of it. I will need additional information though, so I could fully test it and ask our developers to create a fix.

    I have just tested the check by setting “Look For Links in” options to check only Posts and Pages and to only include “Published” ones, then I scheduled a post with a link in a content and forced re-check in Broken Link Checker settings. This post was not checked and a link wasn’t detected at all.

    Once I enabled checking “Scheduled” posts as well, it found my link. I’ve tested it a couple more times with different posts and always to the same result so I believe there’s something more into it and either it’s still a matter of some additional setting or something else is “breaking” the way plugin checks those posts.

    Therefore, could you please share screenshots of the “Look for LInks in” settings page and “Which Links to Check” settings page with me so I could see how exactly it’s set?

    Could you also tell me where those “share” and “comments” links are coming from? I mean – are they added by some plugin or come from the theme (if so, what’s the theme?) or some custom code (if so, could you share the code)?

    Let us know, please.

    Kind regards,

    Hi Adam, no worries. I didn’t know wpmu is the owner of this plugin now. The WP page still says it’s from ManageWP. Glad you took over, ManageWP did a terrible job maintaining the plugin.

    I can’t reproduce it either in the way you described. If I create a new page, schedule it and then force a recheck, the links don’t appear as broken. In fact, these links don’t even show up on the detected link page. But about a day or so later, I get an email about the broken links. My guess is that the forced re-check only works on the already detected links, and that the links on the scheduled page are only added during the check with the regular interval.

    The share and comment links are anchors on the same page. So I have a page with a section that has css id ‘share’ and a section with css id ‘comments’. At the top of the page I link to these sections with the url #share and #section. Like so:

    <div class="entry-content">
    <div id="et-boc" class="et-boc">
    <div class="et-l et-l--post">
    <div class="et_builder_inner_content et_pb_gutters3">
    <div class="et_pb_section et_pb_section_0 et_section_regular" >
    <div class="et_pb_row et_pb_row_0">
    <div class="et_pb_column et_pb_column_4_4 et_pb_column_0  et_pb_css_mix_blend_mode_passthrough et-last-child">
    <div class="et_pb_module et_pb_text et_pb_text_0  et_pb_text_align_left et_pb_bg_layout_light">
    <div class="et_pb_text_inner"><h2>Links</h2>
    <p><a href="#comment">comment</a> and <a href="#share">share</a></p></div>
    </div> <!-- .et_pb_text -->
    </div> <!-- .et_pb_column -->
    </div> <!-- .et_pb_row -->
    </div> <!-- .et_pb_section --><div id="comment" class="et_pb_section et_pb_section_1 et_section_regular" >
    <div class="et_pb_row et_pb_row_1">
    <div class="et_pb_column et_pb_column_4_4 et_pb_column_1  et_pb_css_mix_blend_mode_passthrough et-last-child">
    <div class="et_pb_module et_pb_text et_pb_text_1  et_pb_text_align_left et_pb_bg_layout_light">
    <div class="et_pb_text_inner"><h2>Comment</h2>
    <p>Your content goes here. Edit or remove this text inline or in the module Content settings. You can also style every aspect of this content in the module Design settings and even apply custom CSS to this text in the module Advanced settings.</p></div>
    </div> <!-- .et_pb_text -->
    </div> <!-- .et_pb_column -->
    </div> <!-- .et_pb_row -->
    </div> <!-- .et_pb_section --><div id="share" class="et_pb_section et_pb_section_2 et_section_regular" >
    <div class="et_pb_row et_pb_row_2">
    <div class="et_pb_column et_pb_column_4_4 et_pb_column_2  et_pb_css_mix_blend_mode_passthrough et-last-child">
    <div class="et_pb_module et_pb_text et_pb_text_2  et_pb_text_align_left et_pb_bg_layout_light">
    <div class="et_pb_text_inner"><h2>Share</h2>
    <p>Your content goes here. Edit or remove this text inline or in the module Content settings. You can also style every aspect of this content in the module Design settings and even apply custom CSS to this text in the module Advanced settings.</p></div>
    </div> <!-- .et_pb_text -->
    </div> <!-- .et_pb_column -->
    </div> <!-- .et_pb_row -->
    </div> <!-- .et_pb_section --></div><!-- .et_builder_inner_content -->
    </div><!-- .et-l -->
    </div><!-- #et-boc -->

    – Which links to check:
    – Look for links in:

    Hope this helps


    Plugin Support Adam – WPMU DEV Support


    Hi @jpnl

    Thanks for response!

    I just tried to replicate that again by setting both “which links to check” and “look for links in” exactly as set you your screenshots and actually using that very same page content (with Divi theme) on a test site.

    Both these links were detected for me (only if I actually published the page and not scheduled it) and were reported as correct (200 OK status). I left it set for now to see what will happen in a day or two though – to see if it will detect them (as “forced recheck” indeed didn’t report them) automatically if I’ll let it to.

    Best regards,

    Hi, could it be that this has been fixed in one of the recent releases after all? I have tried to reproduce on a test site, and this weekend on the site that usually reports this type of broken links. I didn’t get a broken link report on either of them.


    Plugin Support Nastia – WPMU DEV Support


    Hello @jpnl

    I hope you are doing well!

    I’ve tested the code and could not replicate this issue either. The issue must have been fixed in the latest release.

    Please let us know if this issue will come back.

    Have a good day and take care!


    Will keep an eye on it. Thanks for your help.


    Ok, reopened this because it happened again :'(

    It’s a post I Scheduled on 2020/02/28 @ 17:00:46 to be published on 2020/03/01 @ 3:51:34 am.

    It reports broken links on the internal links to the anchors and also to an external link.

    This is copied from the email (and edited to a fake postid and to not create hyperlinks )

    Broken Link Checker heeft 4 nieuwe niet-werkende links op de site gevonden.

    Hier is een lijst van de nieuwe niet-werkende links:
    Linktekst: Beoordeel dit verhaal
    Link URL : https : //www. paulschrijft. nl/?p=0000#reageren
    Bron: Danse macabre

    Linktekst: Geef een beoordeling voor dit verhaal 🧡 als je dit ook voor mij deelt op sociale media!
    Link URL : https : //www. paulschrijft. nl/?p=0000#reageren
    Bron: Danse macabre

    Linktekst: Deel dit verhaal
    Link URL : https : //www. paulschrijft. nl/?p=0000#delen
    Bron: Danse macabre

    Linktekst: Josch13 op Pixabay
    Link URL : https : //
    Bron: Danse macabre

    Linktekst: Lees de beoordelingen
    Link URL : https : //www. paulschrijft. nl/?p=0000#beoordelingen
    Bron: Danse macabre

    Je kunt hier alle niet-werkende links zien:

    Any ideas?


    Plugin Support Nastia – WPMU DEV Support


    Hello @jpnl

    I trust you are doing well!

    I apologize for the delayed reply. Regarding the link from Pixabay, this link indeed can return as a broken link:

    Linktekst: Josch13 op Pixabay
    Link URL : https : //
    Bron: Danse macabre

    I’ve tested this link on my end and it returns a 403 error. In this case, most likely the Pixabay site’s security block’s your site’s IP and a link can’t be checked. You can exclude the Pixabay links from being showing up in the list from Settings > Links Checker > What Links To Check, under Exclusion list.

    Please let me know, the rest of the links, like https : //www. paulschrijft. nl/?p=0000#reageren are from a scheduled post as well? If it is, where the ?p=0000 there should be a posts’ URI. As it is saved at the moment, the link indeed is broken. Would you please save a scheduled post and make sure it has a permalink?

    Please let me know what page builder you are using on your site? With the Gutenberg editor, we can’t replicate this issue.

    Please advise,

    Kind regards,

    Hi Nastia,

    Pixabay is a known issue, this is about the other links as mentioned in my original post.

    ?p=0000 is a fake post as I said wrote…

    This is copied from the email (and edited to a fake postid and to not create hyperlinks )

    I use the Divi builder, which has already mentioned in a previous post by your collegue Adam.

    My WP is setup to use permalinks and all post have a proper permalink, but when the plugin reports them as broken, it does so with the page id.

    Plugin Support Kasia – WPMU DEV Support


    Hello @jpnl ,

    We are still testing this issue, but for now, we haven’t got the same results with those sent emails.
    Can you give me PHP version, WordPress version and Divi version used on your site?

    kind regards,

    PHP 7.3
    WP 5.3.2
    Divi 4.4.0

    I always run the most recent WP and Divi versions.


    Plugin Support Adam – WPMU DEV Support


    Hi @jpnl

    Thanks for update!

    For whatever it sounds like – I must say I still can’t replicate it. I tried again meanwhile with Divi and with just Twenty Twenty theme, with scheduled posts and not and with your original link and mine – no luck. I”m not sure what but i got a feeling that we must be still missing some “details” about that entire case.

    However, I just re-read this thread and noticed that we didn’t ask one crucial question – what the plugin says about those broken links (I’m still referring to those scheduled posts and urls like ?p=…. with an anchor)?

    On the “Tools -> Broken Links” page in the “Status” column, there’s a “Details” link for each of the checked links. Would you check and tell me what exactly does it say for some example URL reported as broken (one of those scheduled/anchor ones, not e.g. Pixabay)?

    Best regards,

    Hi Adam, thanks for the follow up. It didn’t happen with the last scheduled post, so I don’t have more details yet. I will keep an eye on it and get back with that the next time it happens.


    Sorry it took a while but here it is.

    Link last checked: 4 April 2020
    HTTP code: 404
    Response time: 0.841 seconds
    Final URL:
    Redirect count: 0
    Instance count: 2
    This link has failed 3 times.
    This link has been broken for 6 hours.


    Log: === HTTP-code: 404 ===
    Response headers
    HTTP/2 404
    date: Sat, 04 Apr 2020 14:16:22 GMT
    server: Apache
    expires: Wed, 11 Jan 1984 05:00:00 GMT
    cache-control: no-cache, must-revalidate, max-age=0
    link: <>; rel=""
    strict-transport-security: max-age=63072000; includeSubdomains
    vary: User-Agent
    content-type: text/html; charset=UTF-8
    Request headers
    GET /?p=7543 HTTP/2
    User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36
    Accept: */*
    Connection: close
    Range: bytes=0-2048
    Response HTML
    <!DOCTYPE html>
    <html lang="nl">
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <link rel="pingback" href="" />
    <script type="text/javascript">
    document.documentElement.className = 'js';
    <script>var et_site_url='';var et_post_id='0';function et_core_page_resource_fallback(a,b){"undefined"===typeof b&&(b=a.sheet.cssRules&&0===a.sheet.cssRules.length);b&&(a.onerror=null,a.onload=null,a.href?a.href=et_site_url+"/?et_core_page_resource=""/?et_core_page_resource="}
    </script><title>Pagina niet gevonden - Paul Schrijft</title>
    <!-- This site is optimized with the Yoast SEO plugin v13.4 - -->
    <meta name="robots" content="noindex,follow"/>
    <meta property="og:locale" content="nl_NL" />
    <meta property="og:type" content="object" />
    <meta property="og:title" content="Pagina niet gevonden - Paul Schrijft" />
    <meta property="og:site_name" content="Paul Schrijft" />
    <meta property="og:image" content="" />
    <meta property="og:image:secure_url" content="" />
    <meta property="og:image:width" content="1200" />
    <meta property="og:image:height" content="630" />
    <meta name="twitter:card" content="summary_large_image" />
    <meta name="twitter:title" content="Pagina niet gevonden - Paul Schrijft" />
    <meta name="twitter:site" content="@paulschrijftnl" />
    <meta name="twitter:image" content="" />
    <script type='application/ld+json' class='yoast-schema-graph yoast-schema-graph--main'>{"@context":"","@graph":[{"@type":"Organization","@id":"","name":"Paul Schrijft","url":"","sameA
    Link werkt niet meer.
Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Bug: plugin reports broken links for scheduled posts’ is closed to new replies.