Forums

Bill
Bill
Offline
Resolved
0 votes
I first have an htaccess file working for the main domain. that file is in its directory.

my sub domain is setup this way blog.example.com

I created its own htaccess file

I have attempted several solutions to no avail. the last one being this

RewriteEngine On
RewriteCond %{HTTP_HOST} ^blog\.example\.com [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://blog.example.com/$1 [R,L]

The above fails. I would greatly appreciate any thoughts on a solution for the redirect.

Thank you!
Sunday, December 15 2019, 03:06 PM
Share this post:
Responses (0)
  • There are no replies here yet.
Your Reply