Web Global Net Web Application & Web Development Project Center

Technical Issues => Apache Related => Topic started by: admin on July 16, 2020, 01:55: PM



Title: Pushing all visitors from http to https when listing a site
Post by: admin on July 16, 2020, 01:55: PM
The following rule must be added to the website .htaccess file

RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]