I have a problem with a wordpress site on a server I admin. I don't know anything about wordpress however.
My problem is that we want the site to be accessed over https, bot somehow all requests to https:// URLs are answered by the server with a 302, redirecting to http.
The wordpress site itself is configured to use https, and we see that in the pages that are generated the links are all https links.
In the apache config there are no rewrite rules and no redirects.
However, any request to a https:// URL is answered with a redirect to the equivalent http URL. And I really would like to know where these redirects are coming from, what is generating these redirects.
I've increased the loglevel on the webserver to DEBUG, but did not get any info there. I tried to enable debug logging in wordpress per the recipy I found here: http://codex.wordpress.org/Debugging_in_WordPress But did not get a debug.log file in the directory where one should appear.
I'm really at a loss here, and need to fix this urgently.
Any hints as where to start looking?
Apache is 2.2.14 on Ubuntu. There are several other virtual hosts on this server, using php and https without any problem...
Edit: I created a small info.php script and dropped that in the webservers' root. Calling this yields the output of the script, no redirect is generated. This suggest that it's not the webserver, but wordpress that is doing it.
A second thing I noticed is that the redirect comes with several cookies, one of which has "httponly" set. Could that be it?
I've tried adding this to the wp-config.php:
define('WP_HOME','https://www.domain.com/');
define('WP_SITEURL','https://www.domain.com/');
This did not change a thing...
0 Answers