WPBeginner

Beginner's Guide for WordPress

  • Blog
    • Beginners Guide
    • News
    • Opinion
    • Showcase
    • Themes
    • Tutorials
    • WordPress Plugins
  • Start Here
    • How to Start a Blog
    • Create a Website
    • Start an Online Store
    • Best Website Builder
    • Email Marketing
    • WordPress Hosting
  • Deals
  • Glossary
  • Videos
  • Products
X
☰
Beginner's Guide for WordPress / Start your WordPress Blog in minutes
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
Recommended
WordPress Plugins
View all Guides

WPBeginner» Blog» Tutorials» How to Properly Move WordPress from HTTP to HTTPS (Beginner’s Guide)

How to Properly Move WordPress from HTTP to HTTPS (Beginner’s Guide)

Last updated on February 14th, 2019 by Editorial Staff
1.3k Shares
Share
Tweet
Share
Pin
Special WordPress Hosting offer for WPBeginner Readers
How to Properly Move WordPress from HTTP to HTTPS (Beginner’s Guide)

Are you looking to move WordPress from HTTP to HTTPS and install an SSL certificate on your website? We have been getting a lot of requests on this topic because Google announced that Chrome browser will start marking all websites without SSL as insecure starting July 2018. In this article, we will show you how to properly move WordPress from HTTP to HTTPs by adding a SSL certificate.

Moving WordPress from HTTP to HTTPS / SSL

Don’t worry, if you have no idea what SSL or HTTPS is. We’re going to explain that as well.

What is HTTPS?

HTTPS or Secure HTTP is an encryption method that secures the connection between users’ browser and your server. This makes it harder for hackers to eavesdrop on the connection.

Every day we share our personal information with different websites whether it’s making a purchase or simply logging in.

In order to protect the data transfer, a secure connection needs to be created.

That’s when SSL and HTTPS come in.

Each site is issued a unique SSL certificate for identification purposes. If a server is pretending to be on HTTPS, and its certificate doesn’t match, then most modern browsers will warn the user from connecting to the website.

Insecure website warning

Now you are probably wondering, why do I need to move my WordPress site from HTTP to HTTPS specially if it’s a simple blog or small business website that doesn’t collect any payments.

Why do you need HTTPS and SSL?

Last year Google announced a plan to improve overall web security by encouraging website owners to make the switch from HTTP to HTTPS. As part of this plan, their popular Chrome web browser would mark all websites without a SSL certificate as “Not Secure” starting July 2018.

Chrome HTTP Not Secure

As part of the announcement, Google also said that websites with SSL will also see SEO benefits and higher rankings. Since last year, a large number of websites have switched from HTTP to HTTPS.

Google has been slowly rolling out the “Not Secure” warning in Chrome. For example, if someone visits a HTTP website using the incognito window, it will be marked as Not Secure. If someone visits a HTTP website on regular mode and tries to fill out a contact form or another form, then the website will be marked as insecure.

When your readers and customers see this notice, it gives them a bad impression for your business.

This is why all websites need to move form HTTP to HTTPS and install SSL immediately.

Not to mention, if you want to accept payments online on your eCommerce website, then you need SSL.

Most payment companies like Stripe, PayPal Pro, Authorize.net, etc will require you to have a secure connection before accepting payments.

We use SSL for our websites including WPBeginner, OptinMonster, WPForms, and MonsterInsights.

Requirements for using HTTPS/SSL on a WordPress Site

The requirements for using SSL in WordPress is not very high. All you need to do is purchase an SSL certificate, and you might already have it for free.

The best WordPress hosting companies are offering free SSL certificates for all their users:

  • Bluehost
  • SiteGround
  • WPEngine
  • Liquid Web
  • Dreamhost
  • InMotion Hosting
  • GreenGeeks

For more details, see our guide on how to get a free SSL certificate for your WordPress website.

If your hosting company does not offer a free SSL certificate, then you’ll need to purchase an SSL certificate.

We recommend using GoDaddy because they are the largest domain name registration service in the world, managing more than 76 million domains.

By purchasing a SSL certificate from them, you also get a McAfee secure seal for your website.

Once you have purchased an SSL certificate, you will need to ask your hosting provider to install it for you.

Setting up WordPress to Use SSL and HTTPs

After you have enabled SSL certificate on your domain name, you will need to set up WordPress to use SSL and HTTPs protocols on your website.

We will show you two methods to do that, and you can choose one that best fits your need.

Method 1: Setup SSL/HTTPS in WordPress Using a Plugin

This method is easier and is recommended for beginners.

First, you need to install and activate the Really Simple SSL plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, you need to visit Settings » SSL page. The plugin will automatically detect your SSL certificate, and it will set up your WordPress site to use HTTPs.

