I have a problem with firewall rules

Hello, I set this rule in the firewall : (http.request.uri.path contains “/wp-login.php”) but , on my wordpress site, I have password protected pages, I visit the page, enter the password and Wordpress redirects me to this site: www.website.gg/wp-login.php?action=postpass , and Cloudflare blocks me for the firewall rule.
Is there anything I can do to access password protected pages?

Ps: website.gg is an example site, it’s not my site.

Yep, same thing happened to me. I had to get rid of that firewall rule.

If I had more time, I’d do a referer check. Something like “If Referer does not contain my domain name, AND URI contains wp-login” then block. The catch would be that nobody would be allowed to hit that password-protected page directly (via bookmark). Only from another page on your site.

This topic was automatically closed after 30 days. New replies are no longer allowed.