-
-
Notifications
You must be signed in to change notification settings - Fork 573
How to redirect pH7CMS from HTTP to HTTPS
♚ PH⑦ Soria ♛ edited this page Aug 17, 2018
·
10 revisions
-
To redirect your website automatically to https, please uncomment these tow lines .htaccess#L664-L665
NOTE: Uncomment means to remove the hash
#
(number sign), which starts the line. So, line 664 to line 665 should look like:RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
-
Go to your admin panel and clear all caches (Admin -> Tool -> Caches -> Caches Manager). To make sure all assets are OK with the new URL.
P.S. If you have any issues, please ask your web hosting company, or see if there is an option for doing it in your web hosting control panel (such as cPanel or Plesk).