D
D
dmitry2511902019-11-25 17:27:15
htaccess
dmitry251190, 2019-11-25 17:27:15

The main robot of Yandex and Google gives the code 403 instead of 200. How to fix it?

The main Yandex robot in Yandex webmaster and Google gives the code 403 instead of 200. How to fix it?
What should be written so that the server sends a 200 response code to the Yandex webmaster, and not 403?
htaccess code

ErrorDocument 404 /404.html

DirectoryIndex page5659394.html

RewriteEngine On

RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

RewriteRule ^header$ page5672883.html [NC]
RewriteRule ^header/$ page5672883.html [NC]

RewriteRule ^remont-stiralnyh-mashin$ page5761250.html [NC]
RewriteRule ^remont-stiralnyh-mashin/$ page5761250.html [NC]

RewriteRule ^remont-holodilnikov$ page5731321.html [NC]
RewriteRule ^remont-holodilnikov/$ page5731321.html [NC]

RewriteRule ^remont-posudomoechnyh-mashin$ page5761263.html [NC]
RewriteRule ^remont-posudomoechnyh-mashin/$ page5761263.html [NC]

RewriteRule ^remont-varochnyh-panelej$ page5761281.html [NC]
RewriteRule ^remont-varochnyh-panelej/$ page5761281.html [NC]

RewriteRule ^remont-duhovyh-shkafov$ page5761296.html [NC]
RewriteRule ^remont-duhovyh-shkafov/$ page5761296.html [NC]

RewriteRule ^price$ page5937220.html [NC]
RewriteRule ^price/$ page5937220.html [NC]

RewriteRule ^footer$ page5939784.html [NC]
RewriteRule ^footer/$ page5939784.html [NC]

RewriteRule ^tseny-remont-stiralnyh-mashin$ page6006521.html [NC]
RewriteRule ^tseny-remont-stiralnyh-mashin/$ page6006521.html [NC]

RewriteRule ^tseny-remont-holodilnikov$ page6007079.html [NC]
RewriteRule ^tseny-remont-holodilnikov/$ page6007079.html [NC]

RewriteRule ^tseny-remont-posudomoechnyh-mashin$ page6006734.html [NC]
RewriteRule ^tseny-remont-posudomoechnyh-mashin/$ page6006734.html [NC]

RewriteRule ^tseny-remont-varochnyh-panelej$ page6006824.html [NC]
RewriteRule ^tseny-remont-varochnyh-panelej/$ page6006824.html [NC]

RewriteRule ^tseny-remont-duhovyh-shkafov$ page6006879.html [NC]
RewriteRule ^tseny-remont-duhovyh-shkafov/$ page6006879.html [NC]

RewriteRule ^servisnye-inzhenery$ page5967727.html [NC]
RewriteRule ^servisnye-inzhenery/$ page5967727.html [NC]

RewriteRule ^skidki$ page5967925.html [NC]
RewriteRule ^skidki/$ page5967925.html [NC]

RewriteRule ^otzyvy$ page5974658.html [NC]
RewriteRule ^otzyvy/$ page5974658.html [NC]

RewriteRule ^kontakty$ page5966912.html [NC]
RewriteRule ^kontakty/$ page5966912.html [NC]

RewriteRule ^politika$ page5973902.html [NC]
RewriteRule ^politika/$ page5973902.html [NC]

RewriteRule ^soglasie$ page5967418.html [NC]
RewriteRule ^soglasie/$ page5967418.html [NC]

RewriteRule ^favicon.ico$ https://static.tildacdn.com/tild6165-6562-4836-b834-336564383266/favicon.ico [R=302,L]

<IfModule mod_headers.c>
  Header set X-Content-Type-Options nosniff
  Header set X-XSS-Protection "1; mode=block"
</IfModule>

robots.txt file code
User-Agent: *
Disallow: /page5672883.html
Disallow: /header
Disallow: /page5939784.html
Disallow: /footer
Disallow: /tilda/form*
Disallow: /tilda/rec*
Disallow: /tilda/click*
Disallow: /tilda/scroll*
Disallow: /tilda/popup*
Host: https://site.com.ru
Sitemap: https://site.com.ru/sitemap.xml

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question