https weirdness
-
Hi there,
I am running WordPress 3.3.2 on Debian stable (6.0.5 so far), served by apache2.
I want WordPress to act as a website (not a blog, so no post, or anything else)… And I also want the login page (hence mainly wp-admin) to be redirected to https for security reasons.
I read https://codex.wordpress.org/Administration_Over_SSL, and added:
define('FORCE_SSL_ADMIN', true);
to /etc/wordpress/config-my.fqdn.tld.php to that end.I also know that I have to enable https for my.fqdn.tld, so I have this wordpress-related config in /etc/apache2/sites-enabled/000-default:
Alias /ww2 /srv/www/my.fqdn.tld
and the same directive in /etc/apache2/sites-enabled/default-ssl:
Alias /ww2 /srv/www/my.fqdn.tld
My problems:
1 / All the links within the homepage redirect to https for some reason I don’t know about, while I want them to redirect to http (except the wp-admin page).
2/ As soon as I comment out (like this):
#Alias /ww2 /srv/www/my.fqdn.tld
in /etc/apache2/sites-enabled/default-ssl, the page loses all its formatting (too bad I can’t add a screenshot 🙁 ).
Note that all links still redirect to https, but none of them work anymore, since in disabled the Alias directive.I’m lost. Any help would be warmly welcomed 🙂
Thanks.
- The topic ‘https weirdness’ is closed to new replies.