{"id":104,"date":"2018-11-16T21:39:44","date_gmt":"2018-11-16T21:39:44","guid":{"rendered":"https:\/\/mumbaiwebhosting.co.in\/portal\/?p=104"},"modified":"2019-03-09T02:42:03","modified_gmt":"2019-03-09T02:42:03","slug":"setup-ssl-https-in-wordpress-manually","status":"publish","type":"post","link":"https:\/\/mumbaiwebhosting.co.in\/portal\/setup-ssl-https-in-wordpress-manually\/","title":{"rendered":"Setup SSL\/HTTPS in WordPress Manually"},"content":{"rendered":"\r\n<p>This method requires you to troubleshoot issues manually and edit WordPress files. However this is a permanent and more performance optimized solution. This is what we\u2019re using on WPBeginner.<\/p>\r\n\r\n\r\n\r\n<p>If you find this method difficult, then you can hire a WordPress developer or use the first method instead.<\/p>\r\n\r\n\r\n\r\n<p>As part of this method, you may need to edit WordPress theme and code files. If you haven\u2019t done this before, then see our guide on\u00a0how to copy and paste code snippets in WordPress.<\/p>\r\n\r\n\r\n\r\n<p>First, you need to visit\u00a0<strong>Settings \u00bb General<\/strong>\u00a0page. From here you need to update your WordPress and site URL address fields by replacing http with https.<\/p>\r\n\r\n\r\n\r\n<p>Don\u2019t forget to click on the \u2018Save changes\u2019 button to store your settings.<\/p>\r\n\r\n\r\n\r\n<p>Once the settings are saved, WordPress will log you out, and you will be asked to re-login.<\/p>\r\n\r\n\r\n\r\n<p>Next, you need to set up WordPress redirects from HTTP to HTTPS by adding the following code to your\u00a0.htaccess file.<\/p>\r\n\r\n\r\n\r\n<p><code>&lt;IfModule mod_rewrite.c&gt;<\/code><\/p>\r\n\r\n\r\n\r\n<p><code>RewriteEngine On<\/code><\/p>\r\n\r\n\r\n\r\n<p><code>RewriteCond %{HTTPS} off<\/code><\/p>\r\n\r\n\r\n\r\n<p><code>RewriteRule ^(.*)$ https:\/\/%{HTTP_HOST}%{REQUEST_URI} <\/code><\/p>\r\n\r\n\r\n\r\n<p><code>[L,R=301]<\/code><\/p>\r\n\r\n\r\n\r\n<p><code>&lt;\/IfModule&gt;<\/code><\/p>\r\n\r\n\r\n\r\n<p>By following these steps, you will avoid the WordPress HTTPS not working error because WordPress will now load your entire website using https.<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>This method requires you to troubleshoot issues manually and edit WordPress files. However this is a permanent and more performance optimized solution. This is what we\u2019re using on WPBeginner. If&#8230; <a class=\"read-more-link\" href=\"https:\/\/mumbaiwebhosting.co.in\/portal\/setup-ssl-https-in-wordpress-manually\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/mumbaiwebhosting.co.in\/portal\/wp-json\/wp\/v2\/posts\/104"}],"collection":[{"href":"https:\/\/mumbaiwebhosting.co.in\/portal\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mumbaiwebhosting.co.in\/portal\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mumbaiwebhosting.co.in\/portal\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mumbaiwebhosting.co.in\/portal\/wp-json\/wp\/v2\/comments?post=104"}],"version-history":[{"count":4,"href":"https:\/\/mumbaiwebhosting.co.in\/portal\/wp-json\/wp\/v2\/posts\/104\/revisions"}],"predecessor-version":[{"id":172,"href":"https:\/\/mumbaiwebhosting.co.in\/portal\/wp-json\/wp\/v2\/posts\/104\/revisions\/172"}],"wp:attachment":[{"href":"https:\/\/mumbaiwebhosting.co.in\/portal\/wp-json\/wp\/v2\/media?parent=104"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mumbaiwebhosting.co.in\/portal\/wp-json\/wp\/v2\/categories?post=104"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mumbaiwebhosting.co.in\/portal\/wp-json\/wp\/v2\/tags?post=104"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}