Title: HTTPS / SSL issue
Last modified: December 28, 2016

---

# HTTPS / SSL issue

 *  Resolved [websitesontwerpen](https://wordpress.org/support/users/websitesontwerpen/)
 * (@websitesontwerpen)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/https-ssl-issue/)
 * Hi there,
 * I would like to swtich to SSL, however the website has ‘mixed content’, including
   a refrence to [https://www.google-analytics.com/ga.js](https://www.google-analytics.com/ga.js),
   any suggestions how to fix this?

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [Michael v.d. Berg](https://wordpress.org/support/users/michaelvdberg/)
 * (@michaelvdberg)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/https-ssl-issue/#post-8604156)
 * You can resolve the mixed content to add the following code to your .htaccess
   file:
 * # BEGIN WordPress
 *  RewriteEngine On
    RewriteCond %{SERVER_PORT} !^443$ RewriteRule (.*) [https://%](https://%){
   HTTP_HOST}%{REQUEST_URI} [R=301,L] RewriteBase / RewriteRule ^index\.php$ – [
   L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule./
   index.php [L]
 * # END WordPress
 *  Thread Starter [websitesontwerpen](https://wordpress.org/support/users/websitesontwerpen/)
 * (@websitesontwerpen)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/https-ssl-issue/#post-8610742)
 * Thanks for your support Michael,
    unfortunately this results in an error:
 * >  Internal Server Error
   > The server encountered an internal error or misconfiguration and was unable
   > to complete your request.
   > Please contact the server administrator, [no address given] and inform them
   > of the time the error occurred, and anything you might have done that may have
   > caused the error.
   > More information about this error may be available in the server error log.
 * Is there another .htaccess example?
 *  [Michael v.d. Berg](https://wordpress.org/support/users/michaelvdberg/)
 * (@michaelvdberg)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/https-ssl-issue/#post-8613957)
 * Hmm… Something interisting. Did you have already bought a SSL Certificate? Maybe
   you can follow this instruction [http://www.wpbeginner.com/wp-tutorials/how-to-add-ssl-and-https-in-wordpress/](http://www.wpbeginner.com/wp-tutorials/how-to-add-ssl-and-https-in-wordpress/).
 * I could have a look at your site, but I have to get the URL of your domainname
   to see what the problem could be.
 *  Plugin Author [chriscct7](https://wordpress.org/support/users/chriscct7/)
 * (@chriscct7)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/https-ssl-issue/#post-8616341)
 * Hi there,
    If you’re trying to go to SSL, you should not need to worry about 
   the Google Analytics script, as it loads over https, thus you wouldn’t get a 
   mixed content warning from our plugin. If you need help switching over to SSL
   in general, I’d recommend the WPBeginner article linked to above
 * -Chris
 *  [Bruno Moreira Guedes](https://wordpress.org/support/users/thbmatrix/)
 * (@thbmatrix)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/https-ssl-issue/#post-8620072)
 * Hello,
 * Same issue here. I did a lot of things while trying to figure out why the authentication
   process wasn’t working LOL. [@chriscct7](https://wordpress.org/support/users/chriscct7/),
   a instruction for the user to check if there is any warning would be very helpful!
 * Best regards,
    Bruno
    -  This reply was modified 9 years, 5 months ago by [Bruno Moreira Guedes](https://wordpress.org/support/users/thbmatrix/).
      Reason: wrong user name
 *  Thread Starter [websitesontwerpen](https://wordpress.org/support/users/websitesontwerpen/)
 * (@websitesontwerpen)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/https-ssl-issue/#post-8647079)
 * Thanks for all your support.
 * The instruction helped a lot, and installing plugin ‘[Really Simple SLL](https://wordpress.org/plugins/really-simple-ssl/)‘
   made everything work as hoped.
 * Thanks so much.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘HTTPS / SSL issue’ is closed to new replies.

 * ![](https://ps.w.org/google-analytics-for-wordpress/assets/icon.svg?rev=2976619)
 * [MonsterInsights - Google Analytics Dashboard for WordPress (Website Stats Made Easy)](https://wordpress.org/plugins/google-analytics-for-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-analytics-for-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-analytics-for-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/google-analytics-for-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-analytics-for-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-analytics-for-wordpress/reviews/)

## Tags

 * [HTTPS](https://wordpress.org/support/topic-tag/https/)
 * [SSL](https://wordpress.org/support/topic-tag/ssl/)

 * 6 replies
 * 4 participants
 * Last reply from: [websitesontwerpen](https://wordpress.org/support/users/websitesontwerpen/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/https-ssl-issue/#post-8647079)
 * Status: resolved