[resolved] Secure Connection ( SSL / HTTPS ) (6 posts)

  1. Michael86
    Posted 5 years ago #

    Currently Using: WordPress 3.0

    Plugin's attempted to use:
    - HTTPS for WordPress
    - Force SSL

    Security Certificate: COMODO EV SSL

    On my website ( http://at-riskyouth.org ) i have the main site which tons of pages and attached to our site is our store (WP E-Commerce) and within our store we have our checkout page. On our site, the ONLY page that we want secured is the checkout page, no others pages.

    I went into the database and changed the GUID of the Checkout Page to "https://..." and made sure all other pages and settings say "http://...". In the .htaccess file i have the following code:

    # BEGIN Custom Code
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{SERVER_PORT} 80
    RewriteCond %{REQUEST_URI} /products/checkout/
    RewriteRule ^(.*)$ https://at-riskyouth.org/$1 [R,L]
    # END Custom Code

    Basically saying if you are on a unsecured port and accessing the checkout page, redirect to a secured port.

    The issue: The secured page is not secured because there are elements on that page that are originating from unsecure locations. All of the elements that i can change, have been. The only ones left are a couple from varies plugins (.js / .css files). I *could* go into the code of each plugin and change the link to https://.. instead of http://... but whenever an update is release i would have to go back and redo that change. Which becomes an extreme pain in my ass, so i really dont want to do that.

    Any ideas of how to fix this? I would assume that the correct and most effecient way of doing this would be adding a bit of code to the htaccess file, but i may be wrong. Anyone know of that code or perhaps a plugin that might work?

  2. Michael86
    Posted 5 years ago #

    Bump - Still need help!

  3. Michael86
    Posted 5 years ago #

    Bump - Anyone out there? Testing 1 2 3...

  4. Mike Ems
    Posted 5 years ago #

    I had this exact same problem... so I wrote a plugin to fix it. I use a slightly different method of fixing insecure elements that are being loaded by plugins that the HTTPS for WordPress can't fix. HTTPS for WordPress' functionality is built into WordPress now, so the plugin serves no purpose.


  5. Michael86
    Posted 5 years ago #

    Thank you! Thank you! Thank you! Thank you! Thank you!

    You are a life saver!

  6. Mike Ems
    Posted 5 years ago #

    Not a problem! I'm glad my plugin has been useful.

    Don't forget to rate and such! It'll help my plugin reach out to more people in need.

    Thanks for downloading, and let me know if you run into any issues.

Topic Closed

This topic has been closed to new replies.

About this Topic