makim925 Posted January 18, 2017 Report Share Posted January 18, 2017 Добрый день ! после подключения ssl сертификата проблема на вебмастере Яндекса "Сервер отвечает редиректом на запрос /robots.txt " в .htaccess прописывал так :RewriteEngine on RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]RewriteRule ^(.*)$ https://%1/$1 [R=301,L] RewriteCond %{HTTPS} offRewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}не могу понять в чем причина Quote Link to post Share on other sites
makim925 Posted January 18, 2017 Author Report Share Posted January 18, 2017 все сам исправил <FilesMatch "robots.txt$">RewriteEngine off</FilesMatch> Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.