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

ssl
wordpress

#1

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


#2

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);


#3

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