The subdomain of my website is redirecting in this way – https://www.example.com/blog How do I get it in this format? – https://www.blog.example.com Since I have put this code in my website, I am having this problem. RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ...