{"id":4652,"date":"2018-03-30T17:09:24","date_gmt":"2018-03-30T11:39:24","guid":{"rendered":"https:\/\/phpyouth.com\/blog\/?p=4652"},"modified":"2025-10-14T15:34:23","modified_gmt":"2025-10-14T10:04:23","slug":"http-to-https-redirection-automatically-using-htaccess-and-web-config","status":"publish","type":"post","link":"https:\/\/phpyouth.com\/blog\/http-to-https-redirection-automatically-using-htaccess-and-web-config\/","title":{"rendered":"HTTP to HTTPS Redirection Automatically Using .htaccess and web.config"},"content":{"rendered":"<p>Hello Friends, Today we will learn about &#8220;<strong>How we can redirect visitors to our HTTP website to HTTPS<\/strong>&#8220;.<\/p>\n<p>If you have an SSL Secure Certificate installed on your website, you can easily redirect visitors to the secure version of your website(HTTPS) automatically. First, we have to know where your website is hosted.<\/p>\n<h3>Linux &amp; cPanel<\/h3>\n<p>If you don&#8217;t have an <strong><em>.htaccess<\/em><\/strong> file in the root directory of your website, then you have to create a new file. If you don\u2019t know how to create this, watch the video:<\/p>\n<p><span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><iframe class=\"youtube-player\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/HjxGVp3dTJk?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\"><\/iframe><\/span><\/p>\n<p>Once you create the <strong><em>.htaccess<\/em><\/strong> file in the file manager, just copy &amp; paste this code into the .htaccess file.<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nRewriteEngine On\nRewriteCond %{HTTPS} off\nRewriteRule ^(.*)$ https:\/\/%{HTTP_HOST}%{REQUEST_URI} &#x5B;L,R=301]\n<\/pre>\n<blockquote><p>NOTE: If you already have an .htaccess file, then check these points<\/p><\/blockquote>\n<ul>\n<li>Don&#8217;t duplicate <strong><em>RewriteEngine On<\/em><\/strong><\/li>\n<li>Make sure the lines starting from <strong><em>RewriteCond<\/em><\/strong> and <strong><em>RewriteRule <\/em><\/strong>immediately follow the already-existing <strong><em>RewriteEngine On<\/em><\/strong>.<\/li>\n<\/ul>\n<p>If you are confused about how to add this code to the existing .htaccess file, then see the screenshot of a WordPress site below.<br \/>\n<a href=\"https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/03\/htaccess-HTTPS-RewriteCond-RewriteRule.png\"><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-full wp-image-4657\" src=\"https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/03\/htaccess-HTTPS-RewriteCond-RewriteRule.png\" alt=\"htaccess HTTPS RewriteCond RewriteRule\" width=\"574\" height=\"211\" title=\"\" srcset=\"https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/03\/htaccess-HTTPS-RewriteCond-RewriteRule.png 574w, https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/03\/htaccess-HTTPS-RewriteCond-RewriteRule-300x110.png 300w\" sizes=\"(max-width: 574px) 100vw, 574px\" \/><\/a><\/p>\n<h3>Windows &amp; Plesk<\/h3>\n<p>Windows hosting accounts use the <strong><em>web.config<\/em><\/strong> file instead of <strong><em>.htaccess<\/em><\/strong> to handle redirections.<\/p>\n<blockquote><p>NOTE: If you don&#8217;t have <em>web.config<\/em> file, then the process will be same like <em>.htaccess<\/em>, just type web.config while creating a new file in file manager<\/p><\/blockquote>\n<p>Using the code below in your web.config file, you can automatically redirect visitors to your HTTPS version website.<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;configuration&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;\n&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;system.webServer&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;\n&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;rewrite&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;\n    &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;rules&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;\n    &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;rule name=&amp;quot;HTTP to HTTPS redirect&amp;quot; stopProcessing=&amp;quot;true&amp;quot;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt; \n    &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;match url=&amp;quot;(.*)&amp;quot; \/&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt; \n    &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;conditions&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt; \n        &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;add input=&amp;quot;{HTTPS}&amp;quot; pattern=&amp;quot;off&amp;quot; ignoreCase=&amp;quot;true&amp;quot; \/&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;\n    &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;\/conditions&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt; \n    &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;action type=&amp;quot;Redirect&amp;quot; redirectType=&amp;quot;Permanent&amp;quot; url=&amp;quot;https:\/\/{HTTP_HOST}\/{R:1}&amp;quot; \/&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;\n&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;\/rule&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;&lt;br \/&gt;\n    &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;\/rules&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;\n&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;\/rewrite&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;\n&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;\/system.webServer&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;\n&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;\/configuration&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;\n<\/pre>\n<blockquote><p>NOTE: If you already have a web.config file, then check these points<\/p><\/blockquote>\n<ul>\n<li>Ensure you have sections (i.e., opening and closing tags) for:<br \/>\n~ <em>system.webServer<\/em> (which contains <em>rewrite<\/em>)<br \/>\n~ <em>rewrite<\/em> (which contains <em>rules<\/em>)<br \/>\n~ <em>rules<\/em> (which contain one or more <em>rule<\/em> sections)<br \/>\nInsert any of those sections that do not exist.<\/li>\n<li>Insert the entire <em>rule<\/em> section, including <em>match<\/em>, <em>conditions<\/em>, and <em>action<\/em>, inside the <em>rules<\/em> section.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.hostg.xyz\/aff_c?offer_id=6&amp;aff_id=115521&amp;url_id=35&amp;file_id=1399\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/media.go2speed.org\/brand\/files\/hostinger\/6\/EN-970x250.jpg\" width=\"970\" height=\"250\" border=\"0\" alt=\"\" title=\"\"><\/a><img decoding=\"async\" style=\"position: absolute; visibility: hidden;\" src=\"https:\/\/www.hostg.xyz\/aff_i?offer_id=6&amp;file_id=1399&amp;aff_id=115521&amp;url_id=35\" width=\"0\" height=\"0\" border=\"0\" alt=\"\" title=\"\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello Friends, Today we will learn about &#8220;How we can redirect visitors to our HTTP website to HTTPS&#8220;. If you have an SSL Secure Certificate installed on your website, you can easily redirect visitors to the secure version of your website(HTTPS) automatically. First, we have to know where your website is hosted. Linux &amp; cPanel [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4659,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","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":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","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-opacity":"","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-opacity":"","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-opacity":"","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-opacity":"","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-opacity":"","overlay-gradient":""}},"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[5,96],"tags":[119,121,120],"class_list":["post-4652","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php","category-seo","tag-htaccess","tag-http-to-https","tag-web-config"],"acf":[],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8zepR-1d2","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":4696,"url":"https:\/\/phpyouth.com\/blog\/increase-wordpress-memory-limit-using-htaccess\/","url_meta":{"origin":4652,"position":0},"title":"Increase WordPress Memory Limit using .htaccess","author":"RK Jajoria","date":"April 13, 2018","format":"image","excerpt":"If you don't have access to the php.ini file, don't worry! You can easily increase the PHP memory limit via the .htaccess file. Just copy and paste the following code into your .htaccess file to increase the memory limit. To increase the memory limit, simply add the following line to\u2026","rel":"","context":"In &quot;PHP&quot;","block_context":{"text":"PHP","link":"https:\/\/phpyouth.com\/blog\/category\/tutorial\/php\/"},"img":{"alt_text":"php_value memory_limit 512M","src":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/04\/php_value-memory_limit-512M.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/04\/php_value-memory_limit-512M.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/04\/php_value-memory_limit-512M.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":4973,"url":"https:\/\/phpyouth.com\/blog\/enable-gzip-compression\/","url_meta":{"origin":4652,"position":1},"title":"How to enable GZIP compression","author":"RK Jajoria","date":"July 2, 2019","format":false,"excerpt":"Hello, friends, today\u2019s topic is how to enable GZIP compression on your web server. If you know what GZIP is and how to enable it, that\u2019s good. But if you don\u2019t, please read this tutorial till the end. What is GZIP Compression? GZIP is a file format and software application\u2026","rel":"","context":"In &quot;cPanel&quot;","block_context":{"text":"cPanel","link":"https:\/\/phpyouth.com\/blog\/category\/web-hosting\/cpanel\/"},"img":{"alt_text":"GZIP-Compression","src":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2019\/07\/GZIP-Compression.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2019\/07\/GZIP-Compression.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2019\/07\/GZIP-Compression.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":4827,"url":"https:\/\/phpyouth.com\/blog\/enable-http-security-headers\/","url_meta":{"origin":4652,"position":2},"title":"Enable HTTP Security Headers","author":"RK Jajoria","date":"August 13, 2018","format":false,"excerpt":"Hello, friends, today we will learn about HTTP Security Headers. There are a lot of things to consider while securing our website or web applications. HTTP Security Header is one of the best options. Implementing HTTP Security Headers is very easy on the server. HTTP Security Header provides another level\u2026","rel":"","context":"In &quot;Maintenance&quot;","block_context":{"text":"Maintenance","link":"https:\/\/phpyouth.com\/blog\/category\/wordpress\/maintenance\/"},"img":{"alt_text":"http security header","src":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/08\/http-security-header.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/08\/http-security-header.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/08\/http-security-header.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":13470,"url":"https:\/\/phpyouth.com\/blog\/how-to-secure-wordpress-login-page\/","url_meta":{"origin":4652,"position":3},"title":"How to Secure WordPress Login Page &amp; Admin Area (2026 Guide)","author":"RK Jajoria","date":"August 6, 2026","format":false,"excerpt":"This guide shows you how to secure WordPress login page access and cut that automated bot traffic to zero. If you manage a WordPress site, check your access logs right now. You will likely see hundreds, if not thousands, of automated bots pinging your wp-login.php file every single hour. The\u2026","rel":"","context":"In &quot;Security&quot;","block_context":{"text":"Security","link":"https:\/\/phpyouth.com\/blog\/category\/wordpress\/security\/"},"img":{"alt_text":"how to secure wordpress login page","src":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2026\/08\/Secure-the-WordPress-Login-Page.webp?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2026\/08\/Secure-the-WordPress-Login-Page.webp?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2026\/08\/Secure-the-WordPress-Login-Page.webp?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2026\/08\/Secure-the-WordPress-Login-Page.webp?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2026\/08\/Secure-the-WordPress-Login-Page.webp?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":7148,"url":"https:\/\/phpyouth.com\/blog\/rank-math-seo-features\/","url_meta":{"origin":4652,"position":4},"title":"16 Best Free Rank Math SEO Features You&#8217;re Not Using in 2026","author":"RK Jajoria","date":"May 23, 2024","format":false,"excerpt":"Rank Math is a free WordPress SEO plugin used for on-page optimization, schema markup, and technical SEO management. This guide covers 16 Rank Math features most site owners never turn on, including Content AI, Instant Indexing, and the Advanced Schema Generator. Quick answer: There are at least sixteen essential Rank\u2026","rel":"","context":"In &quot;SEO&quot;","block_context":{"text":"SEO","link":"https:\/\/phpyouth.com\/blog\/category\/seo\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2024\/05\/rank-math-seo-features.webp?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2024\/05\/rank-math-seo-features.webp?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2024\/05\/rank-math-seo-features.webp?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2024\/05\/rank-math-seo-features.webp?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2024\/05\/rank-math-seo-features.webp?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2024\/05\/rank-math-seo-features.webp?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":4650,"url":"https:\/\/phpyouth.com\/blog\/how-to-resolve-this-page-isnt-working-http-error-500\/","url_meta":{"origin":4652,"position":5},"title":"How to resolve &#8220;This Page isn&#8217;t Working &#8211; HTTP ERROR 500&#8221;","author":"RK Jajoria","date":"April 13, 2018","format":false,"excerpt":"Hello, friends, today we will learn how to resolve \"This Page isn't Working HTTP ERROR 500\". Last week, we got this error while shifting one of my websites from one server to another. However, there's no need to worry, WordPress has this common error, and we can easily resolve it.\u2026","rel":"","context":"In &quot;PHP&quot;","block_context":{"text":"PHP","link":"https:\/\/phpyouth.com\/blog\/category\/tutorial\/php\/"},"img":{"alt_text":"HTTP ERROR 500","src":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/04\/Copy-of-fresh-aquasummit.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/04\/Copy-of-fresh-aquasummit.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/04\/Copy-of-fresh-aquasummit.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]}],"jetpack_featured_media_url":"https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/03\/http-https-htaccess.png","_links":{"self":[{"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/posts\/4652","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/comments?post=4652"}],"version-history":[{"count":0,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/posts\/4652\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/media\/4659"}],"wp:attachment":[{"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/media?parent=4652"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/categories?post=4652"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/tags?post=4652"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}