SSL enabled on a WordPress website

The plugin will take care of everything including the mixed content errors. Here’s what the plugin does behind the scenes:

  • Check SSL certificate
  • Set WordPress to use https in URLs
  • Set up redirects from HTTP to HTTPs
  • Look for URLs in your content still loading from insecure HTTP sources and attempt to fix them.

Note: The plugin attempts to fix mixed content errors by using output buffering technique. It can have a negative performance impact because it’s replacing content on the site as the page is being loaded. This impact is only seen on first-page load, and it should be minimal if you are using a caching plugin.

While the plugin says you can keep SSL and safely deactivate the plugin, it’s not 100% true. You will have to leave the plugin active at all times because deactivating the plugin will bring back mixed content errors.

Method 2: Setup SSL/HTTPS in WordPress Manually

This method requires you to troubleshoot issues manually and edit WordPress files. However this is a permanent and more performance optimized solution. This is what we’re using on WPBeginner.

If you find this method difficult, then you can hire a WordPress developer or use the first method instead.

As part of this method, you may need to edit WordPress theme and code files. If you haven’t done this before, then see our guide on how to copy and paste code snippets in WordPress.

First, you need to visit Settings » General page. From here you need to update your WordPress and site URL address fields by replacing http with https.

Update WordPress URLs

Don’t forget to click on the ‘Save changes’ button to store your settings.

Once the settings are saved, WordPress will log you out, and you will be asked to re-login.

Next, you need to set up WordPress redirects from HTTP to HTTPS by adding the following code to your .htaccess file.

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</IfModule>

If you are on nginx servers (most users are not), then you would need to add the following code to redirect from HTTP to HTTPS in your configuration file:

server {
listen 80;
server_name example.com www.example.com;
return 301 https://example.com$request_uri;
}

Don’t forget to replace example.com with your own domain name.

By following these steps, you will avoid the WordPress HTTPS not working error because WordPress will now load your entire website using https.

If you want to force SSL and HTTPS on your WordPress admin area or login pages, then you need to configure SSL in the wp-config.php file.

Simply add the following code above the “That’s all, stop editing!” line in your wp-config.php file:

define('FORCE_SSL_ADMIN', true);

This line allows WordPress to force SSL / HTTPs in WordPress admin area. It also works on WordPress multisite networks.

Once you do this, your website is now fully setup to use SSL / HTTPS, but you will still encounter mixed content errors.

These errors are caused by sources (images, scripts, or stylesheets) that are still loading using the insecure HTTP protocol in the URLs. If that is the case, then you will not be able to see a secure padlock icon in your website’s address bar.

Not secure

Many modern browsers will automatically block unsafe scripts and resources. You may see a padlock icon but with a notification about it in your browser’s address bar.

Insecure content blocked

You can find out which content is served through insecure protocol by using the Inspect tool. The mixed content error will be displayed as a warning in the console with details for each mixed content item.

Mixed content errors displayed in browser console

You will notice that most URLs are images, iframes, and image galleries while some are scripts and stylesheets loaded by your WordPress plugins and themes.

Fixing Mixed Content in WordPress Database

Majority of the incorrect URLs will be images, files, embeds, and other data stored in your WordPress database. Let’s fix them first.

All what you need to do is find all mentions of your old website URL in the database that started with http and replace it with your new website URL that starts with https.

You can easily do this by installing and activating the Better Search Replace plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, you need to visit Tools » Better Search Replace page. Under the ‘Search’ field, you need to add your website URL with http. After that, add your website URL with https under the ‘Replace’ field.

Search and replace

Below that, you will see all your WordPress database tables. You need to select all of them to run a thorough check.

Lastly, you need to uncheck the box next to ‘Run as dry run?’ option, and then click on ‘Run Search/Replace’ button.

The plugin will now search your WordPress database for URLs starting with http and will replace them with secure https URLs. It may take a while depending on your WordPress database size.

Fixing Mixed Content Errors in WordPress Theme

Another common culprit causing mixed content error is your WordPress theme. Any decent WordPress theme following WordPress coding standards will not cause this issue.

First, you will need to use your browser’s Inspect tool to find the resources and where they are loading from.

Using inspect tool to find mixed content error

After that, you will need to find them in your WordPress theme and replace them with https. This will be a little difficult for most beginners, as you will not be able to see which theme files contain these URLs.

Fixing Mixed Content Errors Caused by Plugins

Some mixed content resources will be loaded by WordPress plugins. Any WordPress plugin following WordPress coding standards will not cause mixed content errors.

