How to add SSL certification on your WordPress site?
SSL (secured sockets layer) is a standard technology used to establish an encrypted connection between the web server(host) and the web browser(client). With the SSL certification enabled on a website, all the data transferred between its host and clients remain private and encrypted. SSL certification is used by almost every website over the internet. Having SSL certification on your website ensures better performance and secure transmission of data between the clients and hosts.
SSL certification also affects heavily on SEO ranking in different search engines, a website with no certification will be ranked lower in a search engine. If you are visiting a website with https:// at the beginning of its URL then you were establishing a secure connection with the server, i.e. the website is SSL certified.
Table of Contents
Three Methods to enable SSL in WordPress
1. Using plugin for SSL
This is probably one of the easiest ways to enable https connection on your website. When building a WordPress website, you can simply add a plugin called “Really simple SSL Plugin” from its plugin store. Just install the plugin to your site and you are good to go.
Go to Setting> SSL and Activate.
2. Forcing HTTPS Using the .htaccess
This process is generally applied during the coding phase of your website or it can also be applied after the completion of the site. This is done to force all the web traffic to use https. To perform this operation simply copy the following lines of codes to your .htaccess files in your website’s root folder.
NOTE: If you have existing code in your .htaccess, add this above where there are already rules with a similar starting prefix.
RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Optional For C-panel (If you didn’t find .htacces file )
If you don’t found your htaccess file on your root public_html folder then click on setting>Show Hidden Files and Save it. ( If you using Cpanel as a control panel.)
3.Cloudflare
Cloudflare is a service provided by Cloudflare Inc. providing content delivery network services among other different services. Cloudflare provides free and commercial services in accordance to your needs. These packages contain free, pro, business and enterprise packages. Even in the free package, you can get SSL certification for free, all you have to do is create a Cloudflare account and register your website in it. Then you can enable SSL with just a few clicks. Sounds easy right?
For any assistance, feel free to contact Cloudlaya. we also provide other cloud-based services like domain registration, web hosting, email hosting, and other CRM tools. Cloudlaya is your goto place for all cloud-based services.