.htaccess настройка внутренних ссылок на https

Такая проблема, сделал перенаправление на https, но показывает что внутренние ссылки с http, как можно это исправить ?

Options All -ExecCGI -Indexes -Includes +FollowSymLinks
[![введите сюда описание изображения][1]][1]
<IfModule mod_rewrite.c>
    RewriteCond %{ENV:HTTPS} !on
    RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
    RewriteBase /
    RewriteCond %{HTTP_HOST} ^potolkirostov.ru
    RewriteCond %{HTTP_HOST} ^www.potolkirostov\.site$ [NC]
    RewriteRule ^(.*)$ http://potolkirostov.ru/$1 [R=301,L]
    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.html\ HTTP/
    RewriteRule ^index\.html$ https://potolkirostov.ru/ [R=301,L]
</IfModule>



DirectoryIndex index.html

ErrorDocument 404 /404.html

<ifModule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/css text/javascript application/javascript application/x-javascript
</ifModule>

<IfModule mod_gzip.c>
    mod_gzip_on         Yes
    mod_gzip_dechunk    Yes
    mod_gzip_item_include file      \.(html?|txt|css|js|php|pl)$
    mod_gzip_item_include mime      ^text\.*
    mod_gzip_item_include mime      ^application/x-javascript.*
    mod_gzip_item_exclude mime      ^image\.*
    mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</IfModule>

Ответы (0 шт):