Unauthenticated visitors (in incognito/private‐browsing mode) can see the WordPress admin (the admin website) toolbar at the top of every page—even when not logged in. The toolbar only disappears when I enable Cloudflare Development Mode.
What steps have you taken to resolve the issue?
Bypass cache for admin page and login page
Was the site working with SSL prior to adding it to Cloudflare?
Yes
What is the current SSL/TLS setting?
Full (strict)
What are the steps to reproduce the issue?
Disable Cloudflare Development Mode.
Visit (website) in a private/incognito window.
Observe that the WP admin toolbar is visible at the top without logging in.
Enable Development Mode again — toolbar immediately hides.
(not starts_with(http.request.full_uri, "/wp-login")
and not starts_with(http.request.full_uri, "/wp-admin")
and not http.cookie contains "wp-"
and not http.cookie contains "wordpress"
and not http.cookie contains "woocommerce")
Does that look correct?
Under Cache eligibility, should I select “Eligible for cache” (so all matching front-end hits get cached) or “Bypass cache”?