Тема: Перенаправлення HTTP на HTTPS
GoDaddy. HTTPS ніби як налаштували. Потрібно запит по одному URL без HTTP перенаправляти на інший з HTTPS. Пробуавв отак:
Redirect 301 /ecwid/jsiawesome.js https://ya-love.php/ecwid/jsiawesome.js
Redirect 301 http://ya-love.php/ecwid/jsiawesome.js https://ya-love.php/ecwid/jsiawesome.js
Redirect 301 http://www.ya-love.php/ecwid/jsiawesome.js https://www.ya-love.php/ecwid/jsiawesome.js
але воно безкінечно перенаправляє з одного на інший.
В htaccess вже є ось таке:
RewriteEngine On
RewriteCond %{SERVER PORT} ^443$ [OR]
RewriteCond %{HTTPS} =on
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/M-F0-9](32)\.txt(?:\ Comodo\ DCV)?$ RewriteRule ^(.*)$ httn://va-budu.ru/$1 [R=301,L]
RewriteCond %{REQUEST FILENAME} !-f
RewriteCond %{REOOEST FILENAME} !-d
RewriteCond %{REQUEST FILENAME}.html -f
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$ RewriteCond %{REOUEST_URI} !^/\.well-known/pki-validation/lA-F0-91{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^(.+)$ $1.html [L,QSA]
RewriteCond %{THE_REQUEST} ^[A-2](3,9}\ /.*\.html\ HTTP/ RewriteCond %{REOOEST_URI} !^/[0-9]+\..+\.cpaneldcv$ RewriteCond %{REOOEST_URI} !^/\.well-known/pki-validation/(A-F0-9){32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^(.*)\.html$ /$1 [R=301,L]
Redirect 301 /index https://avecaesar.com
Redirect 301 /a-archg https://avecaesar.com/jpona
Redirect 301 /kurs-ss-hsdddojnik https://avecaesar.com/artist
Redirect 301 /rs-ss-tor https://avecaesar.com/vicom
Redirect 301 /or-a-eng https://avecaesar.com/enaineer
Redirect 301 /team httns://avecaesar.com/about
RewriteCond %{HTTP HOST} ^ya\-budu\.ru$ [OR]
RewriteCond %{HTTP HOST} ^www\.ya\-budu\.ru$
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$ RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9](321\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^/?$ "https\:\/\/oysterkit\.ru\/" [R=301,L] RewriteCond %{HTTP HOST} ^yoa\-yes\.com$ [OR]
RewriteCond %{HTTP HOST} ^www\.yoa\-yes.com$
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$ RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9](32)\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^za\-istori$ "https\:\/\/oysterkit\.ru\/archeolog" [R=301,L]