.htaccess https yönlendirmesi

Diğer
Görüntülenme : 340 14 Kasım 2022

Websitenize .htaccess ile https yönlendirmesi yapmak istiyorsanız aşağıdaki kodu kullanabilirsiniz.

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]