Hello friends, hope you are doing good! Today, I am going to share a very useful tutorial how to move WordPress website from http to https.
Google has recently launched a new version of Chrome browser with some new features including the website security notification. After this release, if your website has not installed the SSL certificate, then it will display the “Not Secure” notification in Chrome address bar. See the below screenshot.
Google Chrome will display the Not Secure in the URL bar on those pages which contains the password and credit card input fields. If your website contains login form or credit/debit card information, then you should move to the HTTPS URL by installing the SSL certificate on your domain to protect data of your customers.
Below is the complete steps to follow after mov=ed your site from HTTP to HTTPS.
Follow the below steps to move your website from HTTP to HTTPS:
Step 1) Login to WordPress admin and navigate to the Settings => General => Update URL to HTTPS version like https://www.example.com.
Step 2) Now go to the Plugins=> Add New and search Better Search Replace and install it.
Step 3) After activated the plugin replace all HTTP version URLs to HTTPS From http://www.example.com to https://www.example.com.
Step 4) Login to Google Search Console => Delete old property and add a new property in the HTTPS version URL and Submit Sitemap with HTTPS URLs.
Step 5) Update Google Analytics Profile URL to HTTPS version.
Step 6) Now open your .htaccess file from root directory of your website and add the below code at the end of the file.
1 2 3 |
RewriteEngine on RewriteCond %{HTTPS} !on RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} |
Do you like & share this article with your friends, and don’t forget to follow us on Facebook and Twitter to learn cool WordPress tutorials.
If you like FreeWebMentor and you would like to contribute, you can write an article and mail your article to [email protected] Your article will appear on the FreeWebMentor main page and help other developers.
Article Tags: How to Add SSL and HTTPS in WordPress, How to Fix Mixed Content Error in WordPress After Adding SSL, How to Move a WordPress Website from HTTP to HTTPS/SSL, How to Redirect HTTP to HTTPS in WordPress, http to https, http to https wordpress, Moving to HTTPS on WordPress, wordpress https mixed content