I discovered this module from the book Drupal 8 SEO by Ben Finklea. When you launch the module after installing, the first thing it says in the Advanced Operations section is:
This will revalidate all of the following pages. This operation may be long.
The button even says "Re-validate all pages".
Ben's book (bottom page 173) even shows a screen shot where several pages were evaluated and shown to have errors.
However, when I run it, it checks the first page which is Frontpage, says it found "7 errors, 0 warnings" and that the page is "Invalid", and then stops. The remaining 29 pages listed all say "Not yet validated" and "Unknown".
I've run it on both the latest versions of Firefox and IE. Does the module now stop after the first problem page it finds instead of analyzing all of them?
(Note: because of having this problem earlier in the day, I decided to restore the backup copy of my Drupal site before this was installed and tried it again. Same results the second attempt at installing and running.)
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | validator_stops_after_first_page--2905241-3.patch | 356 bytes | dom. |
Comments
Comment #2
dom. commentedHi !
I have not work on D8 version for a while so I need to take some time to retry and remember the current status of this.
What I am sure though is that this is not an intended feature.
One question: do you use a custom self hosted validator or the official one from W3C ? It is adviced to install your own copy of the validator to run the "everypage" analysis. The official W3C validator blocks your IP for a while (1h first time, then 24h if I am correct) if you send to much validation request. You can check if this is it by running a simple validation from the webpage at https://validator.w3.org/. You will quickly know if you are under temporary ban.
In the meantime, I will find some time to retry the module.
Comment #3
dom. commentedAfter a look, indeed, it comes from a bug in the module. Here is a patch.
Comment #5
dom. commentedSet this to critical: the module can't help you if only frontpage is validated.
Also this is now marked as fixed and a new release 1.3 as been made.
Comment #6
Rounder commentedDom:
That fixed it! Thank you for the very quick response.