|
|
|
|
|
|
|
|
|
Добрый день. Напишите имя сайта и я попробую Вам создать правила .htaccess
|
|
|
|
|
|
|
|
Подскажите, что не так:
.htaccess----------------
AddDefaultCharset utf-8
AddCharset utf-8 *
<IfModule mod_charset.c>
CharsetSourceEnc utf-8
CharsetDefault utf-8
</IfModule>
AcceptPathInfo On
Options +FollowSymLinksIfOwnerMatch -Indexes
DirectoryIndex index index.php index.shtml index.html index.htm content.php
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP:SSL} !=1 [NC]
RewriteRule ^(.*) https:/site.com/$1 [L,R=301]
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
SetEnv force-no-vary
SetEnv downgrade-1.0
<ifModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/x-js text/javascript text/css application/javascript
</ifmodule>
------------------------------
Получаю:
ERR_TOO_MANY_REDIRECTS
|