{"id":5131,"date":"2020-03-03T15:00:53","date_gmt":"2020-03-03T14:00:53","guid":{"rendered":"https:\/\/qodeinteractive.com\/magazine\/?p=5131"},"modified":"2023-08-14T10:22:00","modified_gmt":"2023-08-14T08:22:00","slug":"add-ssl-wordpress","status":"publish","type":"post","link":"https:\/\/qodeinteractive.com\/magazine\/add-ssl-wordpress\/","title":{"rendered":"How to Add HTTPS and SSL to Your WordPress Website"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row][vc_column][vc_column_text]A growing number of websites have been making the switch from HTTP to HTTPS protocol to increase security. HTTPS (Hypertext Transfer Protocol Secure) is a combination of two protocols: HTTP and SSL\/TSL (Secure Socket Layer\/Transport Layer Security). SSL encrypts all information (passwords, credit card information, <span style=\"font-weight: 400;\">and more<\/span>) that are exchanged on your website, adding an important layer of protection. This makes HTTPS protocol mandatory for any eCommerce business and strongly recommended for any type of website that collects users\u2019 information.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Apart from the secure transfer of information, there are other reasons why adding SSL to your site is beneficial. They include the prevention of malware infection, better long-term SEO ratings, and higher website loading speed.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Although you can\u2019t go wrong with switching your website to HTTPS, there are plenty of ways things can get complicated with transferring to the new protocol &#8211; even for the more experienced WordPress users. This comprehensive guide was created to help both beginners and experienced site admins with adding HTTPS and SSL to WordPress websites. Carefully follow these steps and you will have a prized green padlock of security in no time![\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]If you\u2019d like to take a shortcut to any specific part of this article, simply use one of the links below:[\/vc_column_text][vc_empty_space height=&#8221;22px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#acquiring-an-ssl-certificate\">Acquiring an SSL certificate<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;5px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#moving-to-https\">Moving to HTTPS<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;5px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#additional-steps\">Additional steps<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;5px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#fix-wordpress-site-not-secure-mixed-content-error\">How to Fix the WordPress Site Not Secure\/Mixed Content Error<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;5px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#fix-net-err-cert-invalid-error\">How to Fix the NET::ERR_CERT_INVALID Error<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;5px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#fix-http-to-https-redirect-error\">How to Fix the HTTP to HTTPS Redirect Error<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;5px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#fix-too-many-redirects-error\">How to Fix the Too Many Redirects Error<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Security.jpg\" class=\"attachment-full size-full\" alt=\"Security\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Security.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Security-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Security-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;79px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\"><a id=\"acquiring-an-ssl-certificate\"><\/a>Acquiring an SSL certificate<\/h2>\n<p>[\/vc_column_text][vc_column_text]<strong>An SSL certificate enables data encryption and site authentication<\/strong>. This assures the site visitors of your credibility and provides security for any information shared between a user and your website. <a href=\"https:\/\/www.ssl2buy.com\/\" target=\"_blank\" rel=\"noopener\">Obtaining an SSL certificate<\/a> is a prerequisite for the HTTPS moving process.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]SSL certificates can be free or paid. Some hosting providers offer free SSL certificates in batch with domain hosting subscriptions. <strong>Begin by consulting with your hosting provider about the option to activate a free SSL certificate<\/strong>, either host-granted or a third-party certificate such as <a href=\"https:\/\/letsencrypt.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">Let\u2019s Encrypt<\/a>. Your hosting provider might also offer some advice on acquiring a high-quality paid SSL certificate.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]<strong>One of the important differences between various SSL certificates is the number of domains and sub-domains they can secure<\/strong>. Single certificates cover a single domain or sub-domain, wildcard ones cover a domain and all of its sub-domains, while the multi-domains cover multiple domains and all of its subdomains.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]<span style=\"font-weight: 400;\">SSL certificates can be self-signed as well. To be recognized as safe by browsers, they have to be generated by a trustworthy third-party organization, also known as a certificate authority (CA). Self-signed certificates that aren\u2019t verified by a CA will be marked as <em>not secure<\/em>, which defeats the purpose of an SSL certificate. Moreover, certain browsers can block these sites during the loading process. This is why it is best to avoid using self-signed SSL certificates.<\/span>[\/vc_column_text][vc_empty_space height=&#8221;81px&#8221;][vc_separator color=&#8221;custom&#8221; accent_color=&#8221;#f0f0f0&#8243;][vc_empty_space height=&#8221;50px&#8221;][vc_widget_sidebar sidebar_id=&#8221;top-picks-banner&#8221;][vc_empty_space height=&#8221;28px&#8221;][vc_separator color=&#8221;custom&#8221; accent_color=&#8221;#f0f0f0&#8243;][vc_empty_space height=&#8221;80px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\"><a id=\"moving-to-https\"><\/a>Moving to HTTPS<\/h2>\n<p>[\/vc_column_text][vc_column_text]Before you proceed, <strong>we strongly recommend that you <a href=\"https:\/\/qodeinteractive.com\/magazine\/how-to-manually-backup-wordpress-website\/\">backup your WordPress site<\/a><\/strong>. You can do it manually, or you can ask your hosting provider for help.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]With the site backed-up, you can safely proceed. We will show you two methods of changing your site from HTTP to HTTPS. The first option is using third-party SSL plugins. This method is more suitable for less-experienced WordPress users. The second option is more challenging, as it requires manual editing of files and URLs. This method is suitable for more experienced WordPress users. If you are not well-versed with programming yet insist on using this method to add HTTPS, we strongly recommend that you hire a developer to help you with the process.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;72px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h3 class=\"qodef-h5\">Using SSL plugins<\/h3>\n<p>[\/vc_column_text][vc_column_text]Since there are many WordPress SSL-related plugins, we can\u2019t use all of them. For the purposes of this article, we will go over some of the more popular solutions. You are free to test or recommend other plugins as well &#8211; if you have time, let us know about your experiences in the comment section![\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]<strong>One of the top-rated, user-friendly SSL plugins is <a href=\"https:\/\/wordpress.org\/plugins\/really-simple-ssl\/\" target=\"_blank\" rel=\"noopener noreferrer\">Really Simple SSL<\/a><\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]To install this plugin, navigate to <strong>Plugins<\/strong> and press <em><strong>Add New<\/strong><\/em>. <strong>Search<\/strong> for the plugin and click on <em><strong>Install Now<\/strong><\/em>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Install-Plugin.jpg\" class=\"attachment-full size-full\" alt=\"Install Plugin\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Install-Plugin.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Install-Plugin-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Install-Plugin-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Then, open <strong>Plugins &gt; Installed Plugins<\/strong>, review the notice carefully and click on the <em><strong>Go ahead, activate SSL!<\/strong><\/em>\u00a0button.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Installed-Plugins.jpg\" class=\"attachment-full size-full\" alt=\"Installed Plugins\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Installed-Plugins.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Installed-Plugins-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Installed-Plugins-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]At this point, you will probably have to reconnect to your WordPress dashboard.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Really Simple SSL plugin handles all the steps of HTTPS activation relatively well. One of the problems that may appear with this plugin is a mixed-content issue caused by leftover links using the HTTP protocol. <strong>Really Simple SSL plugin has a built-in feature called a mixed-content fixer that deals with this issue to some extent. However, keep in mind that this feature will not be able to change some HTTP assets (images, CSS and JS) and hardcoded HTTP links inside your .css and .js files<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]To check if your site has the <strong>mixed-content fixer<\/strong>, navigate to <strong>Settings &gt; SSL<\/strong> and click on the <strong>Configuration tab<\/strong>. Make sure that a <strong>mixed-content fixer is enabled\/detected<\/strong> on your front-end and then you\u2019re ready to move to the next step.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Configuration-tab.jpg\" class=\"attachment-full size-full\" alt=\"Configuration tab\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Configuration-tab.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Configuration-tab-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Configuration-tab-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Before the test, <strong>clear your browser cache and purge the cache with your caching plugin<\/strong>. Using other browsers and\/or an incognito window within the current browser will have the same effect.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Start by <strong>reviewing your site<\/strong>, one page at a time. <strong>If the icon next to the page URL is a (green) padlock<\/strong> for all the pages (as seen in the screenshot at the beginning of the article), proceed to the <a href=\"#additional-steps\"><em><strong>Additional steps<\/strong><\/em>\u00a0section<\/a> of this article.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]<strong>If the icon next to the page URL is the letter \u201ci\u201d<\/strong>, meaning <em>Info or Not secure<\/em>, you\u2019ll need further troubleshooting to fix the mixed-content errors.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Not-secure.jpg\" class=\"attachment-full size-full\" alt=\"Not Secure\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Not-secure.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Not-secure-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Not-secure-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]This type of error can also occur when you\u2019re manually adding HTTPS and SSL to your website, so we gathered all of the troubleshooting advice into a single <a href=\"#fix-wordpress-site-not-secure-mixed-content-error\"><em><strong>Testing and solving the mixed-content error<\/strong><\/em>\u00a0sub-section<\/a>.[\/vc_column_text][vc_empty_space height=&#8221;72px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h3 class=\"qodef-h5\">Manually moving to HTTPS<\/h3>\n<p>[\/vc_column_text][vc_column_text]Although the manual move is more challenging, it is also more effective. It optimizes the whole process so you can address all the changes your website needs. There isn\u2019t a significant technical difference between this and the plugin-based method, as both seek to create the same results. However, the manual method is more demanding because it requires small, focused changes to your website.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]This method also requires the use of plugins, but the combination of manual and automatic edits is what makes this method a more efficient way to switch your site from HTTP to HTTPS. So let\u2019s begin.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><strong>Updating the General Settings of your site<\/strong><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;28px&#8221;][vc_column_text]General settings that are important for this process are the Site and WordPress Addresses. Site Address is the URL visitors have to type to access your site\u2019s frontend. Your WordPress Address is the location of your WordPress folders and files. <strong>Since you want the location of your files to be secure and to enable the visitors to access your secure URL, changing both addresses is the first step<\/strong>.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Navigate to <strong>Settings &gt; General<\/strong> and update your <strong>WordPress and Site Address to HTTPS<\/strong>. Once you update them, don\u2019t forget to click on <em><strong>Save Changes<\/strong><\/em>\u00a0in the bottom left corner.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Update-your-WordPress-and-Site-Address-to-HTTPS-1.jpg\" class=\"attachment-full size-full\" alt=\"Update your WordPress and Site Address to HTTPS\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Update-your-WordPress-and-Site-Address-to-HTTPS-1.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Update-your-WordPress-and-Site-Address-to-HTTPS-1-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Update-your-WordPress-and-Site-Address-to-HTTPS-1-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]<strong>This action will change only two addresses. The URLs of your content (pages, posts, attachments&#8230;) will remain unchanged, so you need to take additional steps to update them<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Also, when you\u2019re switching your site to HTTPS, it is important that both the search engines and site users access the right page. <strong>You will enable this by adding <a href=\"#fix-http-to-https-redirect-error\">301 (<em>Moved Permanently<\/em>) redirection<\/a> to any insecure or no longer valid links<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><strong>Changing content links<\/strong><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;28px&#8221;][vc_column_text]The most important step in the HTTPS switching process is to <strong>update all the links inside your database<\/strong>. You can do this manually by executing MySQL queries or with the help of WordPress plugins.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]If you want to do it manually you will have to access your database. <strong>If you are using cPanel, navigate to Databases and click on phpMyAdmin<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/02\/phpMyAdmin.jpg\" class=\"attachment-full size-full\" alt=\"phpMyAdmin\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/02\/phpMyAdmin.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/02\/phpMyAdmin-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/02\/phpMyAdmin-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]<strong>If you aren\u2019t using cPanel<\/strong>, consult with your hosting provider for guidance.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]For the locally-hosted sites, we suggest using the XAMPP control panel, where you need to <strong>click on the Admin button next to MySQL<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"358\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/02\/Press-the-admin-button-for-MySQL.jpg\" class=\"attachment-full size-full\" alt=\"Press the admin button for MySQL\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/02\/Press-the-admin-button-for-MySQL.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/02\/Press-the-admin-button-for-MySQL-300x151.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/02\/Press-the-admin-button-for-MySQL-620x313.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]<strong>Navigate to the left side of your phpMyAdmin dashboard and select a database by clicking on it.<\/strong>[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Navigate-to-your-phpMyAdmin-dashboard-and-select-a-database.jpg\" class=\"attachment-full size-full\" alt=\"Navigate to your phpMyAdmin-dashboard and select a database\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Navigate-to-your-phpMyAdmin-dashboard-and-select-a-database.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Navigate-to-your-phpMyAdmin-dashboard-and-select-a-database-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Navigate-to-your-phpMyAdmin-dashboard-and-select-a-database-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;60px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Selected-database.jpg\" class=\"attachment-full size-full\" alt=\"Selected Database\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Selected-database.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Selected-database-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Selected-database-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Now, click on the <strong>SQL tab<\/strong> near the top of your browser window.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/SQL-tab.jpg\" class=\"attachment-full size-full\" alt=\"SQL tab\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/SQL-tab.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/SQL-tab-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/SQL-tab-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Before you proceed, make sure you <a href=\"https:\/\/qodeinteractive.com\/magazine\/how-to-backup-wordpress-database\/\">backup your database<\/a>, as any editing mistakes could be costly. Then, <strong>add the following code, while making sure to properly replace both URLs<\/strong> (without trailing slashes at the end). Click on the <strong>Go button<\/strong>, located in the lower right corner.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"php\">UPDATE wp_posts SET post_content = REPLACE (post_content, 'http:\/\/site-url.com', 'https:\/\/site-url.com');<\/pre>\n<p>[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Add-the-code.jpg\" class=\"attachment-full size-full\" alt=\"Add the code\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Add-the-code.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Add-the-code-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Add-the-code-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;60px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Go-button.jpg\" class=\"attachment-full size-full\" alt=\"Go button\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Go-button.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Go-button-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Go-button-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]When you get a green message near the top of your window stating <em>X row(s) affected<\/em>, you will know the change was successful.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Green-message.jpg\" class=\"attachment-full size-full\" alt=\"Green message\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Green-message.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Green-message-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Green-message-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]The purpose of the code\/query above is to change all instances of the <em>http:\/\/site-url.com<\/em> to <em>https:\/\/site-url.com<\/em> inside the content of all your posts. Similar codes can be created for changing the URLs found in custom fields for posts and users.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"php\">UPDATE wp_postmeta SET meta_value = replace(meta_value,'http:\/\/site-url.com','https:\/\/site-url.com');\r\nUPDATE wp_usermeta SET meta_value = replace(meta_value, 'http:\/\/site-url.com','https:\/\/site-url.com');<\/pre>\n<p>[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]The following code is optional and should be used cautiously.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"php\">UPDATE wp_posts SET guid = replace(guid, 'http:\/\/site-url.com', 'https:\/\/site-url.com');<\/pre>\n<p>[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Let\u2019s elaborate why.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]GUID is a column inside the wp_posts table and stands for <em>Globally Unique Identifier<\/em>. WordPress uses it when generating RSS feeds, as a constant that determines whether two posts are the same. For example, it will determine if one post was created from the other by changing the title, URL or parts of the content. This prevents your website from showing the same posts twice. If you change the GUIDs, all post duplicates will appear as new, separate posts and will be shown in your readers&#8217; feed.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Therefore, it is strongly recommended <strong>not<\/strong> to change the GUID column. There are exceptions to this rule, such as switching domains or site development.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]<strong>If you want to use plugins to change content links<\/strong>, keep in mind that these tools require slightly more tech-savviness compared to plugins like Really Simple SSL. These tools offer a more targeted edit.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]In this article, we decided to include two of these laser-focused plugins \u2013 <a href=\"https:\/\/wordpress.org\/plugins\/velvet-blues-update-urls\/\" target=\"_blank\" rel=\"noopener noreferrer\">Velvet Blues Update URLs<\/a> and <a href=\"https:\/\/wordpress.org\/plugins\/better-search-replace\/\" target=\"_blank\" rel=\"noopener noreferrer\">Better Search Replace<\/a>. You can use them separately or in combination.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]You can find the <strong>Velvet Blues Update URLs plugin<\/strong> by navigating to <strong>Plugins &gt; Add New<\/strong>. <strong>Enter a keyword<\/strong> and click on <em><strong>Install Now<\/strong><\/em>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Velvet-Blues-Update-URLs-Plugin.jpg\" class=\"attachment-full size-full\" alt=\"Velvet Blues Update URLs Plugin\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Velvet-Blues-Update-URLs-Plugin.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Velvet-Blues-Update-URLs-Plugin-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Velvet-Blues-Update-URLs-Plugin-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]<strong>Navigate to Tools &gt; Update URLs. In the Step 2 section, choose which URLs to update.<\/strong> [\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Update-URLs.jpg\" class=\"attachment-full size-full\" alt=\"Update URLs\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Update-URLs.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Update-URLs-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Update-URLs-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]You can add <strong>Better Search and Replace plugin<\/strong> the same way.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Better-Search-and-Replace-plugin.jpg\" class=\"attachment-full size-full\" alt=\"Better Search and Replace plugin\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Better-Search-and-Replace-plugin.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Better-Search-and-Replace-plugin-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Better-Search-and-Replace-plugin-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]When you install and activate the plugin, navigate to <strong>Tools &gt; Better Search Replace<\/strong> and click on the <strong>Search\/Replace tab<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]<strong>Insert the HTTP:\/\/ and HTTPS:\/\/ version of your URL (or just HTTP:\/\/ and HTTPS:\/\/) in the Search for and Replace with fields, respectively.<\/strong> You also get to choose which <strong>database columns<\/strong> the search\/replace query gets to run and get <strong>the option of a test run<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/The-option-of-a-test-run.jpg\" class=\"attachment-full size-full\" alt=\"The option of a test run\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/The-option-of-a-test-run.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/The-option-of-a-test-run-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/The-option-of-a-test-run-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;79px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\"><a id=\"additional-steps\"><\/a>Additional steps<\/h2>\n<p>[\/vc_column_text][vc_column_text]We\u2019re almost done, but there are still some things you shouldn\u2019t overlook if you want a safe and complete switch to HTTPS. These small updates will significantly improve your website\u2019s performance. If they seem too challenging, you could find a developer to help you out.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><strong>Update your property on Google Search Console<\/strong><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Google Search Console offers tools that can greatly improve your site\u2019s performance. Those tools can enhance your SEO ratings, help troubleshoot issues on mobile and produce crucial reports regarding the usage of your site (most viewed pages, keywords, countries of your site users, etc.).[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]<strong>To avoid lagging performance and incomplete reports, it is important to update your property after switching the site to HTTPS.<\/strong>[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]<strong>Navigate to the <a href=\"https:\/\/search.google.com\/search-console\/welcome\" target=\"_blank\" rel=\"noopener noreferrer\">Google Search Console<\/a>, choose a property type and insert your site\u2019s URL.<\/strong>[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Google-Search-Console-property.jpg\" class=\"attachment-full size-full\" alt=\"Google Search Console property\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Google-Search-Console-property.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Google-Search-Console-property-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Google-Search-Console-property-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]You have to <strong>verify the ownership of the site\/property<\/strong>. There are two property types: Domain and URL prefix. Domain type handles all of subdomains and HTTP and HTTPS site versions. However, it has only one verification method \u2013 DNS verification. [\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]The URL prefix property type allows multiple verification methods that are easier to perform. However, it handles HTTP and HTTPS property separately.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Choose the property type best suited to your needs and level of knowledge.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Choose-the-property-type.jpg\" class=\"attachment-full size-full\" alt=\"Choose the property type\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Choose-the-property-type.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Choose-the-property-type-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Choose-the-property-type-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><strong>Update your sitemap<\/strong><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;28px&#8221;][vc_column_text]A sitemap offers a more structured way for search engines to interpret your site. It is an XML file designed for search engine bots, rather than humans. That file lists the pages your site contains and recent changes to these pages. Using a sitemap, search engines and crawlers can easily crawl and index your site.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Therefore, <strong>if your site was changed to HTTPS, it is important to update your sitemap file and notify the Google Search Console about it<\/strong>. Some SEO plugins might update the file automatically, while others require creating the site map file once more.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]After you create the new sitemap file, log in to <strong>Google Search Console<\/strong>. Click on <strong>Sitemaps<\/strong> and paste the URL of the new XML file to the <em><strong>Add a new sitemap<\/strong><\/em>\u00a0<strong>bar<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Creating-the-site-map-file.jpg\" class=\"attachment-full size-full\" alt=\"Creating the site map file\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Creating-the-site-map-file.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Creating-the-site-map-file-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Creating-the-site-map-file-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><strong>Update site URL on Google Analytics<\/strong><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Google Analytics is the most popular web analytics service. It gathers and analyzes user activity data (e.g. bounce rate, number of sessions and its duration), website speed-related info (e.g. average page load time and average server response time), eCommerce-related data (e.g. number of transactions and revenue) and much more. If you want to keep receiving this data, <strong>it is important to update the site URL on Google Analytics after the SSL change<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]To update the site URL, click on the <strong>Admin section<\/strong> and select <strong>Property Settings<\/strong>. Find the <strong>Default URL setting<\/strong>, click on the part of the URL noting the protocol and select <strong>https:\/\/<\/strong> from the dropdown.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Update-the-site-URL.jpg\" class=\"attachment-full size-full\" alt=\"Update the site URL\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Update-the-site-URL.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Update-the-site-URL-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Update-the-site-URL-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><strong>Update the URL in your CDN<\/strong><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;28px&#8221;][vc_column_text]CDN stands for content delivery network and it is an important factor for your website\u2019s speed, especially for sites with high traffic rates. CDN, however, should not be confused with your hosting, as CDN should only be used for serving static site resources: CSS and JS stylesheets and images.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Thus, <strong>updating URL(s) in your CDN is also mandatory after switching to HTTPS protocol<\/strong>. As the process depends on the particular CDN, we suggest that you <strong>refer to your CDN provider<\/strong> for further instructions.[\/vc_column_text][vc_empty_space height=&#8221;68px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\">Solving common WordPress SSL errors<\/h2>\n<p>[\/vc_column_text][vc_column_text]Even though the process of switching to HTTPS is quite straightforward, some <a href=\"https:\/\/www.fixrunner.com\/fix-err-ssl-version-or-cipher-mismatch\/\" target=\"_blank\" rel=\"noopener\">SSL errors<\/a> might occur. Luckily, in most cases, those errors aren\u2019t difficult to solve. We put together a list of the more common issues that can arise, as well as a detailed set of instructions on how to solve them. As always, making <a href=\"https:\/\/qodeinteractive.com\/magazine\/how-to-backup-wordpress-database\/\">a backup of your website<\/a> beforehand is a good idea, and we advise you to do that before proceeding.[\/vc_column_text][vc_empty_space height=&#8221;72px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h3 class=\"qodef-h5\"><a id=\"fix-wordpress-site-not-secure-mixed-content-error\"><\/a>How to Fix the WordPress Site Not Secure\/Mixed Content Error[\/vc_column_text][vc_column_text]In this section, we will show you what to do if the icon next to your page URLs keeps displaying the letter \u201ci\u201d, which means <em>Info or Not Secure<\/em>. One of the most common SSL issues is when a WordPress site is showing as <strong>not secure<\/strong> despite having a valid SSL certificate. It means your website is experiencing so-called mixed content errors.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]<strong>Mixed content errors<\/strong> happen when there are resources that are still loading over HTTP instead of HTTPS. You can have an SSL certificate enabled on your website but some resources like images and CSS and JS stylesheets can still be requested with their old URL with HTTP. Since these page assets are loaded over the HTTP protocol, they are impeding the website from being fully secure despite having a valid certificate. Because of this mixed content, users might get warnings that their connection is not fully secure.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"374\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Not-Secure.jpg\" class=\"attachment-full size-full\" alt=\"Not Secure\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Not-Secure.jpg 700w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Not-Secure-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Not-Secure-620x331.jpg 620w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Solving the mixed content errors manually can seem challenging, but the process can be broken down into three stages, which we will fully cover below. Make sure to <strong>clear the browser cache after each of the steps taken<\/strong>, to ensure you are seeing the latest version of your website. <strong>The same goes for the plugin cache<\/strong> if you are using a caching plugin.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]The first step is to <a href=\"https:\/\/qodeinteractive.com\/magazine\/how-to-change-wordpress-url\/\">change the two WordPress URLs<\/a>, meaning your WordPress address and your Site address. Simply put, the WordPress address is the location of your WordPress files and folders, while the Site address is the address a visitor has to type to see your website. In most cases, these two addresses will be the same.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]To change the addresses from HTTP to HTTPS, log in to your admin dashboard and <strong>navigate to Settings &gt; General<\/strong>. Then, change your WordPress and Site Address from HTTP to HTTPS protocol.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"374\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Site-Address-Change.jpg\" class=\"attachment-full size-full\" alt=\"Site Address Change\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Site-Address-Change.jpg 700w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Site-Address-Change-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Site-Address-Change-620x331.jpg 620w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]The next step requires you to change all the content links from HTTP to HTTPS. This can be done by writing queries and running them directly inside your database using PhpMyAdmin, but this requires extensive coding knowledge. So, we will show you a less demanding approach\u2014using a database-altering plugin. An example of a database-altering plugin is the <a href=\"https:\/\/wordpress.org\/plugins\/better-search-replace\/\" target=\"_blank\" rel=\"noopener noreferrer\">Better Search Replace plugin<\/a> we mentioned earlier in the article.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]After installing this plugin, <strong>navigate to Tools &gt; Better Search Replace<\/strong>. From the Search\/Replace tab, in the field named <em>Search for<\/em>, <strong>insert the HTTP version of your website URL<\/strong>. Then, in the field named <em>Replace with<\/em>, <strong>add the HTTPS version of your website URL<\/strong>. Make sure to insert your valid website URLs. Then, <strong>select all tables and press the <em>Run Search\/Replace<\/em> button<\/strong> while making sure that <strong>the option <em>Run as dry run?<\/em> is checked<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"450\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Better-Search-Replace.jpg\" class=\"attachment-full size-full\" alt=\"Better Search Replace\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Better-Search-Replace.jpg 700w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Better-Search-Replace-300x193.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Better-Search-Replace-620x399.jpg 620w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]If you perform a dry run, you will be able to see how many entries will be affected.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"374\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Better-Search-Rreplace-Dry-Run.jpg\" class=\"attachment-full size-full\" alt=\"Better Search Rreplace Dry Run\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Better-Search-Rreplace-Dry-Run.jpg 700w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Better-Search-Rreplace-Dry-Run-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Better-Search-Rreplace-Dry-Run-620x331.jpg 620w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Afterward, <strong>you should repeat the process to change the content links from HTTP to HTTPS<\/strong>. Don\u2019t forget to <strong>uncheck the <em>Run as dry run?<\/em> option<\/strong> this time so the changes are made. Then, <strong>re-check your website<\/strong>. If your site is listed as Secure that means the error is fixed.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]However, if the status next to your website URL still shows the message <em>Not secure<\/em>, it is most likely that there are still leftover HTTP links within the files of your theme or plugins, making the site insecure.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]You can find the list of leftover insecure links <strong>by inspecting the site within your browser\u2019s developer console or by examining it on the <a href=\"https:\/\/www.whynopadlock.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Why no padlock<\/a> website<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]For the first option, <strong>view any page, right-click inside its content, and click on Inspect<\/strong>. You can also run this test by <strong>pressing F12<\/strong> on your keyboard while you\u2019re on the page.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Inspect.jpg\" class=\"attachment-full size-full\" alt=\"Inspect\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Inspect.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Inspect-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Inspect-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Then, click on the <strong>Console tab<\/strong>. This tab shows the errors present on your website. Look specifically for the ones that contain the words <em><strong>Mixed Content<\/strong><\/em>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Error-log-image.jpg\" class=\"attachment-full size-full\" alt=\"Error log image\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Error-log-image.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Error-log-image-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Error-log-image-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]<strong>Alternatively, you can paste your page URL to Why no Padlock<\/strong>, confirm you aren\u2019t a robot, click on <em><strong>Test Page<\/strong><\/em> and wait a couple of moments for the error report.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Why-no-Padlock.jpg\" class=\"attachment-full size-full\" alt=\"Why no Padlock\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Why-no-Padlock.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Why-no-Padlock-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Why-no-Padlock-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]When you create the list of unsecured links, you can update them. These HTTP links could be located almost anywhere, including your posts, theme files, and the plugins you are using. For the most part, these errors should already be solved with the use of plugins. However, hard-coded links coming from HTTP sites may be trickier to change.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]<strong>To solve this issue, you need to locate these links first. While browser-inspecting your page, click on the three vertical dots in the bottom-left corner of the screen.<\/strong>[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Console.jpg\" class=\"attachment-full size-full\" alt=\"Console\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Console.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Console-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Console-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Click to open the <strong><em>Search<\/em> tab<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Open-the-Search-tab.jpg\" class=\"attachment-full size-full\" alt=\"Open the Search tab\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Open-the-Search-tab.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Open-the-Search-tab-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Open-the-Search-tab-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]To see the content of the <em>Search<\/em> tab, drag it upwards.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Drag-it.jpg\" class=\"attachment-full size-full\" alt=\"Drag it\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Drag-it.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Drag-it-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Drag-it-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]<strong>Insert the insecure link in the search bar, press Enter on your keyboard and click on the result(s) to review the code.<\/strong>[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Search-for-image.jpg\" class=\"attachment-full size-full\" alt=\"Search for image\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Search-for-image.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Search-for-image-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Search-for-image-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]<strong>Edit the hardcoded link using a text editor.<\/strong>[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]In case this link is part of the theme or plugins, consult with its authors for additional assistance. Ask your theme authors first by carefully explaining the issue and sending the report you got on Why No Padlock.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]If the mixed content issue still appears after the help from your theme authors, it means that the issue is likely due to a plugin you installed. To pinpoint the faulty one, you will need to deactivate all your plugins, one by one, while checking your site. <strong>After deactivating a plugin, clear the cache and review your website URL status<\/strong>. If it changes from <em>Site not secure<\/em> to <em>Secure<\/em>, it means that the plugin you just deactivated is the culprit. When you\u2019ve determined which specific plugin caused the issue, consult its authors for help. Explain all the troubleshooting steps you tried up to that point and provide them with the mixed content report for reference as well.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]<strong>Insecure links within theme options or widgets must be removed<\/strong>. If you have insecure links within theme options, check the theme documentation for specific instructions. When removing insecure links from the widgets (<strong>Appearance &gt; Widgets<\/strong>), pay special attention to text widgets, which may contain insecure links added using HTML code.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Insecure-links.jpg\" class=\"attachment-full size-full\" alt=\"Insecure links\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Insecure-links.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Insecure-links-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Insecure-links-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]<strong>Update the insecure links one at a time, always making sure to clear\/flush your cache and review the pages afterward<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]<strong>Additionally, we will include instructions on how to solve the same errors using Elementor<\/strong>. This page builder makes this process much easier.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Start by <strong>updating your site address URL<\/strong> via the Elementor options. Navigate to <strong>Elementor &gt; Tools<\/strong> and click on the<strong> Replace URL tab<\/strong>. Insert your old (with http:\/\/) and new site address (with https:\/\/) and click on the <strong><em>Replace URL<\/em> button<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Updating-your-site-address-URL.jpg\" class=\"attachment-full size-full\" alt=\"Updating your site address URL\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Updating-your-site-address-URL.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Updating-your-site-address-URL-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Updating-your-site-address-URL-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]<strong>Continue by recreating your CSS files<\/strong>. Navigate to <strong>Elementor &gt; Tools<\/strong> and click on the <strong>General tab<\/strong>. As the final step, click on the <strong><em>Regenerate Files<\/em> button<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"378\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Regenerate-Files.jpg\" class=\"attachment-full size-full\" alt=\"Regenerate Files\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Regenerate-Files.jpg 710w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Regenerate-Files-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/Regenerate-Files-620x330.jpg 620w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;82px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/h3>\n<h3 class=\"qodef-h5\"><a id=\"fix-net-err-cert-invalid-error\"><\/a>How to Fix the NET::ERR_CERT_INVALID Error<\/h3>\n<p>[\/vc_column_text][vc_column_text]Another error you might encounter is the NET::ERR_CERT_INVALID error. Its name relates to the message shown in Google Chrome when it occurs. Depending on the browser, the content of the error messages can vary. But they warn about the same issue for the most part\u2014that the connection isn\u2019t private and users can be a target of attackers.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"374\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/ERR_CERT_INVALID.jpg\" class=\"attachment-full size-full\" alt=\"ERR_CERT_INVALID\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/ERR_CERT_INVALID.jpg 700w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/ERR_CERT_INVALID-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/03\/ERR_CERT_INVALID-620x331.jpg 620w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]The error message is displayed when the browser doesn\u2019t accept a website\u2019s SSL certificate. There could be quite a few reasons for it, but the most likely are the following:<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\">The SSL certificate has expired<\/span>        <\/div>\n            <\/li>\n<\/ul><ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\">The SSL certificate is issued for a different domain or subdomain<\/span>        <\/div>\n            <\/li>\n<\/ul><ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\">The authority that issued the certificate isn\u2019t recognized as trustworthy by the browser<\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;28px&#8221;][vc_column_text]To solve the error, <strong>you will need to contact your SSL certificate provider. If the certificate is included in your hosting package and installed by your hosting provider, we highly advise that you contact them<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]However, before contacting professional support, you can also test for some of the less obvious reasons. This might sort the issue out or it could help you gather comprehensive information to help your hosting provider. These tests include changing the type of your internet connection, updating your Chrome browser and PC, resetting your Chrome settings, and updating the date and time of your PC.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]We will cover all the tests mentioned above in greater detail. Please note that <strong>for the changes to take effect, you need to restart your device after running each test<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]If you are using a public WiFi network, <strong>disconnect from it and try using a more stable and secure connection<\/strong> such as a private LAN connection, for example.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Having an outdated browser version could also be one of the reasons for the error. Additionally, frequently updating your Windows OS will ensure that you don\u2019t have issues with Google Chrome, in terms of performance or otherwise.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]To update the Chrome browser, navigate to chrome:\/\/settings\/help in a new tab. Chrome will check your current version and whether a newer version is available. If a newer version exists, it will perform the update process automatically. When it finishes updating, you will be notified to relaunch the browser by <strong>pressing the <em>Relaunch<\/em> button<\/strong>, which will finish the update process.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"374\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Updating-Browser.jpg\" class=\"attachment-full size-full\" alt=\"Updating Browser\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Updating-Browser.jpg 700w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Updating-Browser-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Updating-Browser-620x331.jpg 620w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Additionally, restoring Chrome settings to their default state might prove useful in solving this error. To do so, <strong>click on the three dots<\/strong> in the top right corner of your screen and then <strong>click on the <em>Settings<\/em> option<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"374\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Reset-Chrome.jpg\" class=\"attachment-full size-full\" alt=\"Reset Chrome\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Reset-Chrome.jpg 700w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Reset-Chrome-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Reset-Chrome-620x331.jpg 620w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]<strong>Scroll to the bottom<\/strong> of the window that opens and <strong>press the<em> Advanced<\/em> button<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"374\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Reset-Chrome-Advanced-Button.jpg\" class=\"attachment-full size-full\" alt=\"Reset Chrome Advanced Button\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Reset-Chrome-Advanced-Button.jpg 700w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Reset-Chrome-Advanced-Button-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Reset-Chrome-Advanced-Button-620x331.jpg 620w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Scroll once more to the bottom until you reach the <strong>section called <em>Reset and clean up<\/em><\/strong>. Within it, <strong>find and click on the <em>Restore settings to their original defaults<\/em> option<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"374\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Reset-Chrome-and-Clean-Up.jpg\" class=\"attachment-full size-full\" alt=\"Reset Chrome and Clean Up\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Reset-Chrome-and-Clean-Up.jpg 700w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Reset-Chrome-and-Clean-Up-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Reset-Chrome-and-Clean-Up-620x331.jpg 620w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Then confirm your choice by <strong>pressing the <em>Reset settings<\/em> button<\/strong> in the popup that opens.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"374\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Reset-Settings-Chrome.jpg\" class=\"attachment-full size-full\" alt=\"Reset Settings Chrome\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Reset-Settings-Chrome.jpg 700w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Reset-Settings-Chrome-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Reset-Settings-Chrome-620x331.jpg 620w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]You can also update your Windows OS. To do this, <strong>click on the Start button and search for the term <em>update<\/em><\/strong> by typing it in. In the matching results, find and click on <em><strong>Check for updates<\/strong><\/em>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"374\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Update-Your-Windows.jpg\" class=\"attachment-full size-full\" alt=\"Update Your Windows\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Update-Your-Windows.jpg 700w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Update-Your-Windows-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Update-Your-Windows-620x331.jpg 620w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]A new window will open, called Windows Update. From there, <strong>click on the <em>Check for updates<\/em> button<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"374\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Update-Your-Windows-Button.jpg\" class=\"attachment-full size-full\" alt=\"Update Your Windows Button\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Update-Your-Windows-Button.jpg 700w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Update-Your-Windows-Button-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Update-Your-Windows-Button-620x331.jpg 620w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]If any new updates are available, your PC will download and install them. However, this process can take some time, so we advise you to have patience and run the update during your off-hours.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Another potential cause of SSL issues is having the incorrect date and time set on your computer. This can \u201ctrick\u201d your browser into believing that your SSL certificate has expired. Therefore, to avoid problems, you should set the correct date and time on your PC. You can do this by <strong>right-clicking on the date and time settings<\/strong> in the bottom right corner of your screen. <strong>Then choose the <em>Adjust date\/time<\/em> option<\/strong> from the menu that opens.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"374\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Adjusting-TheTime.jpg\" class=\"attachment-full size-full\" alt=\"Adjusting The Time\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Adjusting-TheTime.jpg 700w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Adjusting-TheTime-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Adjusting-TheTime-620x331.jpg 620w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]In the following window, locate <strong>the option named <em>Set time automatically<\/em> and switch it to <em>On<\/em><\/strong>. Then, <strong>close the window<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"374\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Adjusting-The-Time-On-Button.jpg\" class=\"attachment-full size-full\" alt=\"Adjusting The Time On Button\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Adjusting-The-Time-On-Button.jpg 700w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Adjusting-The-Time-On-Button-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Adjusting-The-Time-On-Button-620x331.jpg 620w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]<strong>Keep in mind you should check if the issue persists after each of the suggested tests. If it still appears, contact your hosting or SSL certificate provider about renewing or reinstalling your SSL certificate.<\/strong>[\/vc_column_text][vc_empty_space height=&#8221;72px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h3 class=\"qodef-h5\"><a id=\"fix-http-to-https-redirect-error\"><\/a>How to Fix the HTTP to HTTPS Redirect Error<\/h3>\n<p>[\/vc_column_text][vc_column_text]Status codes, like the <a href=\"https:\/\/qodeinteractive.com\/magazine\/http-500-internal-server-error-in-wordpress\/\">500 Internal Server Error<\/a> or the <a href=\"https:\/\/qodeinteractive.com\/magazine\/how-to-fix-403-forbidden-error-in-wordpress\/\">403 Forbidden Error<\/a>, indicate if an HTTP request was completed or not. These status codes are 3-digit numbers, divided into five categories based on the number they start with. The ones beginning with a 3 relate to redirection. Specifically, <a href=\"https:\/\/qodeinteractive.com\/magazine\/how-to-create-301-redirects-in-wordpress\/\">the 301 status code<\/a> means that the page you are looking for was <strong>moved permanently<\/strong> to a different location.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]You should add 301 redirects to your site when changing domains or moving to HTTPS. However, WordPress doesn\u2019t automatically redirect HTTP requests to HTTPS after enabling SSL. Such behavior has to be forced by using a plugin or inserting code. The Really Simple SSL plugin can enable 301 redirects, but you can also do it by editing the .htaccess file using FTP.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]To edit the .htaccess file, <a href=\"https:\/\/qodeinteractive.com\/magazine\/how-to-use-ftp\/\">connect to your server using your FTP<\/a> credentials and <strong>navigate to your root WordPress directory<\/strong>, often called public_html. <strong>Look for the file named .htaccess<\/strong> within it. Make sure to <a href=\"https:\/\/qodeinteractive.com\/magazine\/find-htaccess-file-on-wordpress-site\/\">enable the options for viewing hidden files<\/a> within your FTP client, to be able to find the file. Once you <strong>locate it, right-click on it<\/strong>, and <strong>select the View\/Edit option<\/strong> in the dropdown.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"374\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Editing-Htaccess.jpg\" class=\"attachment-full size-full\" alt=\"Editing Htaccess\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Editing-Htaccess.jpg 700w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Editing-Htaccess-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Editing-Htaccess-620x331.jpg 620w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]<strong>Open the file<\/strong> using a text editor and, right after the #END WordPress line, <strong>add the code<\/strong> shown below.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">&lt;IfModule mod_rewrite.c&gt;\r\nRewriteEngine On\r\nRewriteCond %{HTTPS} off\r\nRewriteRule ^(.*)$ https:\/\/%{HTTP_HOST}%{REQUEST_URI} [L,R=301]\r\n&lt;\/IfModule&gt;<\/pre>\n<p>[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"374\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Editing-Htaccess-Code.jpg\" class=\"attachment-full size-full\" alt=\"Editing Htaccess Code\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Editing-Htaccess-Code.jpg 700w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Editing-Htaccess-Code-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/Editing-Htaccess-Code-620x331.jpg 620w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]<strong>If your hosting provider uses Nginx web servers, add this code in your nginx.conf file instead.<\/strong>[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">server {\r\nlisten 80;\r\nserver_name example.com www.example.com;\r\nreturn 301 https:\/\/example.com$request_uri;\r\n}<\/pre>\n<p>[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]<strong>Important note:<\/strong> replace all the instances of <em>example.com<\/em> in the code with your actual site URL.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]<strong>Save the changes<\/strong> made to the file and <strong>upload it back to the server<\/strong> to overwrite the current .htaccess file.[\/vc_column_text][vc_empty_space height=&#8221;72px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h3 class=\"qodef-h5\"><a id=\"fix-too-many-redirects-error\"><\/a>How to Fix the Too Many Redirects Error<\/h3>\n<p>[\/vc_column_text][vc_column_text]Even if you have an SSL certificate, it won\u2019t automatically be active in your WordPress admin dashboard. To force the security protocol onto the admin area, you need to make a small <a href=\"https:\/\/qodeinteractive.com\/magazine\/how-to-edit-wp-config-file\/\">edit inside your wp-config.php file<\/a> via FTP.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]<strong>Connect to your server<\/strong> using your FTP credentials and <strong>navigate to your root WordPress directory<\/strong>, usually called public_html. <strong>Locate and right-click on the wp-config.php file<\/strong>. Then, <strong>choose the <em>View\/Edit<\/em> option<\/strong> in the dropdown menu.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"374\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/WP-Config-Edit.jpg\" class=\"attachment-full size-full\" alt=\"WP Config Edit\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/WP-Config-Edit.jpg 700w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/WP-Config-Edit-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/WP-Config-Edit-620x331.jpg 620w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]<strong>Open the file<\/strong> using any text editor and <strong>scroll down<\/strong> to the space directly above the \/* That\u2019s all, stop editing! Happy blogging. *\/ line, then <strong>insert the code<\/strong> given below in that space.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">define('FORCE_SSL_ADMIN', true);<\/pre>\n<p>[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"374\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/WP-Config-Code.jpg\" class=\"attachment-full size-full\" alt=\"WP Config Code\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/WP-Config-Code.jpg 700w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/WP-Config-Code-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/WP-Config-Code-620x331.jpg 620w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]In some cases, simply by inserting that line of code into your wp-config.php file, <strong>you might get a <em>Too Many Redirects<\/em> error<\/strong>. In other words, it means that your website is put in an infinite redirection loop.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]To solve it, you need to add the following line directly below the one you just added:<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false)\r\n$_SERVER['HTTPS']='on';<\/pre>\n<p>[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"374\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/WP-Config-Code-2.jpg\" class=\"attachment-full size-full\" alt=\"WP Config Code 2\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/WP-Config-Code-2.jpg 700w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/WP-Config-Code-2-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/08\/WP-Config-Code-2-620x331.jpg 620w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]After adding both pieces of code, <strong>save the changes made<\/strong> to the file and <strong>upload it back to the server<\/strong>, thus overriding the wp-config.php file found on the server.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]This solution will work for all websites powered by an Apache server. To solve the same error on NGINX servers, you will need to add the following code to your <strong>nginx.conf file<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">server {\r\nlisten 80;\r\nserver_name _;\r\nif ($http_x_forwarded_proto = 'http'){\r\nreturn 301 https:\/\/$host$request_uri;\r\n}\r\n}<\/pre>\n<p>[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]If you are not sure what server configuration your hosting provider is using, you can reach out to them and ask before attempting this step. And if the error persists after this, you should attempt one of the <a href=\"https:\/\/qodeinteractive.com\/magazine\/err-too-many-redirects\/\">troubleshooting steps for the Too Many Redirects error<\/a>.[\/vc_column_text][vc_empty_space height=&#8221;68px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\">Final thoughts<\/h2>\n<p>[\/vc_column_text][vc_column_text]If you followed these steps, your website should be up and running with its new HTTPS protocol. If any issues arise later on, this guide should help you solve them quickly and efficiently. Don\u2019t forget to run regular checks and pay attention to your website\u2019s security, as cyber safety is no longer just a matter of preventing attacks &#8211; it is also an important factor in your site\u2019s ranking and credibility.[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>This comprehensive guide was created to help both beginners and experienced site admins with adding HTTPS and SSL to WordPress websites.<\/p>\n","protected":false},"author":11229,"featured_media":5134,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[34,4,13],"class_list":["post-5131","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-security","tag-tips","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/posts\/5131","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/users\/11229"}],"replies":[{"embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/comments?post=5131"}],"version-history":[{"count":0,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/posts\/5131\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/media\/5134"}],"wp:attachment":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/media?parent=5131"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/categories?post=5131"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/tags?post=5131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}