• Resolved svends

    (@svends)


    Works fine for external links, but not for internal links which require users to be logged in
    My site is mostly for users who need to be logged in to wordpress.
    Alle links works fine from a normal browser anywhere, and if I as logged in user, click on the Broken-link-checkers status page, but all pages has staus as “404 Not Found”

    Will it be possible to let Broken-link-checker log in to my site to check it?
    I already run wordpress as an administrator.

    I see in your reviews that at least “yeoric” have the same problem.

    Hope my issues are clear for you?

    • This topic was modified 2 years, 5 months ago by svends.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @svends

    I hope you’re well today!

    I understand the issue but currently there’s not much that could be done here. Broken Link Checker checks links as if it was just a regular “browser visit”, basically making a “simulated browser request” to given link.

    It would need to be able to login to the site as a user in some way to overcome that and there’s no feature for it. Adding it would require quite a lot of complex custom coding, even assuming that there’s no any additional complex security (like Two Factor Authentication or similar).

    A workaround could be possible if there is some way to “bypass” login requirement on site via some special URL (or rather – query var). I mean:

    if for example

    site.com/something URL cannot be visited without loggin-in but

    site.com/something/?temporary_access=true (that’s just example) can be used

    then it could be possible to come up with some custom code snippet to make use of it, I believe.

    But if there’s no such access then at the moment the only way to check those links would be to temporarily disable login protection for them (to make them public).

    Kind regards,
    Adam

    Thread Starter svends

    (@svends)

    Hi Adam
    Thanks for your answer.
    Until now I have marked pages as not dead.
    I will see what else I can do.

    I am using Broken Link Checker for a couple of years, but it started to give 404 errors for protected internal links about a week ago, so definitely something has changed recently. Quite annoying.

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @normandrivard

    Last update of Broken Link Checker was about two months ago and the only thing that changed back then was user-agent string that it uses. Since then nothing/nothing else has changed in the plugin.

    Quite a lot might have been changed on site, however, due to updates and if you need further help with this case, please – as per this forum guidelines – start a separate ticket of your own and we’ll assist you there.

    Kind regards,
    Adam

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘User protected pages are 404 Not Found’ is closed to new replies.