Friday, August 21, 2020

How To Setup Free SSL For Your WordPress Website

How To Setup Free SSL For Your WordPress Website Make Money Online Queries? Struggling To Get Traffic To Your Blog? Sign Up On (HBB) Forum Now!How To Setup Free SSL For Your WordPress WebsiteUpdated On 19/02/2020Author : Pradeep KumarTopic : WordPressShort URL : https://hbb.me/2j9YMTr CONNECT WITH HBB ON SOCIAL MEDIA Follow @HellBoundBlogMany of you may wonder what SSL is and why should you need SSL on your website. To answer both questions, SSL is a secure method to encrypt and protect data while transmitting between client and server. Its an essential way to protect users data, especially if you have an e-commerce website that processing credit cards.SSL represents the S character in HTTPS, which you may see in the address bar of your web browser when visiting some secure sites like eBay, Paypal or even Google. Technically, SSL adds a new layer of encryption to regular HTTP, to verify the receiver and only allow authorized receivers can decrypt the encrypted message to see its contents.All sensitive data like personal details, credit cards, email or password should always be served through HTTPS. However, many newspaper sites and blogs have activated SSL to increase trust and reliability, or take the reward from Google that helps to boost their rankings in search results. So even if your website is not an online store that accepting and processing payments, there are still good reasons to consider HTTPS.Purchasing and activating SSL on your website will cost you more money per year, especially if you are using a shared web hosting. Accordingly essential requirements, you must have a dedicated IP that assigned with your website in order to install and activate SSL. Most web hosting services will charge you $4 per month per an IP address or $48 per year, plus $12 for purchasing SSL certificate. So total would be $60 per year to maintain SSL on your website. Not really cheap for a small site, right?But I dont talk about premium SSL, which cost you a lot of money to maintain in this guide. Im going to show yo u how to set up and activate SSL on your site quickly and totally free!Lets get started.How To Set Up SSL On Your WordPress Site For FreeThe first step to activate HTTPS on your WordPress website is to sign up for a free cloud DNS service, called CloudFlare. If you dont know what DNS is, I suggest that you take a few minutes to learn before going further. The UsefulPCGuide blog does a great job by posting a useful article with an infographic and video that explained how does DNS work, check it out!Set Up Your CloudFlare AccountOnce you have completed the register process, it will ask you to enter the domain name of your WordPress site to get started.When the CloudFlares scan process is done, choose Continue Setup to move to the next step.Review your current DNS records again and make sure its correct. Next, click on Continue button.Choose Free Website plan, which will cost you $0 per month.CloudFlare will show you two nameservers, where you need to change your current nameservers to .READ4 WordPress Plugins You Should Try TodayAfter changing your nameservers, it could take up to 24 hours to take effect. In the meantime, there are a few other things that need to be done before your website going to work with HTTPS.Change Your WordPress URL From HTTP To HTTPSIn order to work with HTTPS, your WordPress URL must be changed from HTTP to HTTPS. You can simply do that from your WordPress Dashboard, under Settings ? General. When you click on Save Changes button, you will have to log in to your WordPress Dashboard again.Update All Links To HTTPs In DatabaseNow its time to scan and replace all regular HTTP links in your WordPress database to HTTPS. You know, it could be a link to a particular image, an internal post or page. If your WordPress blog has some posts, its very easy to do by editing one by one. However, a blog with a hundred posts or more will take you a lot of time.But dont worry, there is a tool called Database search and replace script in PHP, which will help you to scan and replace all HTTP links to HTTPS automatically. Just click here to download, unzip and upload into your root folder of your WordPress site.Then visit that URL in your browser, for example, http://your-domain.com/search-replace-dbYou can insert what you want to replace, such as:http://www.your-domain.com to https://your-domain.comhttp://your-domain.com to https://your-domain.comI would recommend you to run the dry run first to verify what this tool will replace in your database before using the live run, which will be affected your WordPress database. This process will update all entries in the database, and replace all URLs, including WordPress URL and hard-coded links on posts and page.Force Redirect HTTP To HTTPS With .htaccess FileWhen you enable your WordPress site to use HTTPS, it doesnt mean your website will run through HTTPS all time. For example, users who have bookmarked your site with HTTP, they still access your WordPress website through HTTP by click ing on the bookmark.However, you can redirect all HTTP requests to the HTTPS protocol by adding new codes into the .htaccess file that stored in the root of your WordPress site. RewriteEngine On RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteRule (.*) https://your-domain.com/$1 [R=301,L] Be careful and dont modify anything between the # BEGIN WordPress and the # END WordPress tags as your WordPress site manages them. Every time you update permanent links or upgrade WordPress version, contents between both tags are refreshed. So if you add your custom code there, it will be gone someday.ConclusionBy activating SSL on your website, you have helped to improve your WordPress site, protected users data and gain better results in search engines without spending a penny!

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.