To enable the SSL certificate and enable the possibility of connecting to the website via https (green padlock), you should perform the following steps:
We log into the backend of our website (www.customer-domain.au/admin, where the customer-domain is changed to the name of your domain).
1. Click “System” in the top left corner
2. Go to “Global Configuration”
3. In the “Force HTTPS” option, select the “Entire Site” option
There is also an alternate method which is not recommended due to complications that may arise after modifying the .htacces file.
Advanced users can use this method at their own risk.
If there are RewriteCond and RewriteRule rules in the .htaccess file, try adding a rule:
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
The rule above is responsible for redirecting to https or to the index.php file. An example configuration of a .htaccess file with additional rules already inserted may look like this:
RewriteCond %{HTTPS} !=on RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$ RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
We remind you that on Smarthost hosting, each hosting account is automatically provided with
Free SSL certificates for all domains
- Transferring WordPress from computer to server - June 20, 2024
- Step by step – WordPress Installation - June 20, 2024
- Installing PrestaShop – step by step - June 20, 2024