I've been having some indexing issues that I've had a development team working on trying to fix for a week but no progress has been made.
The site has an overwhelming amount of 404 errors as indicated by Google Search Console. This site is about 800 pages but there are almost 1300 404 errors. This site is built on WordPress.
All of said errors are existent on the Desktop portion of GSC but not on the Smartphone portion.
The 404's are all from pages that I have no recollection of ever existing and all follow the same format /URLPath/index.html
.
One of these is errors is explicitly /2014/12/index.html
. The page /2014/12
exists as do all of the other pages mentioned in the 404 list as long as you drop the /index.html
that appends to the end of the URL.
Investigating I can see that the URL was crawled earlier in May and that this page is being linked from 5 other URLS (using the page mentioned above). Of these 5 URLS, none of them link to /2014/12/index.html
or /2014/12/
and no changes have been made to this page since it was published.
A similar theme occurs for all of the other 404 errors and there linked from pages.
Is it possible that these crawl errors are contributing to my indexing problem?(A Site:
search shows Google has over 1400 pages indexed but there are only about 800)
Why would these pages, appending /index.html
, be created without me creating them?
NOTE:
All of these errors appeared over a 2 day period at the start of May.
This is happening for every tag & category as well /tag/index.html
, /category/index.html
, /category/helloWorld/index.html
, etc.
This website used to be www and now uses the non-www version of the site.
A sitemap was submitted at the end of May with only the 800-ish pages that exist and only 98 are recorded as index by GSC.
EDIT:
I looked into the server logs to see who accessed the URLs that append /index.html
but the entire server log is empty. There's no trace of anyone visiting a page that 404s.
/index.html
? Many web servers will treat the default page (typicallyindex.html
) the same as just/
. Technically, they're two different URLs so could be indexed separately. If you're able to reach the URLs with/index.html
added to them and also/
, then redirect the former to the later using a301
redirect (e.g., via a .htaccess) and the errors and indexing should fall off eventually. You could also block access to/index.html
using a robots.txt.You could also block....
.... But if those two pages are copies of each other and are extremely important pages, a redirect is much better, because blocking will frustrate a portion of the users who stored the blocked version of the URL in their browser bookmarks.