SEO optimization google search indexing error

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?

<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="utf-8">

<title>Clases particulares ingl&eacute;s con profesor nativo 

</title>

<link rel="canonical" href="https://mysite.com/index.html">

<link rel="shortcut icon" href="http://www.profesornativo.com/favicon.ico?v=2">

<meta name="viewport" content="width=device-width, initial-scale=1.0;">

<meta name="robots" content="index, follow">

<meta name="description" content="Profesor nativo ingles 

Tel: ******** (John), ofrece clases a particulares">

<meta name="author" content="Sean" >

<meta name="msvalidate.01" content="validate password here" >

<link rel='stylesheet' type='text/css' media="screen"

href='pronat.css'>

<meta name="google-site-verification" content="verification password here" >

</head>

Thanks!

1 Like

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:-

<link rel="canonical" href="https://mysite.com">

…for the index/homepage canonical.

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.

Thank you.

Just tell “John” to submit just forget the “/index.html” as this is the cause.

Google sees your domain.com then see domain.com/index.html as 2 separate pages.

Yes, I have deleted the “/index.html” that I had appended to my domain name. So the Google indexing seems ok now.
Thanks!

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.