Answer the question
In order to leave comments, you need to log in
Why doesn't Google index pages?
Hello. Google console shows the following:
I.e. there are all the pages of my site (or almost all). What does it mean? There is aaa.html link, maybe it's because I have a redirect in .htacceess that removes .html from the end? I am concerned about this. Tell me what's the problem. My .htaccess:
RewriteEngine On
RewriteCond %{THE_REQUEST} ^\S+\s+/([^.?]+)\.html
RewriteRule ^ https://site.com/%1 [R=301,L]
RewriteCond %{HTTPS} =off [OR]
RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteRule (.*) https://site.com/$1 [R=301,L]
RewriteCond %{REQUEST_URI} !(\.[^./]+)$
RewriteCond %{REQUEST_fileNAME} !-d
RewriteCond %{REQUEST_fileNAME} !-f
RewriteRule (.*) /$1.html [L]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question