WordPress.org

Support

Support » How-To and Troubleshooting » Force a page over ssl (Admin SSL plugin not working)

Force a page over ssl (Admin SSL plugin not working)

  • Hi!

    I really need to get a page running over SSL.

    I tried adding this to my header file:

    <?php
    if(is_page('purchase-a-share'))
    {
    	if($_SERVER["HTTPS"] != "on")
    	{
    		$newurl = "https://www.mysite.org/purchase-a-share";
    		header("Location: $newurl");
    		exit();
    	}
    }
    ?>

    That does not work because some of the content is not authenticated (since wordpress echo’s out http:// paths).

    I also tried the Admin SSL plugin. I’m using WP 2.8 and it’s not working – it’s causing a redirect loop.

    So, does anyone have a solution for this?

    Thanks in advance

Viewing 2 replies - 1 through 2 (of 2 total)
  • Ever find a solution?

    Wish I had a better solution, but I had a client running 2.9 and the Admin SSL plugin was working really well for them. They wanted to secure the cart pages, but not the rest of the site. Can you upgrade to the newer WP version? It might help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Force a page over ssl (Admin SSL plugin not working)’ is closed to new replies.
Skip to toolbar