WordPress.org

Support

Support » Plugins and Hacks » Non-SSL host problem with FORCE_SSL_ADMIN

Non-SSL host problem with FORCE_SSL_ADMIN

Viewing 12 replies - 1 through 12 (of 12 total)
  • I have SSL forced on a couple of pages and the plugin settings set to revert back to HTTP on other pagers. But this isn’t happening when the user switches from a page viewed via HTTPS and I get a certificate error message. I have tried to disable and re-enable the plugin without change. Any suggestions as to what else I might do, or is this a error of the plugin?

    I have the same issue. When for the site coss.fi I enabled the plugin option “force SSL” and in the field SSL host there is “coss.seravo.fi” the redirects look like this:

    $ curl -I http://coss.fi/wp-admin/
    HTTP/1.1 301 Moved Permanently
    Location: https://coss.seravo.fi/wp-admin/
    [..]
    
    $ curl -I https://coss.seravo.fi/wp-admin/
    HTTP/1.1 302 Found
    Location: https://coss.fi/wp-login.php?redirect_to=https%3A%2F%2Fcoss.seravo.fi%2Fwp-admin%2F&reauth=1
    [..]

    The first redirect is OK but then the second not. It should not at this point jump back to wrong hostname. After login the redirect again goes to the correct location https://coss.seravo.fi/

    I tested removing the plugin. The same redirect stupidness presists, so it is not directly the fault of the plugin, but more like that I expected the plugin (based on that it asks the SSL host in the settings view) to handle this and disable the default WordPress wp-login.php redirect thing.

    Next I’m going to try something like this: http://wordpress.org/support/topic/wordpresscom-like-setup-ssl-problem?replies=6#post-4428213

    esmi

    @esmi

    Forum Moderator

    @otto Kekäläinen: If you require assistance then, as per the Forum Welcome, please post your own topic.

    @esmi: the forum welcome states: “Unless you are using the same version of WordPress on the same physical server hosted by the same hosts with the same plugins, theme & configurations as the original poster, do not post in someone else’s thread.”

    As I am posting about the same issue this is the correct place to discuss it. For the same issue one thread will have all discussions and eventually the solution. Am am sure whoever wrote the forum welcome text did not aim to have same issues duplicated in multiple different discussion threads.

    esmi

    @esmi

    Forum Moderator

    So you are using the same version of WordPress on the same physical server hosted by the same hosts with the same plugins, theme & configurations as the original poster?

    @esmi: Yes, that’s exactly the case here.

    esmi

    @esmi

    Forum Moderator

    How do you know what server the original poster is using?

    Moderator Jan Dembowski

    @jdembowski

    Volunteer Mod. & Brute Squad

    Also you may want to make sure you have the same revision of OpenSSL, same PEAR modules, same activated PHP modules, same cURL (if this plugin uses cURL), and same Apache2 modules and versions as the original poster. 😉

    For the same issue one thread will have all discussions and eventually the solution.

    Look, it’s not that moderators don’t want you to solve problems and if you’re contributing to solving Zuige’s issue then that’s great. Fantastic in fact.

    But if you are looking for a solution to your problem then that might be something that you can better accomplish with your own topic. That’s all that’s being said.

    Note: Before you reply keep in mind that we’re not trying to wind you up or prevent you from contributing to this topic and want to keep this conversation going forward. But please interact with Zuige to solve his problem. This is his topic after all.

    Moderator Jan Dembowski

    @jdembowski

    Volunteer Mod. & Brute Squad

    Back to the original topic: Zuige can you provide us with real URLs? I want to look at the SSL cert and the redirection just to level set and confirm Otto’s (this Otto in the thread) steps.

    I ended up writing a plugin to solve this issue. @mrbimble does this plugin solve your need too?

    https://github.com/Seravo/wp-https-domain-alias

    Now it is wordpress.org official: http://wordpress.org/plugins/https-domain-alias/

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Non-SSL host problem with FORCE_SSL_ADMIN’ is closed to new replies.