Title: htttp link to https
Last modified: October 27, 2016

---

# htttp link to https

 *  [ronidaya](https://wordpress.org/support/users/ronidaya/)
 * (@ronidaya)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/htttp-link-to-https/)
 * I would like to change the following link from:
 * [http://fonts.googleapis.com/css?family=Roboto+Condensed:400,300](http://fonts.googleapis.com/css?family=Roboto+Condensed:400,300)
   
   to [https://fonts.googleapis.com/css?family=Roboto+Condensed:400,300](https://fonts.googleapis.com/css?family=Roboto+Condensed:400,300)
 * I use the following plugins to change my http to https
    1) Fix SSL/Non-SSL Links
   2) Really Simple SSL
 * I have added the following to my .htaccess file
    <IfModule mod_rewrite.c> RewriteEngine
   On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ [https://www.yoursite.com/$1](https://www.yoursite.com/$1)[
   R,L] </IfModule>
 * However the above link still slipped through and is accessing through http which
   causes a mixed content warning. I will be very grateful if someone can point 
   me in the right direction.
 * Kind regards
 * Roni Daya

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

 *  [ScottyMitch](https://wordpress.org/support/users/scott_mi/)
 * (@scott_mi)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/htttp-link-to-https/#post-8363539)
 * Hey Roni,
 * You will need to find the file that calls the Google fonts file and remove the
   http portion from it. For example:
    `function mytheme_enqueue_styles() {wp_register_style('
   googleFonts', 'http://fonts.googleapis.com/css?family=Copse');wp_enqueue_style('
   googleFonts');}`
 * becomes`function mytheme_enqueue_styles() {wp_register_style('googleFonts', '//
   fonts.googleapis.com/css?family=Copse');wp_enqueue_style( 'googleFonts');}`
 * Source article: [https://wptavern.com/wordpress-tip-how-to-load-google-fonts-over-ssl-and-non-ssl](https://wptavern.com/wordpress-tip-how-to-load-google-fonts-over-ssl-and-non-ssl)
    -  This reply was modified 9 years, 7 months ago by [ScottyMitch](https://wordpress.org/support/users/scott_mi/).
 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/htttp-link-to-https/#post-8363544)
 * Links to Google Fonts can typicaly be in theme files; so look in your theme files,
   such as index.php and functions.php.
 *  Thread Starter [ronidaya](https://wordpress.org/support/users/ronidaya/)
 * (@ronidaya)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/htttp-link-to-https/#post-8366264)
 * Thank you very much for your suggestions Scotty and Mark. I really appreciate
   it. I looked through my theme files but still didn’t manage to locate the file
   that calls the Google fonts file. I use the plug in Easy Google Fonts. Shall 
   I deactivate it and insert the code of the article into my functions.php file
   and use that to call up my google fonts? And if I do that I would rather change
   it in my Child theme. Does the code stay the same or do I need to add anything?
   Thanks a lot.
    -  This reply was modified 9 years, 7 months ago by [ronidaya](https://wordpress.org/support/users/ronidaya/).
 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/htttp-link-to-https/#post-8407674)
 * Deactivate the plugin and see if you still get the insecure element errors. If
   so, find another plugin; or mnanually enqueue the fonts in functions.php in the
   child theme.

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

The topic ‘htttp link to https’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/htttp-link-to-https/#post-8407674)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
