How do I redirect the https version of the root domain? #3581
-
How do I redirect https://sho.rt (example) to google.com? I currently have a index.php script with the following code:
This only redirects the http root domain, but not the https. How do I redirect both the secure and regular http? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Ensure both http and https handlers in your webserver use the same document root & index file configuration. You'll have to be more specific about what's going wrong with the https redirect if that doesn't help. BTW, using |
Beta Was this translation helpful? Give feedback.
Thanks for the quick reply! Turns out my short domain didn't have a SSL cert. Once I added that, it worked as intended!