{"id":87,"date":"2016-05-02T07:00:37","date_gmt":"2016-05-02T11:00:37","guid":{"rendered":"https:\/\/www.onlinebusinessguide.ca\/?p=87"},"modified":"2020-03-27T17:26:56","modified_gmt":"2020-03-27T21:26:56","slug":"how-to-install-ssl-on-your-wordpress-site","status":"publish","type":"post","link":"https:\/\/www.onlinebusinessguide.ca\/how-to-install-ssl-on-your-wordpress-site\/","title":{"rendered":"How to install SSL on your WordPress Site"},"content":{"rendered":"

Even if your WordPress site<\/b> isn’t powering an e-commerce storefront<\/b>, there are many reasons to take security seriously. Firstly, it’s easier and safer to administer a WordPress domain via HTTPS<\/b>. While you could use a self-signed certificate to do so, it’s not an optimal solution. Furthermore, Google gives sites that use HTTPS an automatic SEO boost. If you want to install SSL on your WordPress site, here’s how to do it.
\n\"SSL<\/a><\/p>\n

Purchase an SSL Certificate<\/h2>\n

Obviously, enabling HTTPS on any site requires the use of an SSL Certificate<\/b> issued by a trusted authority like Comodo, DigiCert or Symantec. Prices can range from as little as $5 per year to hundreds of dollars depending on what you want to accomplish. If you plan to sell anything on your site, an Extended Validation Certificate is a must and will cost you at least $100. Both web hosts we recommend, WHC.ca<\/b><\/a> and GreenGeeks.ca<\/b><\/a> offer SSL certificates at reduced prices.<\/p>\n

Submit the Signing Request<\/h2>\n

Buying an SSL certificate is just the beginning. Once you’ve laid down your money, you’ll need to request a certificate for a particular domain and verify your identity. More specifically, you’ll need to create a Certificate Signing Request<\/i> and have the Certification Authority<\/i> (CA) in question like Comodo or VeriSign confirm that you are who you say you are. Once they’ve done that, they’ll send you an actual SSL certificate via email.<\/p>\n

Add the Certificate to Your Site<\/h2>\n

Installing a certificate on a server is simple. All you’re doing is copying a public key that corresponds with the private key generated during the Certificate Signing Request process into your site’s root directory. If your host uses cPanel<\/b> or another popular administrative back-end program, this is simple. Just go to the SSL section within cPanel, upload the certificate that you received from the Certificate Authority and you’re generally good to go.<\/p>\n

Modify Back-End WordPress Settings<\/h2>\n

Now that your SSL certificate resides on your server, it’s time to make it work with your WordPress installation. You’ll need to force HTTPS for your site by editing a few lines of code.<\/p>\n

Open the\u00a0wp-config.php<\/b>\u00a0file and add the line:<\/p>\n

define('FORCE_SSL_ADMIN', true);<\/code><\/p>\n

as well as<\/p>\n

define('FORCE_SSL_LOGIN', true);<\/code><\/p>\n

right before the<\/p>\n

\/* That's all, stop editing! Happy blogging. *\/<\/code><\/p>\n

markup comment.<\/p>\n

If you don’t dig manual coding, a WordPress HTTPS plugin will provide you with a handy GUI.<\/p>\n

Audit Your Site for Security<\/h2>\n

It’s important to make sure that your site appears to be secure from the outside. As such, you’ll want to use a browser like Chrome to tour various pages and look for the green padlock icon in your address bar wherever you go. While you’re at it, make sure that the WordPress Address (URL) and Site Address (URL) fields in the General Settings portion of your admin panel are set to HTTPS<\/b>.<\/p>\n

Tie Up Any Loose Ends<\/h2>\n

If you’re still getting warning signs on your site after installing SSL, use the free Why No Padlock tool to troubleshoot errors. If you use Google Analytics, update your settings in Google Webmaster Tools to recognize the new HTTPS address. If your site is running slower after the upgrade, switch to a more powerful shared<\/b> or VPS plan<\/b>. With few exceptions, the preceding actions are all you’ll need to successfully enable SSL on your WordPress site.<\/p>\n","protected":false},"excerpt":{"rendered":"

Even if your WordPress site isn’t powering an e-commerce storefront, there are many reasons to take security seriously. Firstly, it’s easier and safer to administer a WordPress domain via HTTPS. While you could use a self-signed certificate to do so, it’s not an optimal solution. Furthermore, Google gives sites that use HTTPS an automatic SEO […]<\/p>\n","protected":false},"author":1,"featured_media":90,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":""},"categories":[3],"tags":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.onlinebusinessguide.ca\/wp-json\/wp\/v2\/posts\/87"}],"collection":[{"href":"https:\/\/www.onlinebusinessguide.ca\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.onlinebusinessguide.ca\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.onlinebusinessguide.ca\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.onlinebusinessguide.ca\/wp-json\/wp\/v2\/comments?post=87"}],"version-history":[{"count":1,"href":"https:\/\/www.onlinebusinessguide.ca\/wp-json\/wp\/v2\/posts\/87\/revisions"}],"predecessor-version":[{"id":233,"href":"https:\/\/www.onlinebusinessguide.ca\/wp-json\/wp\/v2\/posts\/87\/revisions\/233"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.onlinebusinessguide.ca\/wp-json\/wp\/v2\/media\/90"}],"wp:attachment":[{"href":"https:\/\/www.onlinebusinessguide.ca\/wp-json\/wp\/v2\/media?parent=87"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.onlinebusinessguide.ca\/wp-json\/wp\/v2\/categories?post=87"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.onlinebusinessguide.ca\/wp-json\/wp\/v2\/tags?post=87"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}