Table of Contents
Using an SSL with Your WordPress Admin Control Panel
Updated Apr 7th, 2021 at 14:07 BST
You need an SSL certificate installed and set up on your cPanel hosting account before proceeding with the WordPress® installation. If you don't have an SSL, we can help. For more information, click here: https://www.tsohost.com/ssl-certificates
Note: If you are using Managed WordPress, we automatically handle this for you.
To enable WordPress and SSL, you need to edit your wp-config.php file. You can download this file from your account over FTP or use the FTP File Manager in your account. For more information see.
To Use an SSL with Your WordPress Admin Control Panel:
Using your cPanel account's editor, open your WordPress installation's wp-config.php file. By default located within your public_html folder inside File Manager. Select your wp-config.php file, and then click Edit.
Find the following line:
/* That's all, stop editing! Happy blogging. */
Direct above it, type these two lines:
define('FORCE_SSL_ADMIN', true);
define('FORCE_SSL_LOGIN', true);
So, after you're done editing, your wp-config.php file should look like this:
define('FORCE_SSL_ADMIN', true);
define('FORCE_SSL_LOGIN', true);
/* That's all, stop editing! Happy blogging. */
Now when you log in to your admin page, you should see https:// in your browser's address bar.