WordPress redirects to http, though settings for https
-
Hi
Sorry for the lengthy explanation…I have built (my first) WordPress blog site to my wife and has run into big problem. I started to set it up using https://site.net and after a while got it up and even got the https working. The server is in our own home network so from inside I though it would be great to address it with say https://home.site.net and my wife started to add contents.
But then she found out that WordPress has made all the links also in the form of full URL using that in-house only host name (instead of relative addresses which would have worked just fine…). So I decided, let’s forget the home.site.net and just make a hosts setting to address the site from different IP (as the public doesn’t work in our network). But for a reason I can’t figure, the https doesn’t work anymore at all.
I even made another fresh install aside with a plain vanilla installation but the same problem haunts even there. I have restarted nginx ha php-fpm. Heck I even booted the Linux server, which never helps (nor did this time) but I am desperate!
If I try to curl -v https://www.site.net it starts OK, but then spits out: X-Redirect-By: WordPress and then Location: https://www.site.net. With curl that cannot be a browser cache error and I cannot find any reference in the config files nor in the wp_options table, there both siteurl as well as home are pointing to https. What can be the problem here? Is there any “internal” cache of WordPress that could be “emptied” like in Drupal?
I couldn’t give the link to the page as – well the page just doesn’t show up.
I have been making websites and apps for tens of years (Drupal, Sharepoint and mostly self-programmed from the scratch) so I should be able to figure this out but just cannot. Any ideas?
- The topic ‘WordPress redirects to http, though settings for https’ is closed to new replies.