{"id":476,"date":"2018-03-16T15:36:15","date_gmt":"2018-03-16T15:36:15","guid":{"rendered":"https:\/\/www.hostkarle.in\/blog\/?p=476"},"modified":"2018-03-16T16:22:03","modified_gmt":"2018-03-16T16:22:03","slug":"redirect-http-to-https-using-htaccess","status":"publish","type":"post","link":"https:\/\/www.hostkarle.in\/blog\/redirect-http-to-https-using-htaccess","title":{"rendered":"How to redirect http to https using htaccess"},"content":{"rendered":"<h1 style=\"text-align: center;\">Redirect http to https using htaccess<\/h1>\n<p>Redirect http to https using htaccess\u00a0if you want to secure your website you must have to install <a href=\"https:\/\/en.wikipedia.org\/wiki\/Certificate_authority\">SSL certificate<\/a><\/p>\n<p><em><strong>You may also like:\u00a0<\/strong><\/em><a href=\"https:\/\/www.hostkarle.in\/blog\/how-to-install-lets-encrypt-free-ssl-on-cpanel\">How to Install SSL Certificate<\/a><\/p>\n<p>Follow below step to redirect your website to https :-<\/p>\n<p>Step1. <strong>Login to <span style=\"color: #ff0000;\">Cpanel<\/span><\/strong><\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"478\" data-permalink=\"https:\/\/www.hostkarle.in\/blog\/redirect-http-to-https-using-htaccess\/login-to-cpanel\" data-orig-file=\"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2018\/03\/login-to-cpanel.jpg?fit=449%2C384&amp;ssl=1\" data-orig-size=\"449,384\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"login to cpanel\" data-image-description=\"&lt;p&gt;login to cpanel&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;login to cpanel&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2018\/03\/login-to-cpanel.jpg?fit=300%2C257&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2018\/03\/login-to-cpanel.jpg?fit=449%2C384&amp;ssl=1\" class=\"aligncenter wp-image-478 size-full\" src=\"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2018\/03\/login-to-cpanel.jpg?resize=449%2C384&#038;ssl=1\" alt=\"redirect http to https using htaccess\" width=\"449\" height=\"384\" srcset=\"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2018\/03\/login-to-cpanel.jpg?w=449&amp;ssl=1 449w, https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2018\/03\/login-to-cpanel.jpg?resize=300%2C257&amp;ssl=1 300w\" sizes=\"auto, (max-width: 449px) 100vw, 449px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Step2. Go to <span style=\"color: #ff0000;\"><strong>Public_html<\/strong><\/span> Folder<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"479\" data-permalink=\"https:\/\/www.hostkarle.in\/blog\/redirect-http-to-https-using-htaccess\/public_html\" data-orig-file=\"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2018\/03\/public_html.jpg?fit=577%2C196&amp;ssl=1\" data-orig-size=\"577,196\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"public_html\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2018\/03\/public_html.jpg?fit=300%2C102&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2018\/03\/public_html.jpg?fit=577%2C196&amp;ssl=1\" class=\"aligncenter wp-image-479 size-full\" src=\"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2018\/03\/public_html.jpg?resize=577%2C196&#038;ssl=1\" alt=\"redirect http to https using htaccess\" width=\"577\" height=\"196\" srcset=\"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2018\/03\/public_html.jpg?w=577&amp;ssl=1 577w, https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2018\/03\/public_html.jpg?resize=300%2C102&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2018\/03\/public_html.jpg?resize=520%2C177&amp;ssl=1 520w\" sizes=\"auto, (max-width: 577px) 100vw, 577px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Step3. Create <span style=\"color: #ff0000;\"><strong>.htaccess<\/strong><\/span> File<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"480\" data-permalink=\"https:\/\/www.hostkarle.in\/blog\/redirect-http-to-https-using-htaccess\/htaccess-file-cpanel\" data-orig-file=\"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2018\/03\/htaccess-file-cpanel.jpg?fit=451%2C226&amp;ssl=1\" data-orig-size=\"451,226\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"htaccess file cpanel\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2018\/03\/htaccess-file-cpanel.jpg?fit=300%2C150&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2018\/03\/htaccess-file-cpanel.jpg?fit=451%2C226&amp;ssl=1\" class=\"aligncenter wp-image-480 size-full\" src=\"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2018\/03\/htaccess-file-cpanel.jpg?resize=451%2C226&#038;ssl=1\" alt=\"redirect http to https using htaccess\" width=\"451\" height=\"226\" srcset=\"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2018\/03\/htaccess-file-cpanel.jpg?w=451&amp;ssl=1 451w, https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2018\/03\/htaccess-file-cpanel.jpg?resize=300%2C150&amp;ssl=1 300w\" sizes=\"auto, (max-width: 451px) 100vw, 451px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Step4. <strong>Edit<\/strong> <span style=\"color: #ff0000;\">htaccess<\/span>\u00a0File<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"481\" data-permalink=\"https:\/\/www.hostkarle.in\/blog\/redirect-http-to-https-using-htaccess\/edit-htaccess-file\" data-orig-file=\"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2018\/03\/edit-htaccess-file.jpg?fit=445%2C306&amp;ssl=1\" data-orig-size=\"445,306\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"edit htaccess file\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2018\/03\/edit-htaccess-file.jpg?fit=300%2C206&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2018\/03\/edit-htaccess-file.jpg?fit=445%2C306&amp;ssl=1\" class=\"aligncenter wp-image-481 size-full\" src=\"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2018\/03\/edit-htaccess-file.jpg?resize=445%2C306&#038;ssl=1\" alt=\"redirect http to https using htaccess\" width=\"445\" height=\"306\" srcset=\"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2018\/03\/edit-htaccess-file.jpg?w=445&amp;ssl=1 445w, https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2018\/03\/edit-htaccess-file.jpg?resize=300%2C206&amp;ssl=1 300w\" sizes=\"auto, (max-width: 445px) 100vw, 445px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Step5. Enter Below<strong> Code<\/strong> in <span style=\"color: #ff0000;\">.htaccess<\/span> file and <span style=\"color: #99cc00;\">save<\/span><\/p>\n<blockquote>\n<pre class=\"code-sample-blue\">RewriteEngine On\r\nRewriteCond %{HTTPS} off\r\nRewriteRule ^(.*)$ https:\/\/%{HTTP_HOST}%{REQUEST_URI} [L,R=301]\r\n<\/pre>\n<\/blockquote>\n<p>&nbsp;<\/p>\n<p>if you already have .htaccess file in your cpanel do not duplicate.<code>RewriteEngine On<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Redirect http to https using htaccess Redirect http to https using htaccess\u00a0if you want to secure your website you must have to install SSL certificate You may also like:\u00a0How to Install SSL Certificate Follow below step to redirect your website to https :- Step1. Login to Cpanel &nbsp; Step2. Go to Public_html Folder &nbsp; Step3. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":484,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[56],"tags":[273,277,274,275,271,272,276],"class_list":["post-476","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hostkarle-support","tag-301-redirect-http-to-https-htaccess","tag-301-redirects-wildcards","tag-htaccess-redirect","tag-htaccess-redirect-wordpress","tag-redirect-http-to-https-automatically","tag-redirect-http-to-https-htaccess","tag-wordpress-301-redirect-htaccess"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to redirect http to https using htaccess - HostKarle<\/title>\n<meta name=\"description\" content=\"How to redirect http to https in cpanel wordpress redirect http to https using htaccess php website domain ssl certificate installation apache godaddy, bigrock web hosting nigix\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hostkarle.in\/blog\/redirect-http-to-https-using-htaccess\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to redirect http to https using htaccess - HostKarle\" \/>\n<meta property=\"og:description\" content=\"How to redirect http to https in cpanel wordpress redirect http to https using htaccess php website domain ssl certificate installation apache godaddy, bigrock web hosting nigix\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hostkarle.in\/blog\/redirect-http-to-https-using-htaccess\" \/>\n<meta property=\"og:site_name\" content=\"HostKarle\" \/>\n<meta property=\"article:published_time\" content=\"2018-03-16T15:36:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-03-16T16:22:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2018\/03\/My-Post-1.jpg?fit=2560%2C1440&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"1440\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\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:\/\/www.hostkarle.in\/blog\/redirect-http-to-https-using-htaccess#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.hostkarle.in\/blog\/redirect-http-to-https-using-htaccess\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/www.hostkarle.in\/blog\/#\/schema\/person\/50e1705cb891e21e3b8d60d95daee9f5\"},\"headline\":\"How to redirect http to https using htaccess\",\"datePublished\":\"2018-03-16T15:36:15+00:00\",\"dateModified\":\"2018-03-16T16:22:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.hostkarle.in\/blog\/redirect-http-to-https-using-htaccess\"},\"wordCount\":97,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.hostkarle.in\/blog\/redirect-http-to-https-using-htaccess#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2018\/03\/My-Post-1.jpg?fit=2560%2C1440&ssl=1\",\"keywords\":[\"301 redirect http to https htaccess\",\"301 redirects wildcards\",\"htaccess redirect\",\"htaccess redirect wordpress\",\"Redirect http to https automatically\",\"Redirect http to https htaccess\",\"wordpress 301 redirect htaccess\"],\"articleSection\":[\"HostKarle Support\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.hostkarle.in\/blog\/redirect-http-to-https-using-htaccess#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.hostkarle.in\/blog\/redirect-http-to-https-using-htaccess\",\"url\":\"https:\/\/www.hostkarle.in\/blog\/redirect-http-to-https-using-htaccess\",\"name\":\"How to redirect http to https using htaccess - HostKarle\",\"isPartOf\":{\"@id\":\"https:\/\/www.hostkarle.in\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.hostkarle.in\/blog\/redirect-http-to-https-using-htaccess#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.hostkarle.in\/blog\/redirect-http-to-https-using-htaccess#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2018\/03\/My-Post-1.jpg?fit=2560%2C1440&ssl=1\",\"datePublished\":\"2018-03-16T15:36:15+00:00\",\"dateModified\":\"2018-03-16T16:22:03+00:00\",\"author\":{\"@id\":\"https:\/\/www.hostkarle.in\/blog\/#\/schema\/person\/50e1705cb891e21e3b8d60d95daee9f5\"},\"description\":\"How to redirect http to https in cpanel wordpress redirect http to https using htaccess php website domain ssl certificate installation apache godaddy, bigrock web hosting nigix\",\"breadcrumb\":{\"@id\":\"https:\/\/www.hostkarle.in\/blog\/redirect-http-to-https-using-htaccess#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.hostkarle.in\/blog\/redirect-http-to-https-using-htaccess\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.hostkarle.in\/blog\/redirect-http-to-https-using-htaccess#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2018\/03\/My-Post-1.jpg?fit=2560%2C1440&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2018\/03\/My-Post-1.jpg?fit=2560%2C1440&ssl=1\",\"width\":2560,\"height\":1440,\"caption\":\"redirect http to https using htaccess\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.hostkarle.in\/blog\/redirect-http-to-https-using-htaccess#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.hostkarle.in\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to redirect http to https using htaccess\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.hostkarle.in\/blog\/#website\",\"url\":\"https:\/\/www.hostkarle.in\/blog\/\",\"name\":\"HostKarle\",\"description\":\"Hostkarle Blog offer solution for wordpress problems, cPanel issues, And Websites Errors Also You can Learn SEO in Hindi and much more.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.hostkarle.in\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.hostkarle.in\/blog\/#\/schema\/person\/50e1705cb891e21e3b8d60d95daee9f5\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/97ad9f42652621d7c14073d632e8c4f164863cbc1ccfcbfe187bb6bbc1982613?s=96&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/97ad9f42652621d7c14073d632e8c4f164863cbc1ccfcbfe187bb6bbc1982613?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/97ad9f42652621d7c14073d632e8c4f164863cbc1ccfcbfe187bb6bbc1982613?s=96&r=g\",\"caption\":\"admin\"},\"url\":\"https:\/\/www.hostkarle.in\/blog\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to redirect http to https using htaccess - HostKarle","description":"How to redirect http to https in cpanel wordpress redirect http to https using htaccess php website domain ssl certificate installation apache godaddy, bigrock web hosting nigix","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:\/\/www.hostkarle.in\/blog\/redirect-http-to-https-using-htaccess","og_locale":"en_US","og_type":"article","og_title":"How to redirect http to https using htaccess - HostKarle","og_description":"How to redirect http to https in cpanel wordpress redirect http to https using htaccess php website domain ssl certificate installation apache godaddy, bigrock web hosting nigix","og_url":"https:\/\/www.hostkarle.in\/blog\/redirect-http-to-https-using-htaccess","og_site_name":"HostKarle","article_published_time":"2018-03-16T15:36:15+00:00","article_modified_time":"2018-03-16T16:22:03+00:00","og_image":[{"width":2560,"height":1440,"url":"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2018\/03\/My-Post-1.jpg?fit=2560%2C1440&ssl=1","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hostkarle.in\/blog\/redirect-http-to-https-using-htaccess#article","isPartOf":{"@id":"https:\/\/www.hostkarle.in\/blog\/redirect-http-to-https-using-htaccess"},"author":{"name":"admin","@id":"https:\/\/www.hostkarle.in\/blog\/#\/schema\/person\/50e1705cb891e21e3b8d60d95daee9f5"},"headline":"How to redirect http to https using htaccess","datePublished":"2018-03-16T15:36:15+00:00","dateModified":"2018-03-16T16:22:03+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hostkarle.in\/blog\/redirect-http-to-https-using-htaccess"},"wordCount":97,"commentCount":0,"image":{"@id":"https:\/\/www.hostkarle.in\/blog\/redirect-http-to-https-using-htaccess#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2018\/03\/My-Post-1.jpg?fit=2560%2C1440&ssl=1","keywords":["301 redirect http to https htaccess","301 redirects wildcards","htaccess redirect","htaccess redirect wordpress","Redirect http to https automatically","Redirect http to https htaccess","wordpress 301 redirect htaccess"],"articleSection":["HostKarle Support"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hostkarle.in\/blog\/redirect-http-to-https-using-htaccess#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hostkarle.in\/blog\/redirect-http-to-https-using-htaccess","url":"https:\/\/www.hostkarle.in\/blog\/redirect-http-to-https-using-htaccess","name":"How to redirect http to https using htaccess - HostKarle","isPartOf":{"@id":"https:\/\/www.hostkarle.in\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hostkarle.in\/blog\/redirect-http-to-https-using-htaccess#primaryimage"},"image":{"@id":"https:\/\/www.hostkarle.in\/blog\/redirect-http-to-https-using-htaccess#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2018\/03\/My-Post-1.jpg?fit=2560%2C1440&ssl=1","datePublished":"2018-03-16T15:36:15+00:00","dateModified":"2018-03-16T16:22:03+00:00","author":{"@id":"https:\/\/www.hostkarle.in\/blog\/#\/schema\/person\/50e1705cb891e21e3b8d60d95daee9f5"},"description":"How to redirect http to https in cpanel wordpress redirect http to https using htaccess php website domain ssl certificate installation apache godaddy, bigrock web hosting nigix","breadcrumb":{"@id":"https:\/\/www.hostkarle.in\/blog\/redirect-http-to-https-using-htaccess#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hostkarle.in\/blog\/redirect-http-to-https-using-htaccess"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hostkarle.in\/blog\/redirect-http-to-https-using-htaccess#primaryimage","url":"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2018\/03\/My-Post-1.jpg?fit=2560%2C1440&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2018\/03\/My-Post-1.jpg?fit=2560%2C1440&ssl=1","width":2560,"height":1440,"caption":"redirect http to https using htaccess"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hostkarle.in\/blog\/redirect-http-to-https-using-htaccess#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hostkarle.in\/blog"},{"@type":"ListItem","position":2,"name":"How to redirect http to https using htaccess"}]},{"@type":"WebSite","@id":"https:\/\/www.hostkarle.in\/blog\/#website","url":"https:\/\/www.hostkarle.in\/blog\/","name":"HostKarle","description":"Hostkarle Blog offer solution for wordpress problems, cPanel issues, And Websites Errors Also You can Learn SEO in Hindi and much more.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hostkarle.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.hostkarle.in\/blog\/#\/schema\/person\/50e1705cb891e21e3b8d60d95daee9f5","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/97ad9f42652621d7c14073d632e8c4f164863cbc1ccfcbfe187bb6bbc1982613?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/97ad9f42652621d7c14073d632e8c4f164863cbc1ccfcbfe187bb6bbc1982613?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/97ad9f42652621d7c14073d632e8c4f164863cbc1ccfcbfe187bb6bbc1982613?s=96&r=g","caption":"admin"},"url":"https:\/\/www.hostkarle.in\/blog\/author\/admin"}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.hostkarle.in\/blog\/wp-content\/uploads\/2018\/03\/My-Post-1.jpg?fit=2560%2C1440&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p99BIJ-7G","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hostkarle.in\/blog\/wp-json\/wp\/v2\/posts\/476","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostkarle.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostkarle.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostkarle.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostkarle.in\/blog\/wp-json\/wp\/v2\/comments?post=476"}],"version-history":[{"count":0,"href":"https:\/\/www.hostkarle.in\/blog\/wp-json\/wp\/v2\/posts\/476\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hostkarle.in\/blog\/wp-json\/wp\/v2\/media\/484"}],"wp:attachment":[{"href":"https:\/\/www.hostkarle.in\/blog\/wp-json\/wp\/v2\/media?parent=476"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostkarle.in\/blog\/wp-json\/wp\/v2\/categories?post=476"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostkarle.in\/blog\/wp-json\/wp\/v2\/tags?post=476"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}