Title: Redirecting http to https problems
Last modified: August 20, 2016

---

# Redirecting http to https problems

 *  [emptyvessal](https://wordpress.org/support/users/emptyvessal/)
 * (@emptyvessal)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/redirecting-http-to-https-problems/)
 * Hi realy need help getting my site to redirect to https so my site is safe for
   online shoppers. Tried using the http plugin but that is not working and i get
   redirect loops when i try and force the front page to https. Also tried changing
   the URL to https that does not work either. I just need my checkout and front
   page to be encrypted to give customers reaasurance of security. At moment i either
   get no https or partial encrypted message from browsers eg fire fox and google
   chrome.
 * Please Please help!

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

 *  [Christi Nickerson](https://wordpress.org/support/users/christini/)
 * (@christini)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/redirecting-http-to-https-problems/#post-2393770)
 * Hi emptyvessal,
 * Just to be clear, have you purchased an SSL certificate for your site or does
   your host provide a shared SSL certificate for the server? If you do not have
   an SSL certificate, you won’t be able to use https for your site.
 * The FAQ for WordPress HTTPS (SSL) plugin has steps to take to solve partially
   encrypted/mixed content errors:
 * [http://wordpress.org/extend/plugins/wordpress-https/faq/](http://wordpress.org/extend/plugins/wordpress-https/faq/)
 * If that still doesn’t work and your host uses cPanel, you can actually force 
   this redirect through cPanel redirects (which simply modifies your .htaccess 
   file):
 * [http://www.webhostinghub.com/support/website/ssl/force-website-to-use-ssl](http://www.webhostinghub.com/support/website/ssl/force-website-to-use-ssl)
 * Hope this helps!
 *  Thread Starter [emptyvessal](https://wordpress.org/support/users/emptyvessal/)
 * (@emptyvessal)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/redirecting-http-to-https-problems/#post-2393826)
 * Hi there yes i do have a ssl cert from 123reg.co.uk and i have read the FAQ and
   spoke to the guy who made the plugin he said it could be a bug that is make me
   get the redirect loop, im just trying to get my head around all this code stuff,
   i will try what u said about the cpanel at my hosting. Read there is a way to
   change the htaccess code but wasnt sure where or what to change even after seeing
   an explanation. thanks for help !
 *  Thread Starter [emptyvessal](https://wordpress.org/support/users/emptyvessal/)
 * (@emptyvessal)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/redirecting-http-to-https-problems/#post-2393831)
 * is cpanel control panel? i cant see a redirects option
 *  Thread Starter [emptyvessal](https://wordpress.org/support/users/emptyvessal/)
 * (@emptyvessal)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/redirecting-http-to-https-problems/#post-2393834)
 * RewriteEngine On
 * RewriteCond %{HTTP_HOST} ^vitalherbs.co.uk$ [NC,OR]
    RewriteCond %{HTTP_HOST}
   ^www.vitalherbs.co.uk$ [NC] RewriteCond %{REQUEST_URI} !^/website/ RewriteRule
   ^(.*)$ /website/ [L]
 * my current htaccess
    what needs to change to make it redirect to https?
 *  [Christi Nickerson](https://wordpress.org/support/users/christini/)
 * (@christini)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/redirecting-http-to-https-problems/#post-2393839)
 * Hi emptyvessal,
 * Yes, cPanel is short for Control Panel. If your host doesn’t offer a redirects
   option, you can manually add the redirect to your .htaccess file:
 *     ```
       RewriteEngine On
       RewriteCond %{SERVER_PORT} 80
       RewriteRule ^(.*)$ https://www.domain.com/$1 [R,L]
       ```
   
 * Be sure to replace [http://www.domain.com](http://www.domain.com) with your actual
   domain name.
 * Hope this helps!
 *  [Christi Nickerson](https://wordpress.org/support/users/christini/)
 * (@christini)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/redirecting-http-to-https-problems/#post-2393840)
 * Sorry emptyvessal,
 * Only try adding this part only just below RewriteEngineOn:
 *     ```
       RewriteCond %{SERVER_PORT} 80
       RewriteRule ^(.*)$ https://www.domain.com/$1 [R,L]
       ```
   
 *  Thread Starter [emptyvessal](https://wordpress.org/support/users/emptyvessal/)
 * (@emptyvessal)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/redirecting-http-to-https-problems/#post-2393928)
 * Hi i added that to my htacces file now my site is ok in firefox (but still only
   partialy encrypted) but in Google chrome i get a redirect loop and it wont load!
 * Is this how you meant to add the code? Thats my htaccess file as it is now.
 * RewriteEngine On
 * RewriteCond %{SERVER_PORT} 80
    RewriteRule ^(.*)$ [https://www.vitalherbs.co.uk/$1](https://www.vitalherbs.co.uk/$1)[
   R,L]
 *  [Christi Nickerson](https://wordpress.org/support/users/christini/)
 * (@christini)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/redirecting-http-to-https-problems/#post-2394001)
 * Hi emptyvessal,
 * I checked out your site and I’m not seeing a redirect loop in Chrome. Glad to
   see you were able to resolve this. Did you use a different .htaccess code or 
   a plugin?
 * Thanks!
 *  Thread Starter [emptyvessal](https://wordpress.org/support/users/emptyvessal/)
 * (@emptyvessal)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/redirecting-http-to-https-problems/#post-2394023)
 * hi there i had to get rid of the code in my htaccess file and put it back to 
   what it was originally. I just have a older version of the https plugin 1.8 but
   i still cant get my front page to be https. If i type vitalherbs.co.uk into my
   browser the site loads non encrypted but if i click say blog then go back to 
   front page it says it is encrypted ??????? why is this? And google chrome the
   same happens, but my store page is not encrypted in either due to a Sharethis
   which is built into my template i cant seem to find where to remove it.
 *  [Christi Nickerson](https://wordpress.org/support/users/christini/)
 * (@christini)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/redirecting-http-to-https-problems/#post-2394029)
 * Hello again emptyvessal,
 * When you go back to your front page you are likely clicking on one of the links
   that is linked using https instead of http which is why you are seeing https 
   instead of http in the address bar.
 * I don’t think it’s really necessary for the front page of your site to be through
   https. I would be more concerned about where users have to input personal/private
   information (like the log in page or checkout page). Keep in mind that anytime
   you are calling a page through https that any files linked from that page also
   need to be called through https or it breaks https.
 * For instance, I saw this on at lest one of your pages you were calling through
   https:
 * `<style type="text/css">@import url("http://fonts.googleapis.com/css?family=Just
   +Another+Hand");</style>`
 * If it’s a plugin causing that, you will want to check with the plugins developer
   on the best way to fix that.
 * Also, did you change your home url and site url to use HTTPS instead of HTTP (
   I find editing the wp-config.php file to be the easiest)?
 * Would either of these plugins help?
 * [http://wordpress.org/extend/plugins/https-for-wordpress/](http://wordpress.org/extend/plugins/https-for-wordpress/)
 * [http://wordpress.org/extend/plugins/wpssl/](http://wordpress.org/extend/plugins/wpssl/)
 * Hope this helps and good luck!
 *  Thread Starter [emptyvessal](https://wordpress.org/support/users/emptyvessal/)
 * (@emptyvessal)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/redirecting-http-to-https-problems/#post-2394034)
 * hi its a new widget i added today it seems thats now causing a prob grrrrrrrrrrrrrrr
   thanks for the help ive emailed the people who make it to see if anything can
   be done
 *  [alesub](https://wordpress.org/support/users/alesub/)
 * (@alesub)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/redirecting-http-to-https-problems/#post-2394139)
 * I’m having the same issue, got the urls set to https in all the database, got
   the https plugin installed and still when entering to the main url without https
   in the url, the site just loads and no redirection is made. If I place the redirect
   code on the htaccess, I get the “too many redirects” error.
 *  [sunriseweb](https://wordpress.org/support/users/sunriseweb/)
 * (@sunriseweb)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/redirecting-http-to-https-problems/#post-2394142)
 * The suggestion above in this thread worked for me on [https://mommiesfirst.com](https://mommiesfirst.com)
 * Only try adding this part only just below RewriteEngineOn:
 *     ```
       RewriteCond %{SERVER_PORT} 80
       RewriteRule ^(.*)$ https://www.domain.com/$1 [R,L]
       ```
   

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

The topic ‘Redirecting http to https problems’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 13 replies
 * 4 participants
 * Last reply from: [sunriseweb](https://wordpress.org/support/users/sunriseweb/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/redirecting-http-to-https-problems/#post-2394142)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
