WordPress.org

Ready to get started?Download WordPress

Forums

Can't get FORCE_SSL_ADMIN or FORCE_SSL_LOGIN to work (2 posts)

  1. kcypher42
    Member
    Posted 5 years ago #

    I’m trying to get FORCE_SSL_ADMIN (or FORCE_SSL_LOGIN, for that matter) to work on my fresh install of WordPress 2.7. SSL is set up & working in Apache, and I’ve added the define statement in wp-config.php, but it doesn’t seem to make a difference, as it doesn’t force the login to go to SSH. What am I missing?

    Thanks,
    Kurt

  2. kcypher42
    Member
    Posted 5 years ago #

    OK, I think I've got it figured out. I had to do the following two things before FORCE_SSL_ADMIN began to work:
    - moved the define statement to a place in wp-config.php BEFORE where it calls wp-settings.php
    - configured Apache's SSL setup to include an alias that points to the non-SSL location of the wordpress directory

    For some reason, I still can't get FORCE_SSL_LOGIN to work, but that's not necessarily a problem, as we want the more secure option of FORCE_SSL_ADMIN anyhow.

    Kurt

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags