Answer the question
In order to leave comments, you need to log in
Remove the .html extension. How will Yandex react?
The site is handwritten, that's why loading pages of the form page.html
It was necessary to remove the .html extension
. I made it with such a code.
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteCond %{HTTP_HOST} ^www\.(.*)$
RewriteRule ^(.*)$ http://%1/$1 [L,R=301]
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.html -f
RewriteRule ^(.*)$ $1.html
RewriteEngine on
RewriteBase /
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^.]+)\.html\ HTTP
RewriteRule ^([^.]+)\.html$ http://vash-master.tv/$1 [R=301,L]
RewriteCond %{REQUEST_URI} !(\.[^./]+)$
RewriteCond %{REQUEST_fileNAME} !-d
RewriteCond %{REQUEST_fileNAME} !-f
RewriteRule (.*) /$1.html
RewriteCond %{REQUEST_URI} /index
RewriteRule ^(.*)$ http://vash-master.tv/ [R=301,L]
Answer the question
In order to leave comments, you need to log in
To remove the extension, you need to transfer it to the CMS, otherwise this action does not make sense.
Yandex will react negatively if redirects are not registered.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question