WordPress.org

Ready to get started?Download WordPress

Forums

WordPress HTTPS / need htaccess help? (2 posts)

  1. BeautyPirate
    Member
    Posted 2 years ago #

    Hey ya,

    I´m having problems with the WordPress HTTPS Plugin, it says:

    Unsecure External Content
    http://images.mydomain.com/2012/03/XXX.jpg
    http://images.mydomain.com/2012/02/XXX.jpg
    http://images.mydomain.com/2012/02/XXX.jpg
    http://images.mydomain.com/2012/03/XXX.jpg
    http://images.mydomain.com/2012/03/XXX.jpg
    http://images.mydomain.com/2012/03/XXX.jpg
    http://analytics.mydomain.com/piwik.php?idsite=1

    I can reroute all these files via SSL proxy, no problem but how do
    I do that ONLY on SSL secured pages? I don´t want my images delivered via https in general. Is there a htacces rule that
    can define this?

    Admin runs over SSL now but it´s not LOCKED.
    Same for Contact page.

    Any help would be great!

  2. BeautyPirate
    Member
    Posted 2 years ago #

    RewriteEngine On
    RewriteCond %{HTTPS} on
    RewriteBase (.*) http://images.mydomain.com/%{REQUEST_URI}
    RewriteBase (.*) http://analytics.mydomain.com/%{REQUEST_URI}
    RewriteRule (.*) https://ssl.provider.com/%{REQUEST_URI}

    This did not work...

Topic Closed

This topic has been closed to new replies.

About this Topic