{"id":493,"date":"2017-10-29T18:54:51","date_gmt":"2017-10-29T18:54:51","guid":{"rendered":"http:\/\/orissawebhosting.in\/blog\/?p=493"},"modified":"2019-07-01T15:36:18","modified_gmt":"2019-07-01T15:36:18","slug":"your-connection-is-not-secure-in-wordpress-admin-page","status":"publish","type":"post","link":"https:\/\/orissawebhosting.in\/blog\/your-connection-is-not-secure-in-wordpress-admin-page\/","title":{"rendered":"Your connection is not secure in wordpress admin page"},"content":{"rendered":"<p><strong>How to Fix SSL Error When You Can\u2019t Login to WordPress<\/strong><\/p>\n<p>One of the strange issue that many users face is that when trying to login to WordPress, an SSL error is occurred.<\/p>\n<p>So let\u2019s take a look at all these SSL related problems in WordPress, along with their solutions.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-494 size-large\" src=\"http:\/\/orissawebhosting.in\/blog\/wp-content\/uploads\/2017\/10\/secure1-1024x547.png\" alt=\"\" width=\"640\" height=\"342\" srcset=\"https:\/\/orissawebhosting.in\/blog\/wp-content\/uploads\/2017\/10\/secure1-1024x547.png 1024w, https:\/\/orissawebhosting.in\/blog\/wp-content\/uploads\/2017\/10\/secure1-300x160.png 300w, https:\/\/orissawebhosting.in\/blog\/wp-content\/uploads\/2017\/10\/secure1-768x410.png 768w, https:\/\/orissawebhosting.in\/blog\/wp-content\/uploads\/2017\/10\/secure1.png 1362w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><strong>Step 1 &#8211; SSL Certificate<\/strong><\/p>\n<p>Have you recently activated SSL certificate on your site and are unable to login to WordPress? In such a case, ensure that you\u2019ve correctly configured SSL certificate and settings related to it. Improperly configured SSL certificate may cause login issues.<\/p>\n<p><strong>Step 2 &#8211;\u00a0Edit your wp-config.php file<\/strong><\/p>\n<p>Some users make changes in: Settings &gt; General, and update WordPress Address (URL) and Site Address (URL) from there. By mistake, you might have added HTTPS to the URL. For example; https:\/\/domainname.com instead of http:\/\/domainname.com<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-496 size-full\" src=\"http:\/\/orissawebhosting.in\/blog\/wp-content\/uploads\/2017\/10\/sec2.png\" alt=\"\" width=\"958\" height=\"345\" srcset=\"https:\/\/orissawebhosting.in\/blog\/wp-content\/uploads\/2017\/10\/sec2.png 958w, https:\/\/orissawebhosting.in\/blog\/wp-content\/uploads\/2017\/10\/sec2-300x108.png 300w, https:\/\/orissawebhosting.in\/blog\/wp-content\/uploads\/2017\/10\/sec2-768x277.png 768w\" sizes=\"(max-width: 958px) 100vw, 958px\" \/><\/p>\n<p>If you\u2019ve made these changes, then you won\u2019t be able to login to WordPress.<br \/>\nThat\u2019s why, you\u2019ll now need to use use your cPanel\u2019s File Manager and edit your wp-config.php manually. Add these lines to your wp-config.php<\/p>\n<pre>define(\u2018WP_HOME\u2019,\u2019http:\/\/domainname.com\u2019); \ndefine(\u2018WP_SITEURL\u2019,\u2019http:\/\/domainname.com\u2019);<\/pre>\n<p>Add these lines just before:<\/p>\n<pre>\/* That\u2019s all, stop editing! Happy blogging. *\/\n<\/pre>\n<p>Also replace domainname.com with your own domain name.<\/p>\n<p><strong>Step 3 &#8211;\u00a0Check your .htaccess file<\/strong><\/p>\n<p>In your site\u2019s root directory, such as domain.com\/public_html, you\u2019ll find a file named as .htaccess.In some cases, it might be hidden and you\u2019ll need to checkmark \u201cview hidden files\u201d in the cPanel\u2019s File Manager.<\/p>\n<p>Ensure that your .htaccess looks like below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-505 size-full\" src=\"http:\/\/orissawebhosting.in\/blog\/wp-content\/uploads\/2017\/10\/sec3.png\" alt=\"\" width=\"304\" height=\"171\" srcset=\"https:\/\/orissawebhosting.in\/blog\/wp-content\/uploads\/2017\/10\/sec3.png 304w, https:\/\/orissawebhosting.in\/blog\/wp-content\/uploads\/2017\/10\/sec3-300x169.png 300w\" sizes=\"(max-width: 304px) 100vw, 304px\" \/><\/p>\n<p>If it doesn\u2019t looks like this, then edit it and make the required changes.<\/p>\n<p><strong>Step 4 &#8211; Edit your WP_Options table<\/strong><\/p>\n<p>From your cPanel, login to your phpMyAdmin, go to your WP_Options table where you will find your site URL and home URL starting with HTTPS. You just need to edit it back to HTTP (by removing the \u201cS\u201d).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-506 size-large\" src=\"http:\/\/orissawebhosting.in\/blog\/wp-content\/uploads\/2017\/10\/sec5-1024x422.png\" alt=\"\" width=\"640\" height=\"264\" srcset=\"https:\/\/orissawebhosting.in\/blog\/wp-content\/uploads\/2017\/10\/sec5-1024x422.png 1024w, https:\/\/orissawebhosting.in\/blog\/wp-content\/uploads\/2017\/10\/sec5-300x124.png 300w, https:\/\/orissawebhosting.in\/blog\/wp-content\/uploads\/2017\/10\/sec5-768x316.png 768w, https:\/\/orissawebhosting.in\/blog\/wp-content\/uploads\/2017\/10\/sec5.png 1347w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>There kindly change the site URL from https:\/\/yoursite.com to http:\/\/yoursite.com to resolve it.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-508 size-large\" src=\"http:\/\/orissawebhosting.in\/blog\/wp-content\/uploads\/2017\/10\/sec6-1024x576.png\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/orissawebhosting.in\/blog\/wp-content\/uploads\/2017\/10\/sec6-1024x576.png 1024w, https:\/\/orissawebhosting.in\/blog\/wp-content\/uploads\/2017\/10\/sec6-300x169.png 300w, https:\/\/orissawebhosting.in\/blog\/wp-content\/uploads\/2017\/10\/sec6-768x432.png 768w, https:\/\/orissawebhosting.in\/blog\/wp-content\/uploads\/2017\/10\/sec6.png 1109w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>So go ahead and follow these methods when you\u2019re getting SSL error on login page of WordPress. Hopefully these tips should be able to help you solve your problem.<\/p>\n<p>Note: To help you fix your everyday WordPress problems and errors, we\u2019ve also started a new <a href=\"http:\/\/orissawebhosting.in\/blog\/\">WordPress troubleshooting<\/a> section.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to Fix SSL Error When You Can\u2019t Login to WordPress One of the strange issue that many users face is that when trying to login to WordPress, an SSL error is occurred. So let\u2019s take a look at all these SSL related problems in WordPress, along with their solutions. Step 1 &#8211; SSL Certificate Have you recently activated SSL certificate on your site and are unable to login to WordPress? In such a case, ensure that you\u2019ve correctly configured SSL certificate and settings related to it. Improperly configured SSL&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/orissawebhosting.in\/blog\/wp-json\/wp\/v2\/posts\/493"}],"collection":[{"href":"https:\/\/orissawebhosting.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/orissawebhosting.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/orissawebhosting.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/orissawebhosting.in\/blog\/wp-json\/wp\/v2\/comments?post=493"}],"version-history":[{"count":11,"href":"https:\/\/orissawebhosting.in\/blog\/wp-json\/wp\/v2\/posts\/493\/revisions"}],"predecessor-version":[{"id":1095,"href":"https:\/\/orissawebhosting.in\/blog\/wp-json\/wp\/v2\/posts\/493\/revisions\/1095"}],"wp:attachment":[{"href":"https:\/\/orissawebhosting.in\/blog\/wp-json\/wp\/v2\/media?parent=493"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/orissawebhosting.in\/blog\/wp-json\/wp\/v2\/categories?post=493"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/orissawebhosting.in\/blog\/wp-json\/wp\/v2\/tags?post=493"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}