We don’t recommend editing WordPress plugin files. Instead, you need to reach out to the plugin author and let them know. If they do not respond or are unable to fix it, then you need to find a suitable alternate.

Note: If for some reason, you’re still encountering mixed content error, then we recommend using the Really Simple SSL plugin temporarily, so your users are not impacted while you fix the issue on a staging website or hire a developer.

Submit Your HTTPS Site to Google Search Console

Search engines like Google consider https and http as two different websites. This means you will need to let Google know that your website has moved to avoid any SEO issues.

To do that, you just need to go to your Google Search Console account and click on ‘Add a Property’ button.

Add https site as a new property in Google Search Console

This will bring up a popup where you need to add your website’s new https address.

Add your https URL

After that, Google will ask you to verify ownership of your website. There are several ways to do that, select any method and you will instructions to verify your site.

Verify your website

Once your site is verified, Google will start showing your search console reports here.

You also need to make sure that both the https and http versions are added in your Search Console.

This tells Google that you want the https version of your website to be treated as the primary version. Combined with the 301 redirects that you setup earlier, Google will transfer your search rankings to the https version of your website, and you will most likely see improvements in your search rankings.

We know that we did when switched our websites from http to https.

We hope this article helped you add HTTPS and SSL in WordPress. You may also want to see our ultimate WordPress security guide with step by step instructions to keep your WordPress site secure.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

1.3k Shares
Share
Tweet
Share
Pin
Popular on WPBeginner Right Now!
  • How to Properly Move Your Blog from WordPress.com to WordPress.org

  • Revealed: Why Building an Email List is so Important Today (6 Reasons)

    Revealed: Why Building an Email List is so Important Today (6 Reasons)

  • How to Start Your Own Podcast (Step by Step)

    How to Start Your Own Podcast (Step by Step)

  • Checklist

    Checklist: 15 Things You MUST DO Before Changing WordPress Themes

About the Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Trusted by over 1.3 million readers worldwide.

The Ultimate WordPress Toolkit

263 Comments

