Configure Cloudflare Page Rules to Protect Your WordPress Website

Configure Cloudflare Page Rules to Protect Your WordPress Website

Cloudflare is a great tool to protect your site against attacks, hacks or malware. We can use free Page Rules to protect our websites in this wa …

Configure Cloudflare Page Rules to Protect Your WordPress Website


  1. Login into your cloudflare account (We assume you had your account and your domain added.)
  2. Navigate to your Domain -> Page Rules
  1. Add a Page Rule for yourdomain.com/wp-admin* like the image:

(important: Use security level as high, not Under Attack, because it can block some scripts and functionalities in WordPress)

  1. Add another Page Rule to protect your wp-login file as the image:
  2. We finish! You can use your custom page rules in any kind of site, and protect another pages as contact, or payment for example.

Recent Post