Hello Sunil
Lets Encrypt free SSL WordPress

Install Let’s Encrypt free SSL Certificate in Just 2 minutes – WordPress CMS

To find this file, make sure to check show hidden files in Cpanel file manager or FTP because .htaccess is invisible by default. If you do not have one, just create a plain text file, rename it to .htaccess and upload it to the WordPress root directory.

Once you find, right click on .htaccess file and select “Edit”.

Install Lets Encrypt free SSL Certificate on WordPress - WP Encryption - Update htaccess file

.htaccess file will open in an editor where you need to add the following lines to it:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://yourdomain.com/$1 [R,L]
</IfModule>

If your WordPress website is in a sub-directory, use this code:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteCond %{REQUEST_URI} folder
RewriteRule ^(.*)$ https://yourdomain.com/folder/$1 [R,L]
</IfModule>

Simply replace yourdomain.com with your actual domain name.

Refer below image just to make sure how it will look.

Install Lets Encrypt free SSL Certificate on WordPress - WP Encryption - Redirect http to https htaccess

From now on, visitors of your site including Google bots should automatically land on the HTTPS version of your WordPress site.

Now jump straight to the browser address bar and type your site URL where you can see HTTPS with a padlock icon in the address bar. It means SSL has been successfully installed on your WordPress site.

Install Lets Encrypt free SSL Certificate on WordPress new - WP Encryption - Lets Encrypt SSL on your WordPress site

Update Google Analytics settings

If you have Google Analytics installed on your WordPress website, then you also need to update its settings and add your new URL with https://.

Follow the steps to inform Google about your site URL changes:

Step 1: Login to your Google Analytics account.

Step 2: Click the “Admin Gear” icon.

Install Lets Encrypt free SSL Certificate on WordPress - WP Encryption - Google Analytics admin gear icon

Step 3: Click on the “Property Settings” and change the “Default URL” to use https:// as shown below. Click “Save” button.

Install Lets Encrypt free SSL Certificate on WordPress - WP Encryption - Google Analytics property settings

Step 4: Return to the Admin page and click the “View Settings” and make the same change there and click “Save” button.

Install Lets Encrypt free SSL Certificate on WordPress - WP Encryption - Google Analytics view settings

This will not impact any previous analytics data but will allow Google Analytics to now track HTTPS URLs from this time forward.

Possible problem of mixing content error after SSL setup

When you install an SSL certificate on a new domain, all the pages and all the resources such as images, are served automatically with the HTTPS protocol.

But if the certificate is enabled on a domain already in use, you may have some problems with mixing content.

Mixed content happens when parts of your content continue to be delivered via HTTP while the rest of your site has moved on to the more secure HTTPS.

In this case, modern browsers will display a warning, causing your users to view your site as insecure.

Use the free tool SSL Check to scan your entire site for unsafe images, scripts, CSS files and others. With this information, you can then take corrective action. An alternative to checking singular pages is Why No Padlock?.

Conclusion

When your SSL certificate expires, visitors of your WordPress site get a warning about it and are advised against entering your site. You should not let this happen.

Always make sure your certificate is renewed in time. Which is easy through WP Encryption WordPress plugin dashboard. You just need to repeat the process and voila!!

That’s all. You completely learn how to add a free SSL from Let’s Encrypt to your WordPress site. If you find this article helpful then do not forget to share with your friends who need it.

Do you have any questions about installing an SSL certificate on your WordPress site? Let us know in the comments section below!

How useful was this post?

Click on a star to rate it!

Average rating 5 / 5. Vote count: 1

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

Sunil Pradhan

Hi there 👋 I am a front-end developer passionate about cutting-edge, semantic, pixel-perfect design. Writing helps me to understand things better.

11 comments

  • Greetings! Very helpful advice in this particular post!
    It’s the little changes that produce the mlst important changes.
    Thanks for sharing!

  • Hi there would you mind letting me know which hosting company you’re utilizing?I’ve loaded your blog in 3 different internet browsers and I must say this blog loads a lot faster then most.Can you recommend a good hosting provider at a reasonable price?Many thanks, I appreciate it!

  • Thank you for any other magnificent post. The place else may anybody get that kind of info in such an ideal manner of writing? I have a presentation subsequent week, and I’m at the look for such info.

  • After looking into a handful of the articles on your website, I honestly like your way of blogging. I added it to my bookmark web page list and will be checking back in the near future.

  • Great submit, very informative. I’m wondering why the other specialists of this sector do not realize this. You should continue your writing. I’m confident,you have a huge readers’ base already!

  • Hello! I’m at work browsing your blog from my new apple iphone! Just wanted to say I love reading through your blog and look forward to all your posts! Keep up the great work!

  • Excellent items from you, man. I have be mindful your stuff prior to and you’re just extremely excellent. I actually like what you have obtained right here, certainly like what you’re stating and the best way through which you are saying it. You’re making it entertaining and you still care for to stay it sensible. I can not wait to read much more from you. That is really a wonderful site.

  • Thank you for sharing your info. I truly appreciate your efforts and I am waiting for your next post thank you once again.

  • Hi! Would you mind if I share your blog with my Facebook group? There’s a lot of folks that I think would really enjoy your content.Please let me know. Cheers

  • I need to to thank you for this wonderful read!! I definitely enjoyed every little bit of it.I have you book marked to look at new stuff you post…

Stay Updated

Want to be notified when our article is published? Enter your email address below to be the first to know.

Sunil Pradhan

Hi there 👋 I am a front-end developer passionate about cutting-edge, semantic, pixel-perfect design. Writing helps me to understand things better.