Leave a Reply
  1. illy says:
    Feb 13, 2019 at 12:02 pm

    All my images were inserted with http protocol. I used Better Search Replace to fix this and it worked like a charm!

    thank you

    Reply
    • WPBeginner Support says:
      Feb 14, 2019 at 10:51 am

      Glad our recommendation could help :)

      Reply
  2. Didier says:
    Feb 3, 2019 at 7:20 pm

    I have a problem with the redirect from http to https.

    Using the above mentioned code in the .htaccess file,

    my index page http:// example.com redirects to httpS:// example.com

    BUT

    A subpage http:// example.com/sublink does NOT redirect to https:// example.com/sublink

    Does anybody know how to solve this?

    Thank you!

    Reply
    • WPBeginner Support says:
      Feb 4, 2019 at 3:39 pm

      You may want to reach out to your hosting provider to ensure they are not overriding any redirects on your site or if they see the code was copied incorrectly.

      Reply
  3. Jason says:
    Jan 22, 2019 at 11:04 am

    Yeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeees! The first WP edit that has ever worked first time for me! I’m taking the rest of day off to celebrate.

    :-)

    Reply
    • WPBeginner Support says:
      Jan 23, 2019 at 1:29 pm

      Glad our guide could help :)

      Reply
  4. Leo Al says:
    Jan 5, 2019 at 3:35 am

    Thanks a lot!

    It worked :)

    Reply
    • WPBeginner Support says:
      Jan 8, 2019 at 10:07 am

      Glad our article could help :)

      Reply
  5. Igor N says:
    Jan 3, 2019 at 10:06 am

    Thanks, that was really helpful. I went with the method 2 and everything was just fine.

    Reply
    • WPBeginner Support says:
      Jan 3, 2019 at 11:59 am

      Glad our tutorial could help and you got it working :)

      Reply
  6. Pamela says:
    Jan 2, 2019 at 11:48 pm

    This detailed article saved a beginner like me! So helpful. Thank you very much.

    Reply
    • WPBeginner Support says:
      Jan 3, 2019 at 1:44 pm

      Glad our guide could be helpful :)

      Reply
  7. Rafaqat Ali says:
    Dec 15, 2018 at 3:54 am

    Hi thanks for the article, I have shifted my site to ssl by using the article elaborated above.
    Let me clear a few things:
    1- I have added a new property in Google search console with https:// should I delete the http:// property or remain the both.
    2- How long it will take to show google search data in the search console report.
    3- Should I make a 301 redirect to https:// version.
    4- How to get all my backlinks to https:// version.
    ( i have submitted the XML sitemap and robots..txt file also with new property)
    Thanks for your time

    Reply
    • WPBeginner Support says:
      Dec 17, 2018 at 4:38 pm

      Hey Rafaqat,

      If you have set up 301 redirect to your HTTPS urls, then you can leave them both. They would start appearing in search very soon, however of your redirects are properly setup you wont see any difference in your traffic or search rankings.

      Reply
  8. Belinda says:
    Nov 27, 2018 at 1:11 am

    Thankyou so so much, this article helped me fix both my blog and online store. :)

    Reply
  9. Roberto says:
    Oct 22, 2018 at 8:35 am

    It is an amazing article, I solve my problem and now I have my site up and running. Thanks so much!

    Reply
    • Editorial Staff says:
      Oct 23, 2018 at 6:50 am

      You’re very welcome Roberto

      Reply
  10. Eva says:
    Oct 12, 2018 at 3:35 pm

    Hi and thank you for the detailed tutorial
    I have activated the ssl protocol on a new wordpress installation and after the activation the site’s started opening with https and green padlock ( all pages, with and without www search and if searching http version) even the admin area as far as the theme and editor , however the wordpress and site URL fields in the settings General page still need to be changed to https as they appear as http and any new publication (so as the ones alredy been there) has http link and when editong page appearancefrom main menu it shows exclamation mark oven the secure connection padlock
    In that case do I need to go thru all process or after updating the general settings page to https it will be ok ?
    It’s my first time doing that and I prefer ( if have to) to do it manually by the 2 method as it very well explained
    Thanks

    Reply
    • WPBeginner Support says:
      Oct 14, 2018 at 3:11 pm

      Hi Eva,

      You can try the second method or follow the instructions in the first method. You will need to change the URLs in settings as it tells WordPress to use https in URLs.

      Reply
  11. Bernard Brillo says:
    Sep 18, 2018 at 11:15 pm

    I’ve tried following the manual tutorial but I end up seeing a blank white page on my homepage and all of my other page are now inaccessible. My website is hosted in Amazon and I’m also using W3 total cache.

    Do I need to do something else to make this work?

    Any suggestions will be much appreciated.

    Reply
    • Donatas Vaiciulis says:
      Oct 11, 2018 at 5:01 pm

      On my website was W3 total cache, when I disabled it worked everything fine. I think after htaccess edit needed to reinstall plugin and do w3 settings again. Not tried yet, soon will try.

      Reply
  12. Josh says:
    Aug 29, 2018 at 11:08 pm

    I did method 1 and it worked perfectly. Thanks so much for the tutorial!

    Reply
  13. Karo Itoje says:
    Aug 22, 2018 at 8:10 pm

    Hello,

    As usual thanks for the detailed tutorial. I decided to do the manual option (option 2) because it seemed simple enough to follow through. However when I pasted the second code for nginx servers into configuration file (wp-config.php) I got a syntax error. So I had to remove the code. But I will still like to follow through with that option so if you can please maybe take a look at that code again and correct it then I’ll really appreciate it.

    Also just to get this clearly, it is either:

    “set up WordPress redirects from HTTP to HTTPS by adding the following code to your .htaccess file.”

    OR THIS

    “If you are on nginx servers (most users are not), then you would need to add the following code to redirect from HTTP to HTTPS in your configuration file:”

    Not both right?

    Reply
  14. mostafa elaissaoui says:
    Aug 20, 2018 at 7:09 am

    thank u

    realy you help me thank you

    Reply
  15. Rohan Kothari says:
    Aug 16, 2018 at 7:28 am

    Hi,

    I am planning to start an e-commerce store. Do I need to purchase a wildcard SSL certificate and a dedicated IP to enable payments on my website or will the free SSL certificate bundled with web hosting plans be adequate?

    Reply
  16. Oliver says:
    Aug 14, 2018 at 11:56 am

    Hi Guys,

    1st off a great and helpful article, thanks. I have changed my site from http to https and it took a lot less time than I expected, using the Better Search and Replace manual method. But now I can’t seem to change the address of the http version in the Google Search Console. It has both of the sites there but won’t allow me to swap. Is this necessary to do? It seems as if the redirects are working. Should I get the https site indexed as much as possible or will google do that with the http redirects anyway?

    Reply
    • WPBeginner Support says:
      Aug 14, 2018 at 8:55 pm

      Hi Oliver,

      If you have both sites in the search console and a redirect in place, then Google will automatically detect the transition and will start showing reports for your HTTPS site.

      Reply
  17. Victor Fernando says:
    Aug 5, 2018 at 5:17 pm

    I used the first method, although I have experience in programming, I don’t have it in wordpress and I don’t dare to get my hands on the code even though it’s not that complicated.
    the first method worked i.e. installing the free plugin version.
    Thanks for the tip

    Reply
  18. Kevin Bollhorst says:
    Aug 4, 2018 at 10:59 am

    Thank you for this informative article. I am looking into switching my blog to SSL. The web host provider is Bluehost and I am using the free Cloudflare CDN Service. I have one question. Will Cloudflare’s free service support Bluehost’s Free SSL certificate?

    Reply
    • WPBeginner Support says:
      Aug 5, 2018 at 7:51 pm

      Hi Kevin,

      Please contact Bluehost or Cloudflare support, you may need additional configuration for SSL to work with your free Cloudflare CDN.

      Reply
  19. Moritz Steiger says:
    Aug 4, 2018 at 6:02 am

    I followed these instructions and now it has screwed my site, nothing works. I now get the ‘White screen of death’ my host won’t help as they say it is a coding error and I am left in limbo.

    Reply
    • WPBeginner Support says:
      Aug 5, 2018 at 7:55 pm

      Hi Moritz,

      We are sorry to hear that. Please undo the steps you took while following the tutorial one by one and that should fix your site to normal.

      Reply
  20. Chandra says:
    Aug 4, 2018 at 4:09 am

    Hi,

    Thank for you for such an detailed article on a very hot topic.

    I followed manual steps but got mixed content error. And seems because of this I’m not able to see WP login page. I tried clearing cache on dreamhost but message displayed is “Unable to connect to CloudFlare”.

    I’m using Dreamhost and Cloudflare is enabled.

    Could you please help or need more details to fix the issue? Do you also offer paid service to secure another site of my mine?

    Thank You.

    Reply
    • WPBeginner Support says:
      Aug 5, 2018 at 7:56 pm

      Hi Chandra,

      Please review your Cloudflare settings.

      Reply
  21. Richard says:
    Jul 26, 2018 at 6:31 pm

    Hi,

    Just followed through the manual procedure without problems – Thanks!

    However, I’ve noticed that If I type the old http:// address into the browser for any page except for the homepage then the old http:// page loads.

    Then when I click a link to another page it goes to a https:// page is this normal?

    Does it indicate a problem with the redirect?

    Reply
    • WPBeginner Support says:
      Jul 26, 2018 at 11:56 pm

      Hi Richard,

      No it is not. Most likely the redirects in your .htaccess file are not working. Try copying the code and adding it to your .htaccess file again and see if this resolves the issue.

      Reply
      • Richard says:
        Jul 27, 2018 at 10:50 am

        Hi,

        Fixed It thanks. I’d originally inserted the Code at the end of the htaccess file. Moved It Up to before the WP section and everthing now works correctly.

        Thanks for your help and for the concise guide. I’d been putting this off for a while.

        Reply
  22. Daniel says:
    Jul 25, 2018 at 3:45 pm

    With regard to the last step in Google Console, on the “Change of Address” page, I am getting a “no available sites” message, but I have double-checked that my http and https versions are verified. When I click on “add it now” I’m just getting verification information. What do I do?

    Reply
  23. Emily Randall says:
    Jul 23, 2018 at 7:45 am

    I just installed a LetsEncrypt cert on my website, and I’m getting a bunch of insecure content errors that shouldn’t be happening. Although the theme is using get_template_directory_uri() to load its styles and scripts, those styles and scripts are still being loaded via http, not https. Even if I hard-code the https url in the function to load the styles/scripts, they’re loaded via http.

    Do you have any idea what’s happening here? As far as I can tell, everything is set up properly, but it’s not working.

    Reply
    • WPBeginner Support says:
      Jul 23, 2018 at 2:04 pm

      Hi Emily,

      Try clearing WordPress cache.

      Reply
  24. skaur says:
    Jul 23, 2018 at 1:16 am

    Hi,
    I have purchase SSL and configured by my hosting. It shows https in url. when I do https under General settings in wordpress admin area, my website goes down, only homepage and after it I am not able to login the admin area too. I added the code in htaccess file too with https under settings.

    Could you help me with this?
    Thanks

    Reply
  25. stan says:
    Jul 19, 2018 at 3:00 pm

    https://support.google.com/webmasters/answer/83106 says that

    Note: The tool does not currently support the following kinds of site moves: subdomain name changes, protocol changes (from HTTP to HTTPS), or path-only changes.

    Reply
    • WPBeginner Support says:
      Jul 19, 2018 at 3:22 pm

      Hi Stan,

      Yes, we are aware of that. However, we still recommend taking this step. It is safe and will not have any negative impact on your site.

      Reply
  26. Lindsey Bell says:
    Jul 17, 2018 at 10:39 am

    I use Bluehost for web hosting and just set up my wordpress site with their free SSL certificate through the Bluehost page. There was a page on the Bluehost site to activate it for my WordPress site. Now, it appears that my site is already set up with the https. Do I still need to install the plug in, or is mine already taken care of? Thanks so much for the help!

    Reply
    • WPBeginner Support says:
      Jul 19, 2018 at 3:51 pm

      Hi Lindsey,

      You still need to install the plugin.

      Reply
  27. Farukh hussain says:
    Jul 15, 2018 at 3:45 am

    Hi,
    I was founding this issue and you just uploaded this article. Thanks alot.
    Can you please help? I did not change my primary site on search console. I added a new property with https and then created a set for all of them. Will it work fine for ranking or I need to follow your instructions only???

    Reply
    • WPBeginner Support says:
      Jul 15, 2018 at 7:36 pm

      Hi Farukh,

      Adding HTTPS property and then redirecting users from HTTP to HTTPs will work fine.

      Reply
  28. Paula Jones says:
    Jul 14, 2018 at 12:24 am

    So I have to purchase a dedicated IP address to use the free SSL certificate?

    Reply
    • WPBeginner Support says:
      Jul 15, 2018 at 7:58 pm

      Hi Paula,

      No, you don’t need a dedicated IP address to use free SSL certificate.

      Reply
  29. Chris says:
    Jul 12, 2018 at 5:07 pm

    I don’t understand why a redirect is still necessary once the hosting service installs the certificate for the site. I’m assuming that a WordPress site initially configured with the HTTPS protocol does not require a redirect. Is it a matter of registering a domain with or without the proper protocol?

    Reply
  30. James Katt says:
    Jul 12, 2018 at 11:40 am

    The problem of buying an SSL certificate and having it installed is that you will need to also purchase a fixed IP address from your Web Host. This is an additional yearly cost on top of the yearly cost of the SSL Certificate. For each website you create you have to buy an SSL certificate and a fixed IP address. This will add up tremendously the more websites you have.

    Because of this, I prefer creating websites on hosts that Automatically give you a Free SSL certificate. These days, the ones that don’t simply want to gouge you for money.

    Reply
  31. Rupam krishna Bharali says:
    Jul 12, 2018 at 3:05 am

    Can the internal configuration of SSL and HTTPS help to reduce the SSL loading time during a request? When I tested my website with SSL enabled and it took about 455 ms to load “the SSL separately”, but when I disabled the SSL total loading time decreased to 1.3s. So two question I want to ask you guys,

    1. Can I go without an SSL just because I have a Simple blog, no commercial stuff, and web payments?

    2. Can the configuration of SSL internally with the help of .htaccess file reduce the loading time of SSL?

    Reply
    • WPBeginner Support says:
      Jul 16, 2018 at 7:00 am

      Hi Rupam,

      1. You can but soon Google will start warning users about websites not using HTTPs, this would affect your website’s traffic.

      2. Yes, it can. You can also try to avoid plugins to fix mixed content issues. We have noticed that often such plugins increase page load time significantly.

      Reply
  32. Adeshewa says:
    Jun 19, 2018 at 11:57 am

    Could someone help please, I followed the direction of the first one all my pages are secure except for one on the menu. Whenever I clicked on it as a customer it says your connection to this website isn’t encrypted.

    Reply
    • Troy says:
      Jul 13, 2018 at 7:53 am

      Not sure if you got this fixed yet, but I was having the same issue. I found that using the SSL Insecure Content Fixer plugin corrected it. Worth a shot!

      Reply
  33. Shyam says:
    Jun 16, 2018 at 11:10 am

    Hi wpbeginner,
    My website did not have ssl certificate. I changed the http to https now it is showing ssl not enabled. What do I do?

    Reply
    • Zohaib Sadique says:
      Jul 13, 2018 at 3:10 am

      If you are working in WordPress then install the plugin named “really simple SSL” to force up your SSL. I hope you will get the idea. Thanks for reading.

      Reply
  34. Erin says:
    May 29, 2018 at 6:51 pm

    Thank you!! Finally I have my SSL certificate recognised by wordpress and I couldn’t have done it without the info provided here. So a BIG thanks for helping me out!

    Reply
  35. Farrukh Ghafoor says:
    May 14, 2018 at 5:43 am

    I have added the code into the .htaccess file but when I refresh my page in WordPress it comes up with a “Your connection is not private” message. I have to click on “Back to safety” and the icon does not appear in the website url. Please help me to fix this. Thanks

    Reply
  36. Marco says:
    May 9, 2018 at 3:46 am

    Where do you install WordPress? public_html or private_html ?

    Reply
    • WPBeginner Support says:
      May 9, 2018 at 7:30 pm

      Hi Marco,

      You need to install WordPress in public_html folder.

      Reply
  37. Cecilia W says:
    May 8, 2018 at 2:23 pm

    I followed the first step, adding the https: to the website name and immediately the webpage redirected me to a sit not secure error prompt and now I can’t access my dashboard at all to finish the process or do any bug fixes. How do I reverse the first step?

    Reply
  38. Mark Lewis says:
    Apr 5, 2018 at 5:12 am

    Thank you for this helpful article

    Reply
  39. Tammy says:
    Mar 23, 2018 at 12:24 am

    I have used your site for a resource for a long time. Therefore, I was confident when I followed the directions in this article–to the letter. I used it on a client’s site. Which seemed to work perfectly. Then my own site. However, now I am locked out of both sites. I have a backup of them using the WP all-in-one migration plugin, but no way to access the dashboard.
    One site says too many redirects. Even when going to an incognito window or a browser where I’ve recently deleted all history, it still says delete all cookies. The other site says can’t connect to server.
    Any suggestions for me? I am pretty screwed at this point.
    Thanks,
    Tammy

    Reply
    • WPBeginner Support says:
      Mar 25, 2018 at 5:15 pm

      Hi Tammy,

      Please see our article on how to fix too many redirects issue in WordPress.

      Reply
  40. Sukka says:
    Mar 8, 2018 at 12:40 pm

    Does my backlinks gets lost after change. Kindly some one clears it to me.
    As when I checked my website through semrush https is showing 0 backlinks but I actually have 1000+ backlinks.
    Please someone guide.
    Thanks.

    Reply
  41. dan says:
    Mar 1, 2018 at 12:22 am

    Why doesn’t the .htaccess stuff for Apache contain the 301 redirect information?

    Reply
  42. Divine says:
    Feb 26, 2018 at 2:01 pm

    This was really helpful. Though after doing it, it showed 404 in most pages but when I updated the paramalink…it was solved

    Reply
  43. Pipy says:
    Feb 23, 2018 at 2:53 pm

    Please, I am looking for some ways that I can do to secure the WordPress website from hackers and becoming a secure site. Suggest please

    Reply
    • WPBeginner Support says:
      Feb 25, 2018 at 6:45 pm

      Please see our ultimate WordPress security guide.

      Reply
  44. Ravi says:
    Feb 10, 2018 at 1:09 am

    Hey wpbeginner team why you guys are not using ssl certificate.?

    Waiting for your answer.

    Reply
    • Reo says:
      Mar 17, 2018 at 3:05 am

      Let me answer that. WPBeginner no need to use SSL because they don’t have a login/signup page and ecommerce.

      Reply
      • SaifZiya says:
        Apr 5, 2018 at 7:54 am

        But, hasn’t Google now announced that having an SSL certificate can boost your rankings in SERPS?

        Reply
  45. Cristi Adam says:
    Jan 1, 2018 at 11:27 am

    Thank you for info man, great article, it really fixed my issue

    Reply
  46. Amar Patel says:
    Oct 17, 2017 at 3:23 am

    after adding ‘s’ to the WordPress URL and site URL redirection is working properly…I removed the ‘s’ and put redirection code in my .htaccess then browser saying error too much redirection.

    If i go for first option that will be fine or not ?….how can in know my redirection working properly ?

    Reply
  47. Nalin says:
    Oct 15, 2017 at 5:50 pm

    Hi,

    Is it necessary to include the code in htaccess? I am using wordpress and checked with whynopadluck and manually changed the link of the images with non https link. After that, it shows all items are secure. Do I still need to update htaccess? Doesn’t WordPress redirect http to https by itself?

    Reply
    • Mottaqi says:
      Dec 13, 2017 at 1:54 am

      If I install a new WordPress installation for a new site should I do all of these???

      Reply
  48. Abiola Oyeniyi says:
    Oct 6, 2017 at 5:36 pm

    Cloudflare SSL or Let’s Encrypt which one is the best. I had to switch to Cloudflare SSL

    Reply
    • Mukesh Patel says:
      Jul 13, 2018 at 10:25 am

      If you are using cloudflare than you can easily switch your site to HTTPS. If you are using free plan then their are no option available for use custom SSL. If you install Let’s Encrypt SSL on origin server, Even after that browser will show Cloudflare SSL.

      Reply
  49. Richard says:
    Jul 16, 2017 at 8:11 pm

    Very helpful article. However, I am wondering if I would still be required to update the .htaccess file (per your example) if I am using the plugin: “Really Simple SSL” that you recommended in a newer article. (Also, would this plugin take care of changing the WP General Settings?)

    Thanks!

    Reply
  50. James says:
    Jul 12, 2017 at 4:22 pm

    We completed step 1 and now we cannot login to our wordpress to do step 2 or 3. And the only page that works on our site it the home page. All other pages try to pull up as https and gives an error. We have to manually take the s out so it’s http before the page will show.

    We’ve undone the first step and still cannot login. We are dead in the water here.

    Reply
