All pages being redirected to / from https
-
Great plugin with excellent functionality. However, I have some sections of my site that need to be secure and PMP seems to redirect all pages to http regardless of whether that page has anything to do with the plugin. This is pretty invasive behavior, it should not redirect pages it does not create.
As it is, I am unable to use any other plugins to manage ssl due to redirect loops. The culprits appear to be these functions that hook into the WP init actions:
add_action(‘wp’, ‘pmpro_besecure’, 2);
add_action(‘login_init’, ‘pmpro_besecure’, 2);I commented both out and now I am able to specify which pages need to be secure again using the WordPress HTTPS plugin, including the PMP pages. The way the function pmpro_besecure is written will redirect every page on the site to or from http or http.
My question is whether there is a better way to do this without modifying the core files. Second question would be whether this will break the plugin.
Thanks!
The topic ‘All pages being redirected to / from https’ is closed to new replies.