I have a development server running WordPress and I have it running on a non standard port (8080). I have therefore set the site url to dev.example.com:8080
The login page makes the redirect to https, so it POSTs to https://dev.example.com:8080 but of course that won’t work.
I would like either:
– To have login over HTTP only (it’s a dev server, so security isn’t an issue)
– Or preferably to have login over https anyway (SSL is running on my dev machine OK) but to not have the port come up as 8080 because that’s no good for https.
I have tried using .htaccess to redirect https URLs but because I’m behind a NAT router that isn’t working (maybe my redirect voodoo was wrong though).
I have tried stopping WordPress from using HTTPS at all but I’m stuck, I saw this page http://wordpress.stackexchange.com/questions/4720/wp-login-php-redirecting-to-https but my user meta table looks OK…
It seems there is no way to tell WordPress you’re on a different port… should I just maybe let WordPress think it’s running on port 80 and redirect everything to 8080 from .htaccess instead?
- The topic ‘wp-login POST to https but http on different port (not port 80)’ is closed to new replies.