Страница 1 из 1

Валидатор не может посмотреть главную страницу сайта

СообщениеДобавлено: Вт апр 07, 2015 12:13 pm
McLotos
Добрый день!
У меня проблема, есть htaccess
Код: выделить все
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.(.*) [NC]
RewriteRule ^/?(.*) http://%1/$1 [L,R=permanent]
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1

Когда проверяю сайт на validator.w3.org то все страницы говорят что ошибок нет, кроме главной страницы, она ругается на петлю в 301 редиректе
I got the following unexpected response when trying to retrieve <http://site.ru>:
301 Moved Permanently
More information about why this is happening may be available from warnings reported by the validator's HTTP (and other protocol) client library:
Redirect loop detected (max_redirect = 7)
You can choose to validate the received error document for example if the URL intentionally points to one (there is also a "Validate error pages" option in the options view for this purpose)
.