Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

kshen

Новичок
  
  • Posts

    1
  • Joined

  • Last visited

kshen's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Нашел ответ на одном из форумов. Сам я в этом не разбираюсь, поэтому - просто копи-паст Обычно в .htaccess для редиреки на https предлагается сивить икой код: Вариант 1 RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://babysupermag.ru/$1 [R=301,L] Вариант 2 RewriteEngine On RewriteCond %{HTTPS} =off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [QSA,L] Вариант 3 RewriteEngine On RewriteCond %{SERVER_PORT} !^443$ RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R,L] Вариант 4 - если возникает циклическая переадресация: RewriteEngine On RewriteCond %{HTTPS} off RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] Этот вариант мне помог!
×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.