View Single Post
  #1  
Old 5th November 2022, 08:13
hax0r hax0r is offline
Banned
 
Join Date: Sep 2022
Posts: 12
Thumbs down [rewrite_engine_m0dz] Automatically redirect visitors to SSL
Automatically redirect visitors to SSL when they visit the unsecured version of the website
The mod_rewrite module enables you to rewrite URLs.

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.example.com/$1 [R,L]
Go further
Reply With Quote