Once you have an SSL certificate installed on the server for a secure HTTPS connection, you need to redirect your website from HTTP to HTTPS.
For example, suppose you have the domain vasadomena.nekaj, which is displayed as follows: http://www.vasadomena.nekaj
You can redirect a website created in WordPress in two ways:
Once you have redirected your website to HTTPS, your link will be displayed as follows: https://www.vasadomena.nekaj
PLEASE NOTE: YOUR DOMAIN MUST HAVE AN SSL CERTIFICATE!
SSL certificates are available on our website > SSL certificates
We will be happy to help you choose the right one. Write to us at info@zabec.net.
If you have used SSL since the day your website was first published, all static files (e.g. images) are already published using HTTPS.
If you obtained an SSL certificate later, your website may contain many static files that are published with "NON-HTTPS" (that is, HTTP) addresses. In this case, you will need to change them. If you do not, the browser will display a security warning, even if an SSL certificate is already installed on the server.
The "Easy HTTPS Redirection Plugin" plug-in allows you to "force" static files to use the secure HTTPS connection. This makes your website fully compatible with the SSL certificate.
Using the plug-in enables automatic redirection to HTTPS (Enable automatic redirection to the HTTPS).
Once you enable this option, your website http://www.vasadomena.nekaj will be automatically redirected to the secure connection https://www.vasadomena.nekaj , so your visitors will access your website over a secure connection.
After installing the plug-in, find it under Settings (Settings) and select HTTPS Redirection.
When the plug-in settings are displayed, use the first option to specify that your website should be redirected to HTTPS, and use the second option to enable all static files (images) to be served over an HTTPS connection.
The plug-in will ask whether you want to redirect the whole website to HTTPS or only certain pages. Select redirection of the whole website (Whole page) and click Save (Save).
If you want to redirect your website to the secure HTTPS connection "manually", you can do so by editing the .htaccess file on your hosting account and by editing the address settings in the WordPress administration of your website.
In the website administration, go to Settings (Settings) and General (General). Here you can edit the WordPress Address (URL) (WordPress Address (URL)) and the Site Address (URL) (Site Address (URL)).
Edit them so that, in http://www.vasadomena.nekaj, you change http to https.
Once you have done this, you also need to edit the .htaccess file in the control panel. Open the .htaccess file located in the public_html folder and add the following lines at the very beginning:
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.vasadomena.si/$1 [R,L]
Make sure you change "https://www.vasadomena.nekaj" to your own domain.
Also add the following line to wp-config.php:
define(‘FORCE_SSL_ADMIN’, true);
Finally, do not forget to add your https website to Google Webmaster Tools again, so that you notify Google of the change you have made.