Force redirect to https
-
I have a site that is using ssl and https. If I access a page without https the server redirects to https. The problem is if I access a page without http like this example
mysite.com/protected
Then the link to Custom Login will be like this
https://mysite.com/wp-login.php?redirect_to=http%3A%2F%2Fmysite.com%2Fprotectedand that is not the page I entered username and password for. I would like the redirect part to be redirect_to=https%3A%2F%2Fmysite.com%2Fprotected
How can this be done?
/Erik
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Force redirect to https’ is closed to new replies.