Speculative Loading causes 404 errors in Google Search Console with url/*
-
Since a few months, GSC keeps reporting 404 errors on url’s like the below
https://www.mydomain.nl/wp-admin/*https://www.mydomain.nl/wp-content/*
https://www.mydomain.nl/wp-content/uploads/*
https://www.mydomain.nl/wp-content/themes/Avada/*
https://www.mydomain.nl/*
https://www.mydomain.nl/wp-*.php
https://www.mydomain.nl/wp-content/plugins/*Upon inspection of the referring url, it looks like it is coming from a prefetch script like the below, which was introduced with WordPress 6.8
<script type="speculationrules">
{"prefetch":[{"source":"document","where":{"and":[{"href_matches":"/*"},{"not":{"href_matches":["/wp-*.php","/wp-admin/*","/wp-content/uploads/*","/wp-content/*","/wp-content/plugins/*","/wp-content/themes/Avada/*","/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]}
</script>Is this something that should be fixed in the script? Or is it a bug in Search Console because they interpret the url’s in the script literally? If the later, does the WP core team have a direct support line with the Google Search Console Team?
(this is also posted in the Search Console Help Forum)
De pagina waar ik hulp bij nodig heb: [log in om de link te zien]
Je moet ingelogd zijn om op dit onderwerp te reageren.