Support » Plugin: Paid Memberships Pro » [Plugin: Paid Memberships Pro] SSL Seal (and no, this isnt a duplicate)

  • Resolved manor7777



    i know you only answer certain questions here, but i’m really stuck. Before installation of PMPro, my website would happily use SSL (as in, https://domain.ext) – Since installing, its forcing my website to use regular http all over, which i don’t like. i have enabled the option to use ssl, but when i refresh the page, it reverts back to “No” rather than the yes i pressed save on…. using latest everything, wordpress, pmpro etc… (and it’s only your plugin forcing this) – i did a whole new installation to test.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Also, website rund fine in https again when i disable pmpro

    Plugin Author Jason Coleman


    Hi, this is by design. Only the checkout pages will be locked down by SSL. However, you can override it in a couple ways.

    You can add a “besecure” custom field to a page or post and set it to “1”, which will tell Paid Memberships Pro to serve that page over SSL.

    You can also set the FORCE_SSL_LOGIN and FORCE_SSL_ADMIN definitions per these instructions:

    Or you can set PMPro to force everything to run over SSL by adding this code in a plugin or your functions.php:

    function my_pmpro_besecure($besecure)
        return true;
    add_filter("pmpro_besecure", "my_pmpro_besecure");

    Hope this helps.

    John Parris



    I was having this problem and just spent 30 minutes trying to figure out what was going on. I came here to post a question and found this.

    In my opinion, if a site is configured to run on SSL, the plugin should not touch that behavior at all. In fact, without the code in the post above this one, it *breaks* existing SSL-only sites as soon as this plugin is activated.

    Thanks for sharing the code to fix this, but this plugin shouldn’t be breaking existing https sites by force redirecting to http, especially when the site is configured in Settings > General as https.

    Plugin Author Jason Coleman


    mindctrl, part of the problem is that it’s not easy for PMPro to know how a site is “configured” for HTTP/HTTPS. There are lots of configuration (full site, login only, admin only, just checkout).

    However, you make a good point that if we see an https in the “WordPress address” and “Site Address” URLs, we might assume that the entire site is on HTTPS/SSL and auto apply code like the above.

    I will think about this more and try to bundle it into the next version of the plugin. It should play well with the fix above if you are already using that.

    Plugin Author Jason Coleman


    FYI, version 1.5.2 will have an update that will force HTTPS if the siteurl option (as set in the wp_options table) includes https:.

    1.5.2 should be out by the end of the week or so.

    Marking this thread as resolved.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Paid Memberships Pro] SSL Seal (and no, this isnt a duplicate)’ is closed to new replies.