{"id":689,"date":"2020-06-04T13:30:16","date_gmt":"2020-06-04T05:30:16","guid":{"rendered":"https:\/\/www.wesbytes.com\/guide\/?post_type=kb&#038;p=689"},"modified":"2026-01-12T12:55:45","modified_gmt":"2026-01-12T04:55:45","slug":"how-to-force-wordpress-with-ssl-connection-2","status":"publish","type":"kb","link":"https:\/\/www.servergigabit.com\/guide\/kb\/how-to-force-wordpress-with-ssl-connection-2","title":{"rendered":"How to force WordPress with SSL connection"},"content":{"rendered":"<h4><strong>How to force WordPress with SSL connection?<\/strong><\/h4>\n<p>Below will be the steps to guide user to force WordPress with https:\/\/ connection.<\/p>\n<p>1. Login into WordPress admin dashboard. eg:\u00a0www.YOURDOM AIN.com\/wp-admin<\/p>\n<p>2. Select Settngs-&gt; General<\/p>\n<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>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/14054247788\/original\/mSlzfLCunAZn_gVofpO1DoWBhbYvdJp8WQ.png?1569378556\" alt=\"How to force WordPress with SSL connection?\" width=\"940\" height=\"349\" \/><\/p>\n<p>4. Save.<\/p>\n<p>Now 1 last step to complete the process. Open hosting .htaccess file and update the below code:<\/p>\n<div class=\"prism-show-language\">\n<div class=\"prism-show-language-label\">HTML<\/div>\n<div class=\"prism-show-language-label\"><\/div>\n<div class=\"prism-show-language-label\"><code class=\" language-html\"><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>\n<div class=\"prism-show-language-label\"><code class=\" language-html\"><\/code><code class=\" language-html\">RewriteEngine On<\/code><\/div>\n<div class=\"prism-show-language-label\"><code class=\" language-html\"><\/code><code class=\" language-html\">RewriteCond %{SERVER_PORT} 80<\/code><\/div>\n<div class=\"prism-show-language-label\"><code class=\" language-html\"><\/code><code class=\" language-html\">RewriteRule ^(.*)$ [R,L]<\/code><\/div>\n<div class=\"prism-show-language-label\"><code class=\" language-html\"><\/code><code class=\" language-html\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>IfModule<span class=\"token punctuation\">&gt;<\/span><\/span><\/code><\/div>\n<div><\/div>\n<\/div>\n<p>Done!<\/p>\n<p><strong>NOTE<\/strong>: Please change YOURDOMAIN.com to user own domain. Example: For mondoze.com, YOURDOMAIN.com will change to mondoze.com.<\/p>\n<p>Proceed to clear browser cache and browse the website as the WordPress webpage will automatically redirect with https:\/\/ connection page.<\/p>\n<p><strong>NOTE2<\/strong>: User might face \u201cNot Secure\u201d 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>\n<p><strong>NOTE3<\/strong>: Hosting under <a href=\"https:\/\/www.servergigabit.com\/linux-vps-hosting\/\">Linux<\/a> environment had been enabled with auto-SSL. For user under Windows, user will required to purchase<a href=\"https:\/\/www.cloudflare.com\/learning\/ssl\/what-is-ssl\/\" rel=\"nofollow noopener\" target=\"_blank\"> SSL<\/a> or the hosting.<\/p>\n<p>&nbsp;<\/p>\n","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 last step to complete the&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"kbtopic":[28],"kbtag":[1615,1134],"class_list":["post-689","kb","type-kb","status-publish","hentry","kbtopic-wordpress","kbtag-ssl-connection","kbtag-wordpress"],"_links":{"self":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb\/689","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/comments?post=689"}],"version-history":[{"count":4,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb\/689\/revisions"}],"predecessor-version":[{"id":5272,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb\/689\/revisions\/5272"}],"wp:attachment":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/media?parent=689"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kbtopic?post=689"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kbtag?post=689"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}