{"id":724,"date":"2019-10-01T05:03:19","date_gmt":"2019-09-30T19:03:19","guid":{"rendered":"https:\/\/hostmate.com.au\/hosting\/?p=724"},"modified":"2021-04-15T02:00:27","modified_gmt":"2021-04-14T16:00:27","slug":"how-to-setup-ssl-on-a-non-wordpress-website","status":"publish","type":"post","link":"https:\/\/hostmate.com.au\/hosting\/how-to-setup-ssl-on-a-non-wordpress-website\/","title":{"rendered":"How to setup SSL on a non WordPress website"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"724\" class=\"elementor elementor-724\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-5df10a3 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5df10a3\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-8678c59\" data-id=\"8678c59\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f7d6045 elementor-widget elementor-widget-text-editor\" data-id=\"f7d6045\" data-element_type=\"widget\" data-e-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\t<p><span style=\"font-size: 1rem;\">If you&#8217;re using other website software set the website domain URL settings to include &#8220;s&#8221; in the url eg. https:\/\/yourdomain.com.au\/<\/span><\/p><p>If you&#8217;re not using any website software you can force SSL using an htaccess file in your public_html folder.<\/p><p>You can first\u00a0try going to the Domains page in cpanel and enable Force HTTPS Redirect. That will often fix the problem.<\/p><p>Otherwise, or if using a Subdomain or Addon domain you can copy and paste this code into your htaccess file to force SSL on all pages of your website.<\/p><p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>RewriteOptions inherit<br \/>RewriteEngine on<\/p><p># If the hostname is NOT yourdomain.com.au<br \/>RewriteCond %{HTTP_HOST} !^yourdomain\\.com\\.au [OR]<br \/># Or if non SSL request<br \/>RewriteCond %{HTTPS} !=on<br \/># 301 redirect to the same resource on yourdomain.com.au<br \/>RewriteRule (.*) https:\/\/yourdomain.com.au%{REQUEST_URI} [L,R=301]<br \/>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/p><p>The first bit of the code,<br \/>RewriteCond %{HTTP_HOST} !^yourdomain\\.com\\.au [OR]<br \/>is not SSL related. It simply forces any parked domain to redirect to the main domain.<\/p><p>Its not a universal piece of code, it may need tweaking for a specific website, but it is quite versatile. If you search google you will find lots of examples of how to do it.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re using other website software set the website domain URL settings to include &#8220;s&#8221; in the url eg. https:\/\/yourdomain.com.au\/ If you&#8217;re not using any website software you can force SSL using an htaccess file in your public_html folder. You can first\u00a0try going to the Domains page in cpanel and enable Force HTTPS Redirect. That [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-724","post","type-post","status-publish","format-standard","hentry","category-ssl-certificates"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to setup SSL on a non WordPress website - Hostmate Australia Website &amp; Email Hosting Support<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hostmate.com.au\/hosting\/how-to-setup-ssl-on-a-non-wordpress-website\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to setup SSL on a non WordPress website - Hostmate Australia Website &amp; Email Hosting Support\" \/>\n<meta property=\"og:description\" content=\"If you&#8217;re using other website software set the website domain URL settings to include &#8220;s&#8221; in the url eg. https:\/\/yourdomain.com.au\/ If you&#8217;re not using any website software you can force SSL using an htaccess file in your public_html folder. You can first\u00a0try going to the Domains page in cpanel and enable Force HTTPS Redirect. That [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hostmate.com.au\/hosting\/how-to-setup-ssl-on-a-non-wordpress-website\/\" \/>\n<meta property=\"og:site_name\" content=\"Hostmate Australia Website &amp; Email Hosting Support\" \/>\n<meta property=\"article:published_time\" content=\"2019-09-30T19:03:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-04-14T16:00:27+00:00\" \/>\n<meta name=\"author\" content=\"hostmate\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"hostmate\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/hostmate.com.au\\\/hosting\\\/how-to-setup-ssl-on-a-non-wordpress-website\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hostmate.com.au\\\/hosting\\\/how-to-setup-ssl-on-a-non-wordpress-website\\\/\"},\"author\":{\"name\":\"hostmate\",\"@id\":\"https:\\\/\\\/hostmate.com.au\\\/hosting\\\/#\\\/schema\\\/person\\\/7df19dd4572dccba5ccb01180f83aed6\"},\"headline\":\"How to setup SSL on a non WordPress website\",\"datePublished\":\"2019-09-30T19:03:19+00:00\",\"dateModified\":\"2021-04-14T16:00:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/hostmate.com.au\\\/hosting\\\/how-to-setup-ssl-on-a-non-wordpress-website\\\/\"},\"wordCount\":209,\"articleSection\":[\"SSL Certificates\"],\"inLanguage\":\"en-AU\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/hostmate.com.au\\\/hosting\\\/how-to-setup-ssl-on-a-non-wordpress-website\\\/\",\"url\":\"https:\\\/\\\/hostmate.com.au\\\/hosting\\\/how-to-setup-ssl-on-a-non-wordpress-website\\\/\",\"name\":\"How to setup SSL on a non WordPress website - Hostmate Australia Website &amp; Email Hosting Support\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hostmate.com.au\\\/hosting\\\/#website\"},\"datePublished\":\"2019-09-30T19:03:19+00:00\",\"dateModified\":\"2021-04-14T16:00:27+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/hostmate.com.au\\\/hosting\\\/#\\\/schema\\\/person\\\/7df19dd4572dccba5ccb01180f83aed6\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/hostmate.com.au\\\/hosting\\\/how-to-setup-ssl-on-a-non-wordpress-website\\\/#breadcrumb\"},\"inLanguage\":\"en-AU\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/hostmate.com.au\\\/hosting\\\/how-to-setup-ssl-on-a-non-wordpress-website\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/hostmate.com.au\\\/hosting\\\/how-to-setup-ssl-on-a-non-wordpress-website\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"FAQ\",\"item\":\"https:\\\/\\\/hostmate.com.au\\\/hosting\\\/support\\\/faq\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SSL Certificates\",\"item\":\"https:\\\/\\\/hostmate.com.au\\\/hosting\\\/support\\\/faq\\\/ssl-certificates\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to setup SSL on a non WordPress website\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/hostmate.com.au\\\/hosting\\\/#website\",\"url\":\"https:\\\/\\\/hostmate.com.au\\\/hosting\\\/\",\"name\":\"Hostmate Australia Website &amp; Email Hosting Support\",\"description\":\"Cheap WordPress Web Hosting with Excellent Australian Support\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/hostmate.com.au\\\/hosting\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-AU\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/hostmate.com.au\\\/hosting\\\/#\\\/schema\\\/person\\\/7df19dd4572dccba5ccb01180f83aed6\",\"name\":\"hostmate\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-AU\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/782a997311333335c4309bd5cdf0f9ea7829c5be982a5534c38f79cf92b57cf0?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/782a997311333335c4309bd5cdf0f9ea7829c5be982a5534c38f79cf92b57cf0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/782a997311333335c4309bd5cdf0f9ea7829c5be982a5534c38f79cf92b57cf0?s=96&d=mm&r=g\",\"caption\":\"hostmate\"},\"url\":\"https:\\\/\\\/hostmate.com.au\\\/hosting\\\/author\\\/hostmate\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to setup SSL on a non WordPress website - Hostmate Australia Website &amp; Email Hosting Support","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/hostmate.com.au\/hosting\/how-to-setup-ssl-on-a-non-wordpress-website\/","og_locale":"en_US","og_type":"article","og_title":"How to setup SSL on a non WordPress website - Hostmate Australia Website &amp; Email Hosting Support","og_description":"If you&#8217;re using other website software set the website domain URL settings to include &#8220;s&#8221; in the url eg. https:\/\/yourdomain.com.au\/ If you&#8217;re not using any website software you can force SSL using an htaccess file in your public_html folder. You can first\u00a0try going to the Domains page in cpanel and enable Force HTTPS Redirect. That [&hellip;]","og_url":"https:\/\/hostmate.com.au\/hosting\/how-to-setup-ssl-on-a-non-wordpress-website\/","og_site_name":"Hostmate Australia Website &amp; Email Hosting Support","article_published_time":"2019-09-30T19:03:19+00:00","article_modified_time":"2021-04-14T16:00:27+00:00","author":"hostmate","twitter_card":"summary_large_image","twitter_misc":{"Written by":"hostmate","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hostmate.com.au\/hosting\/how-to-setup-ssl-on-a-non-wordpress-website\/#article","isPartOf":{"@id":"https:\/\/hostmate.com.au\/hosting\/how-to-setup-ssl-on-a-non-wordpress-website\/"},"author":{"name":"hostmate","@id":"https:\/\/hostmate.com.au\/hosting\/#\/schema\/person\/7df19dd4572dccba5ccb01180f83aed6"},"headline":"How to setup SSL on a non WordPress website","datePublished":"2019-09-30T19:03:19+00:00","dateModified":"2021-04-14T16:00:27+00:00","mainEntityOfPage":{"@id":"https:\/\/hostmate.com.au\/hosting\/how-to-setup-ssl-on-a-non-wordpress-website\/"},"wordCount":209,"articleSection":["SSL Certificates"],"inLanguage":"en-AU"},{"@type":"WebPage","@id":"https:\/\/hostmate.com.au\/hosting\/how-to-setup-ssl-on-a-non-wordpress-website\/","url":"https:\/\/hostmate.com.au\/hosting\/how-to-setup-ssl-on-a-non-wordpress-website\/","name":"How to setup SSL on a non WordPress website - Hostmate Australia Website &amp; Email Hosting Support","isPartOf":{"@id":"https:\/\/hostmate.com.au\/hosting\/#website"},"datePublished":"2019-09-30T19:03:19+00:00","dateModified":"2021-04-14T16:00:27+00:00","author":{"@id":"https:\/\/hostmate.com.au\/hosting\/#\/schema\/person\/7df19dd4572dccba5ccb01180f83aed6"},"breadcrumb":{"@id":"https:\/\/hostmate.com.au\/hosting\/how-to-setup-ssl-on-a-non-wordpress-website\/#breadcrumb"},"inLanguage":"en-AU","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hostmate.com.au\/hosting\/how-to-setup-ssl-on-a-non-wordpress-website\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/hostmate.com.au\/hosting\/how-to-setup-ssl-on-a-non-wordpress-website\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"FAQ","item":"https:\/\/hostmate.com.au\/hosting\/support\/faq\/"},{"@type":"ListItem","position":2,"name":"SSL Certificates","item":"https:\/\/hostmate.com.au\/hosting\/support\/faq\/ssl-certificates\/"},{"@type":"ListItem","position":3,"name":"How to setup SSL on a non WordPress website"}]},{"@type":"WebSite","@id":"https:\/\/hostmate.com.au\/hosting\/#website","url":"https:\/\/hostmate.com.au\/hosting\/","name":"Hostmate Australia Website &amp; Email Hosting Support","description":"Cheap WordPress Web Hosting with Excellent Australian Support","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hostmate.com.au\/hosting\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-AU"},{"@type":"Person","@id":"https:\/\/hostmate.com.au\/hosting\/#\/schema\/person\/7df19dd4572dccba5ccb01180f83aed6","name":"hostmate","image":{"@type":"ImageObject","inLanguage":"en-AU","@id":"https:\/\/secure.gravatar.com\/avatar\/782a997311333335c4309bd5cdf0f9ea7829c5be982a5534c38f79cf92b57cf0?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/782a997311333335c4309bd5cdf0f9ea7829c5be982a5534c38f79cf92b57cf0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/782a997311333335c4309bd5cdf0f9ea7829c5be982a5534c38f79cf92b57cf0?s=96&d=mm&r=g","caption":"hostmate"},"url":"https:\/\/hostmate.com.au\/hosting\/author\/hostmate\/"}]}},"_links":{"self":[{"href":"https:\/\/hostmate.com.au\/hosting\/wp-json\/wp\/v2\/posts\/724","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostmate.com.au\/hosting\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostmate.com.au\/hosting\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostmate.com.au\/hosting\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hostmate.com.au\/hosting\/wp-json\/wp\/v2\/comments?post=724"}],"version-history":[{"count":10,"href":"https:\/\/hostmate.com.au\/hosting\/wp-json\/wp\/v2\/posts\/724\/revisions"}],"predecessor-version":[{"id":1140,"href":"https:\/\/hostmate.com.au\/hosting\/wp-json\/wp\/v2\/posts\/724\/revisions\/1140"}],"wp:attachment":[{"href":"https:\/\/hostmate.com.au\/hosting\/wp-json\/wp\/v2\/media?parent=724"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostmate.com.au\/hosting\/wp-json\/wp\/v2\/categories?post=724"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostmate.com.au\/hosting\/wp-json\/wp\/v2\/tags?post=724"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}