1. Home
  2. Nipa Academy
  3. System Engineer Guide
  4. How to set SSL to wordpress by using cert from cloudflare

How to set SSL to wordpress by using cert from cloudflare

1.Using cert from cloudflare

2.Set your domain , ip and enable cloudflare proxied

3.Go to your web > Setting

– Enter your domain to  WordPress Address and Site Address

4.ssh to your wordpress instances edit file wp-config.php

sudo -i

vi /var/www/wordpress/wp-config.php

5.Insert command at line 2 and save

$_SERVER[‘HTTPS’] = ‘on’;

This is Result of file wp-config.php

6.Open browser and go to https://yourdomain

Was this article helpful?

Related Articles