SSL green lock only when i am logged in as admin wordpress

hi
i am using Cloudflare on my wordpress website.
but https work and get green lock only when i am logged in as admin.

it becomes grey as i logout.
please help resolve the issue.

Regards

In your Wordpress general settings, do you specify https for your site URL? On my sites, I have this set in my wp-config file:
define(‘WP_SITEURL’, ‘https://example.com’);
define(‘WP_HOME’, ‘https://example.com’);

To me, it sounds like you have wp-config set to enforce SSL for admin, but the site itself is not configured for https:
define(‘FORCE_SSL_ADMIN’, true);

Thanks for your support sdayman. Problem has been resolved, by deactivating Cloudflare flexible ssl plugin and activating wordpress https plugin.

1 Like