First, the question that decides everything else: is it stuck, or is it just slow? They look identical on a progress bar and they have nothing in common underneath. A scan sitting at zero for a day is almost never running slowly. It is not running at all, and on WordPress there is one cause far commoner than the rest.

The commonest cause: nothing is triggering the work

WordPress does not have a clock. What it has is a list of jobs that are due, checked when somebody loads a page. No page loads, no jobs. This surprises people because everything else on a server does have a clock.

So a scan sits at zero whenever PHP is not being reached:

  • The site has very few visitors. A new site, an intranet, a shop nobody has found yet. You press start, close the tab, and you were the last page load of the day.
  • A full page cache is serving everyone. This is the one that catches busy sites and is the most counter-intuitive: thousands of visitors, and not one of them reaches PHP, because a cache or a CDN answered first. Plenty of traffic, no jobs run.
  • DISABLE_WP_CRON is set to true and nothing was put in its place. This is a normal, recommended change on bigger sites, and it is only half of a change: it assumes a real scheduled task is calling wp-cron.php instead. If that half was never done, every background job on the site stopped, not just this one.
  • You are working on staging or behind a login. Same shape: almost nobody loads pages.

The test takes a minute. Load a few pages of the front end yourself, logged out, and watch the number. If it moves, the work is fine and the trigger was missing. That also tells you the fix: a real scheduled task on the server, calling wp-cron.php every five or ten minutes, is the standard answer and it fixes every background job at once.

How to tell stuck from slow, with arithmetic instead of patience

Checking links is done in small batches on purpose, so it never competes with the visitors you actually have. That means the honest rate is knowable, and you can work out what to expect instead of guessing:

Links per pass, times passes per hour, equals links per hour. A checker doing 100 links per pass with a pass every five minutes does about 1,200 an hour. A site with 30,000 links takes around a day. That is not stuck; that is the machine working exactly as designed, and the first full run is always the slow one because everything is new.

So the useful observation is not the percentage. It is whether the number moved at all in an hour:

  • Moved a little. Working. Do the arithmetic, then leave it alone.
  • Did not move at all, and no page was loaded. The trigger, as above.
  • Did not move at all, and the site is busy. Something is failing every pass. Keep reading.

Want to know a single link now, without waiting for the queue? → Free, nothing to install.

Stuck while finding the links, or stuck while checking them

These are two different phases and they get stuck for opposite reasons. "Building the index" or "scanning for links" is reading your own pages. Checking is requesting other people's servers. Which phase is frozen tells you where to look.

Where it sits What is happening Likely cause
Building the index, at zero Your pages are being read and the links catalogued. No outside requests yet. Nothing is triggering the work, or a pass is dying on a heavy page: a memory limit, a PHP time limit, or one enormous archive page. It restarts at the same place every time, which is why the number never changes.
Checking, and crawling Requests are going out and answers are coming back slowly. Normal, usually. A few very slow destinations can hold up a batch, since a timeout has to expire before the pass can move on.
"Still in progress, please wait" A lock is held so two passes never run at once. A previous pass died between taking the lock and releasing it. The lock outlives it and everything behind it waits. Locks normally expire on their own; if one does not, that is a defect worth reporting.
Aborted: too many server errors A safety valve stopped the run. Too many calls failed in a row, so it stopped rather than keep hammering. Look for one shared cause, not many broken links. See the errors that are not status codes.

Three things not to do

  1. Do not press start again. It is the natural reaction and it usually makes things worse: a second run competing with the first, two passes fighting over the same lock, or the same work queued twice. If nothing is triggering the jobs, starting again changes nothing at all.
  2. Do not set it to the fastest speed to unstick it. If the cause is a pass dying on a memory limit, a bigger batch dies sooner. And a harder check gets refused more often, which turns answers into non-answers.
  3. Do not conclude the site has no broken links. A scan that never ran produces the same empty report as a clean site. That is the report that says zero, and it is the expensive mistake hiding inside this one.

Related

What we do about it

Onsite Link Verdict runs on WordPress cron in batches of 100, 400 or 1,000 links depending on the speed you choose, and no new check starts after 45 seconds in a pass, so it has the same dependency described above: without page loads, nothing fires. What it tries to do is make the question answerable rather than leave you watching a bar. The panel says how many links are still queued, so you can see the number move, and the speed setting tells you what each level means for your own link count rather than in the abstract. Both are in the free version, because being able to tell slow from stuck is not a premium feature. Free on the WordPress.org directory.

Originally published on onsitetools.dev.