{"id":2999,"date":"2019-10-24T10:59:26","date_gmt":"2019-10-24T02:59:26","guid":{"rendered":"https:\/\/www.mondoze.com\/guide\/?post_type=kb&#038;p=2999"},"modified":"2022-10-08T18:30:36","modified_gmt":"2022-10-08T10:30:36","slug":"how-to-force-wordpress-with-ssl-connection","status":"publish","type":"kb","link":"https:\/\/www.mondoze.com\/guide\/kb\/how-to-force-wordpress-with-ssl-connection","title":{"rendered":"How to force WordPress with SSL connection"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"2999\" class=\"elementor elementor-2999\" data-elementor-settings=\"[]\">\n\t\t\t\t\t\t<div class=\"elementor-inner\">\n\t\t\t\t\t\t\t<div class=\"elementor-section-wrap\">\n\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-33c6e0bb elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"33c6e0bb\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t\t\t<div class=\"elementor-row\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-e8c8068\" data-id=\"e8c8068\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-57804e2 elementor-widget elementor-widget-heading\" data-id=\"57804e2\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">How To Force WordPress with SSL Connection<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-79577fd0 elementor-widget elementor-widget-text-editor\" data-id=\"79577fd0\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>Below will be the steps to guide user to force WordPress with https:\/\/ connection.<\/p><p>1. Login into WordPress admin dashboard. eg:\u00a0www.YOURDOM AIN.com\/wp-admin<\/p><p>2. Select Settngs-&gt; General<\/p><p>3. Under WordPress Address (URL) and Site Address (URL) update user domain to\u00a0https:\/\/www.YOURDOMAIN.com.\u00a0\u00a0The page will be as below:<\/p><p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-3005 size-medium\" src=\"https:\/\/www.mondoze.com\/guide\/wp-content\/uploads\/2021\/03\/ht-300x109.png\" alt=\"\" width=\"300\" height=\"109\" \/><\/p><p>4. Save.<\/p><p>Now 1 last step to complete the process. Open hosting .htaccess file and update the below code:<\/p><div class=\"prism-show-language\"><div class=\"prism-show-language-label\">HTML<\/div><div class=\"prism-show-language-label\">\u00a0<\/div><div class=\"prism-show-language-label\"><code class=\" language-html\" style=\"white-space: pre-wrap;\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>IfModule <span class=\"token attr-name\">mod_rewrite.c<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><\/code><\/div><div class=\"prism-show-language-label\"><code class=\" language-html\" style=\"white-space: pre-wrap;\"><\/code><code class=\" language-html\" style=\"white-space: pre-wrap;\">RewriteEngine On<\/code><\/div><div class=\"prism-show-language-label\"><code class=\" language-html\" style=\"white-space: pre-wrap;\"><\/code><code class=\" language-html\" style=\"white-space: pre-wrap;\">RewriteCond %{SERVER_PORT} 80<\/code><\/div><div class=\"prism-show-language-label\"><code class=\" language-html\" style=\"white-space: pre-wrap;\"><\/code><code class=\" language-html\" style=\"white-space: pre-wrap;\">RewriteRule ^(.*)$  [R,L]<\/code><\/div><div class=\"prism-show-language-label\"><code class=\" language-html\" style=\"white-space: pre-wrap;\"><\/code><code class=\" language-html\" style=\"white-space: pre-wrap;\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>IfModule<span class=\"token punctuation\">&gt;<\/span><\/span><\/code><\/div><div>\u00a0<\/div><\/div><p>Done!<\/p><p><strong>NOTE<\/strong>: Please change YOURDOMAIN.com to user own domain. Example: For mondoze.com, YOURDOMAIN.com will change to mondoze.com.<\/p><p>Proceed to clear browser cache and browse the website as the WordPress webpage will automatically redirect with https:\/\/ connection page.<\/p><p><strong>NOTE2<\/strong>: User might face &#8220;Not Secure&#8221; upon redirect to https:\/\/ webpage as it may seems there are some image or post link url might still referring to http:\/\/. Regarding this issue, user may alias with web developer to check on the connection or may search for WordPress plugins to fix the issue.<\/p><p><strong>NOTE3<\/strong>: Hosting under Linux environment had been enabled with auto-SSL. For user under Windows, user will required to purchase SSL for the hosting.<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>How To Force WordPress with SSL Connection Below will be the steps to guide user to force WordPress with https:\/\/ connection. 1. Login into WordPress admin dashboard. eg:\u00a0www.YOURDOM AIN.com\/wp-admin 2. Select Settngs-&gt; General 3. Under WordPress Address (URL) and Site Address (URL) update user domain to\u00a0https:\/\/www.YOURDOMAIN.com.\u00a0\u00a0The page will be as below: 4. Save. Now 1 &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/www.mondoze.com\/guide\/kb\/how-to-force-wordpress-with-ssl-connection\"> <span class=\"screen-reader-text\">How to force WordPress with SSL connection<\/span> Read More \u00bb<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}}},"kbtopic":[93],"kbtag":[110],"mkb_version":[],"_links":{"self":[{"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/kb\/2999"}],"collection":[{"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/comments?post=2999"}],"version-history":[{"count":8,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/kb\/2999\/revisions"}],"predecessor-version":[{"id":21926,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/kb\/2999\/revisions\/21926"}],"wp:attachment":[{"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/media?parent=2999"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/kbtopic?post=2999"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/kbtag?post=2999"},{"taxonomy":"mkb_version","embeddable":true,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/mkb_version?post=2999"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}