• Resolved Samantha

    (@dydyt)


    Hi,

    Is there any way to hide/remove “200 OK” from the Detected Links list? I have 2m+ links and it took ages to load Broken Links page.

    Thanks!

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

    (@wpmudev-support8)

    Hello @dydyt

    I hope you’re well today!

    You can create your own filters by first going to “Tools -> Broken Links” page, then doing a search on the list and saving search as “filter” and that would add additional “Tab” to the list which would let you see only selected links. Those may e.g. be only links of certain HTTP code.

    However, I’m afraid it won’t stop all links from being included on the list so with that many entries it can still be slow.

    Hiding that part with CSS won’t help either as it will hide the links from “view” but won’t stop the plugin from loading them.

    If possible at all, I think it would require some additional code so I’ve asked our developers if there’s any workaround for now and if we could also implement an option to “ignore” not-broken links on a list.

    I or one of my colleagues will update you here as soon as we get to know more.

    Best regards,
    Adam

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @dydyt

    I just got an update for you.

    I’m afraid there isn’t any workaround for this but we do already have a feature to allow “ignoring” links of any selected status on the list so in future you’ll be able to decide whether you want to not show e.g. “200 OK” links or “503 Service Unavailable” links or any other detected status.

    Best regards,
    Adam

    Thread Starter Samantha

    (@dydyt)

    Hi Adam,

    Any temporarily solution would be really, really nice!

    Much love and peace

    Hello @dydyt ,

    Although the plugin will check the links you can hide it form the listing with a CSS fix.
    Just add the following code on your child theme or a custom plugin, this will hide all the 200ok links except the once that have redirects.

    function blc_hide_css() {
    	echo "
    	<style type='text/css'>
    	.blc-row.link-status-ok:not(.blc-redirect) {
    	    display: none;
    	}
    	</style>
    	";
    }
    
    add_action( 'admin_head', 'blc_hide_css' );

    Hope this helps,
    Regards.

    Thread Starter Samantha

    (@dydyt)

    Hi,

    Thank you, but this will not improve the loading time. It just hiding entries from the table.

    Hello @dydyt

    I trust you’re doing well!

    As Biplav has mentioned, the snipper above is meant to hide all 200OK links. If the Broken Link Checker takes a long time to load, please specify how long.

    Please let us know how fast a page is loading when all the other plugins are deactivated. Make sure to have a backup of your site before deactivating all plugins, so if something will go wrong you can always restore the site from a backup.

    If the loading speed is improved, start activating one plugin at a time, while checking the loading time of the plugin’s page. Let us know how it went.

    Kind regards,
    Nastia

    Hello @dydyt

    I hope you are doing well!

    We haven’t heard back from you for a while now so we’ve marked this ticket as resolved. If you do have any followup questions or require further assistance feel free to reopen it and let us know here.

    Kind regards,
    Nastia

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Hide “200 OK” from the list’ is closed to new replies.