Need a Rescan Button
-
I need a ‘Rescan All Links’ button which will rescan all the current broken links again after clicking on the button. It will be on on ‘wp-admin/tools.php?page=view-broken-links’.
-
Hi @rpbhatt
I hope you are doing well today.
Such URL is not available in current version and the URL you have shared comes from old version. If you need re-scan link please navigate to:
WP Dashboard -> Settings -> Link Checker -> Advanced tab. Scroll to the bottom of page and click on “Re-check all pages”Kind Regards,
KrisHow can add that ‘Re-check all pages’ button on any other place with same functionality of ‘Re-check all pages’ button?
Hi @rpbhatt
It can’t be added anywhere else easily and plugin doesn’t support adding it anywhere else, I’m afraid.
Kind regards,
AdamI have some queries:-
If the scan and recheck (Which is available on WP Dashboard -> Settings -> Link Checker -> Advanced tab) does by crawling each page or database search?
please tell me the whole process how the scan and recheck process is working and please provide me the files name where the scanning and rechecking is happening.
If the recheck can be done automatically schedule means can get updated broken/unbroken links? if so then from where i can set the time?
Also if it picks broken/unbroken links from trashed item post/pages/custom post type too?
Basically I’m wanting to understand the logic of how it operates.
Hi @rpbhatt
Thanks for response!
Which is available on WP Dashboard -> Settings -> Link Checker -> Advanced tab
So that means that you are not using current plugin but some pre-2.0 version then – which doesn’t even have the “Cloud” and “Local” options. That’s important information for us so thanks for making it clear.
So I will refer to that older version in my responses below. Those response do NOT apply to the current version’s “cloud” engine.
If the scan and recheck (Which is available on WP Dashboard -> Settings -> Link Checker -> Advanced tab) does by crawling each page or database search?
It doesn’t “crawl” the site and its pages but works based on the DB. Specifically, it simply generates the list of posts (of any type that’s enabled in “Look for links in” settings) and then reads their content from the DB where extracts links from.
It then saves all the found links in the DB in its own custom tables.
Those links are then checked in separate process.
please tell me the whole process how the scan and recheck process is working and please provide me the files name where the scanning and rechecking is happening.
As explained above:
– plugin goes through the post in DB
– read posts content and parses it in order to extract links from it
– then saves link and information about link in its own DB tables
– then it makes cURL requests to those URLs and checks HTTP response
– based on that response it markes the link as broken or not.There’s no “single file” that does that. It’s quite a lot of code across multiple files in the plugin.
If the recheck can be done automatically schedule means can get updated broken/unbroken links? if so then from where i can set the time?
You can’t schedule that because this button – which is actually not “Rescan” but “Re-check all pages” – is not for “checking links” specifically but rather to force plugin to “rediscover” links.
Normally, links that are already discovered are already being automatically re-checked on schedule. In “General” tab of settings you have “Check each link every X hours” option. By default it’s 72 hours and it means that each link on the “All” links list will be re-checked about every 72 hours and its status will be updated if it changes (e.g. if it’s no longer broken, it will be marked as valid; if it was fine but broke – it will be now marked as broken, and so on).
There’s no need to use that button for it, it happens automatically anyway.
Additionally, in “Advanced” settings you also have “Link monitor” option which you use to decide when DB needs to be checked to possibly discover new links. It can be done continuously when dashboard is open and/or it can independently be run hourly in background. Still no need to use “Re-check all pages” button for that.
Also if it picks broken/unbroken links from trashed item post/pages/custom post type too?
It shouldn’t check trashed posts/pages. In “Look for links in” tab at the bottom you’ll find the “Post statuses” setting where you can decide which posts (post can be post, page, product or any other post type; see settings in “Look for links in” option above it) should be checked. It can check published posts, scheduled posts, pending, private and draft – but doesn’t check trashed posts.
Kind regards,
AdamI’ve deactivated one of my plugin and got broken link due to that. After activating the plugin again, broken link should be fixed immediately but it’s not getting fixed immediately. It’s getting fixed and removing from broken link almost after 10-15 mins. Please provide me solution for that , it’s urgent.
Hi @rpbhatt,
I hope you are doing well today!
The time taken for a link to be fixed after reactivating a plugin can vary based on several factors. These include the possible conflicts with other plugins and the performance of your website’s server.
Please make sure to clear all caches then check the broken link status again as sometimes, your site cache may be delaying the update.
Perform full plugin and theme conflict test in order to find out if the issue is related with the conflicts. Please make sure you have recent backups and perform this operation on your dev/staging site if possible. To learn more about a plugin conflict test, please see this guide below:
https://wpmudev.com/docs/getting-started/getting-support/#conflict-testCheck out this handy flowchart of the troubleshooting process detailed above.
https://wpmudev.com/wp-content/uploads/2015/09/Support-Process-Support-Process.gifIf your server is slow or experiencing performance issues, it might contribute to the delay in updating the broken links. Consult your hosting provider for assistance with this.
Kind regards,
ZaferI’ve a page open of broken links. After fixing the link, when I’m clicking on ‘Recheck’, link should not be there anymore. It’s showing 200 ok or warning that link is invalid or any other warning and link is removing from there after making a reload. But I want to remove the link immediately after clicking on ‘Recheck’ if the link is fixed.
Hi @rpbhatt,
Hope this message finds you well and thanks for the information,
Currently, Broken Link Checker doesn’t have such a feature, still, I have shared your suggestion with our development team for their evaluation. They will assess the possibility of implementing this feature in the future based on feasibility, demand, and overall contribution to improving user experience.
Best regards,
LauraI’ve a events post type and have some events under that. If anything broken in there on those events, still not showing as broken link. Same case is happeing for other of my custom post types too. Although I’ve enabled my post types from ‘Look for links in’ settings so that those can be scanned.
Hi @rpbhatt,
I checked in my test site and can confirm when the custom post types are selected under “Look for links” then the custom post types where there are broken URLs do get detected by the plugin when tested.
Could you please share the post URL where there are broken URLs which doesn’t get listed in the scan?
Another possibility would be if there are any timeouts due to low resources. Could you please check and confirm whether the memory_limit is at least 512M or higher and max_execution_time to 300 or higher?
If lower than above, please check and see whether increasing the resources makes any difference or not.
You can find the following thread helpful for more info about increasing resoucres:
https://wpmudev.com/blog/increase-memory-limit/
Please do let us know how that goes.
Best Regards,
Nithin
Problem is when there are same broken links on multiple pages/posts/cpt then only 1 broken link is showing but I need to show then all. If there is total 10 same broken links, then I need to show them all instead of showing just 1.
Hi @rpbhatt,
The mentioned problem has been resolved with our Cloud engine, all instances of the same broken link are detected by the latest version of the plugin. Please update the plugin to the latest version and let us know if you need any further assistance.
Kind Regards,
Nebu JohnCan you please tell me what changes to be made to achieve this (All instances of the same broken link) on the old plugin since I can’t update the plugin (As I did some changes on the plugin).
Hi @rpbhatt,
Would you let us know which plugin version are you using? The last version is 2.2.2.
You can check the version at Plugins >> Broken Link Checker.
Best regards,
Laura
- The topic ‘Need a Rescan Button’ is closed to new replies.