Activate SSL WordPress

In this post, I’ll explain how to set up WordPress to use SSL. If you don’t have an SSL certificate yet, log in or register for an account and order an SSL certificate first.

What is SSL?
SSL stands for Secure Sockets Layer and ensures that your visitor views the website via an HTTPS connection. An SSL certificate is recommended as soon as you have personal information such as an account or shop on your website. This way the visitor knows that the site is safe and that there is no hacker in between.

Setting up SSL on your WordPress site
Changing HTTP to HTTPS in WordPress is done in a few easy steps, you have two methods; 1) Configuring for a New Web Site You go to Settings --> General and change the HTTP to HTTPS for your WordPress address, done! 2) Configuring for an existing website When you install SSL for an existing WordPress site, you need to redirect traffic from HTTP to HTTPS in your .htaccess file.



RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https:
//www.yoursite.com/$1 [R,L]


! Don’t forget to change yoursite to your own domain name. If you use an NGNIX server, the code will look slightly different.


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

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *