WordPress: How to move from http to https in wordpress ? SSL Certification

wordpress setup

Are you looking to move the website from https to https. Once you have install the SSL in hosting server, do the below steps to complete and configure the SECURED WORDPRESS SITE.

Step : 1

Add the below line in config.php file

define(‘FORCE_SSL_ADMIN’, true);

Step : 2

Add the below code or ensure the in .htaccess file

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</IfModule>

Related posts

Leave a Comment