« 1 2 3 4

Leave a Reply Cancel reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

Over 1,320,000+ Readers

Get fresh content from WPBeginner

Featured WordPress Plugin
WPForms Logo
WPForms
Drag & Drop WordPress Form Builder Plugin. Learn More »
How to Start a Blog How to Start a Blog
I need help with ...
Starting a
Blog
WordPress
Performance
WordPress
Security
WordPress
SEO
WordPress
Errors
Building an
Online Store
Useful WordPress Guides
    • 7 Best WordPress Backup Plugins Compared (Pros and Cons)
    • How to Fix the Error Establishing a Database Connection in WordPress
    • Why You Need a CDN for your WordPress Blog? [Infographic]
    • 25 Legit Ways to Make Money Online Blogging with WordPress
    • Self Hosted WordPress.org vs. Free WordPress.com [Infograph]
    • Free Recording: WordPress Workshop for Beginners
    • 24 Must Have WordPress Plugins for Business Websites
    • How to Properly Move Your Blog from WordPress.com to WordPress.org
    • 5 Best Contact Form Plugins for WordPress Compared
    • Which is the Best WordPress Popup Plugin? (Comparison)
    • Best WooCommerce Hosting in 2019 (Comparison)
    • How to Fix the Internal Server Error in WordPress
    • How to Install WordPress - Complete WordPress Installation Tutorial
    • Why You Should Start Building an Email List Right Away
    • How to Properly Move WordPress to a New Domain Without Losing SEO
    • How to Choose the Best WordPress Hosting for Your Website
    • How to Choose the Best Blogging Platform (Comparison)
    • WordPress Tutorials - 200+ Step by Step WordPress Tutorials
    • 5 Best WordPress Ecommerce Plugins Compared
    • 5 Best WordPress Membership Plugins (Compared)
    • 7 Best Email Marketing Services for Small Business (2019)
    • How to Choose the Best Domain Registrar (Compared)
    • The Truth About Shared WordPress Web Hosting
    • When Do You Really Need Managed WordPress Hosting?
    • 5 Best Drag and Drop WordPress Page Builders Compared
    • How to Switch from Blogger to WordPress without Losing Google Rankings
    • How to Properly Switch From Wix to WordPress (Step by Step)
    • How to Properly Move from Weebly to WordPress (Step by Step)
    • Do You Really Need a VPS? Best WordPress VPS Hosting Compared
    • How to Properly Move from Squarespace to WordPress
    • How to Register a Domain Name (+ tip to get it for FREE)
    • HostGator Review - An Honest Look at Speed & Uptime (2019)
    • SiteGround Reviews from 1032 Users & Our Experts (2019)
    • Bluehost Review from Real Users + Performance Stats (2019)
    • How Much Does It Really Cost to Build a WordPress Website?
    • How to Start a Podcast with WordPress (Step by Step)
    • How to Choose the Best Domain Name (8 Tips and Tools)
    • How to Setup a Professional Email Address with Google Apps and Gmail
    • How to Install Google Analytics in WordPress for Beginners
    • How to Move WordPress to a New Host or Server With No Downtime
    • Why is WordPress Free? What are the Costs? What is the Catch?
    • How to Make a Website in 2019 – Step by Step Guide
Deals & Coupons (view all)
Dreamhost
DreamHost Coupon
Get 40% OFF on DreamHost and get a Free Domain.
Elegant Themes
Elegant Themes Deal
Get all 87 amazingly beautiful WordPress themes by Elegant Themes for only $69. That is like $0.79 per theme!
Featured In
About WPBeginner®

WPBeginner is a free WordPress resource site for Beginners. WPBeginner was founded in July 2009 by Syed Balkhi. The main goal of this site is to provide quality tips, tricks, hacks, and other WordPress resources that allows WordPress beginners to improve their site(s).

Site Links
  • About Us
  • Contact Us
  • FTC Disclosure
  • Privacy Policy
  • Terms of Service
  • Free Blog Setup
Our Sites
  • OptinMonster
  • MonsterInsights
  • WPForms
  • SeedProd
  • Nameboy
  • Awesome Motive

Copyright © 2009 - 2019 WPBeginner LLC. All Rights Reserved. WPBeginner® is a registered trademark.

WordPress hosting by HostGator | WordPress CDN by MaxCDN | WordPress Security by Sucuri.