WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. alexanderacook
    Member
    Posted 5 years ago #

    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

  2. Mindshare Studios, Inc.
    Member
    Posted 4 years ago #

    Ever find a solution?

  3. Masselyn
    Member
    Posted 4 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic