Hi!
In Google Search Console, I get the error saying my index.html page isn’t indexed by Google, due to a “redirect error”, and I don´t know how to fix it.
In the section of my index.html page (below), I don’t see an obvious redirect. Any ideas what the problem might be?
Usually the index/homepage has just the site domain root for its URL, without specifying the index file. The index file used is specified in the server config.
So more commonly you would have something more like:-
I replied to the SamA74 by answering my email, but I see my reply isn’t visible here in the thread, so I will post it now, just in case: Thanks:
Actually, just now my homepage is indexed by Google, along with 29 other pages, and 54 pages are not indexed. This improvement may be because I deleted around 3 or 4 unimportant pages, which appeared in the Google Search Console as being reasons for not indexing (or something like that).
I will delete the index.html from the Canonical tag, as you suggest. I see in the Console that the index.html is omitted in the list of indexed pages anyway.
The “redirect error” could be caused by an issue in your server configuration or an invisible redirect. Check if your server or .htaccess file is causing a redirect loop. Ensure the canonical link matches the actual URL and there are no conflicting redirects in your site settings.