New to Pressable? Get up to 6 months of free hosting on Premium plans this holiday season. Ends Nov 30. Get the offer

Control Traffic Before It Reaches Your Site with Edge Rules

by on November 17, 2026

Ask Your Favorite AI

Copy the link to a markdown format of this article for ChatGPT, Claude, Gemini, or your favorite AI.

Restricting WordPress admin to your office IP, blocking traffic from a country you don’t sell to, keeping AI crawlers off your content, or redirecting an old URL used to mean opening a support ticket or installing a plugin. Plugins help, but they only run after a visit has already reached your server and WordPress has started working on it.

Edge Rules, now available in MyPressable, let you handle all of this yourself on Pressable’s network, before traffic reaches your site.

Protection that runs before WordPress does

Edge Rules run on our edge network. When a rule blocks a visitor, the request stops there. WordPress never processes it, and your server does no work for that visitor, so unwanted bots and blocked traffic don’t use the resources your real visitors need. Plugins can’t see or undo an edge rule, and most rules go live in under a minute.

Start from a pre-built rule

Six starting points cover the setups customers ask us for most often:

  • Restrict WordPress admin and login access to specific IP addresses.
  • Let monitoring tools and external services past challenge checks.
  • Block or challenge visitors by country. A challenge asks the browser to pass a quick check that real browsers pass and most bots can’t.
  • Redirect an old URL to a new one with a permanent (301) or temporary (302) redirect.
  • Keep specific pages, like WooCommerce cart and My Account pages, out of the edge cache.
  • Block or challenge known AI crawlers using our continuously updated list.

Build your own rules

When a template doesn’t fit, the custom rule builder lets you match requests on paths, file extensions, query strings, request methods, user agents, referrers, headers, cookies, IP addresses, countries, networks (ASN), or browser fingerprints. A custom rule can then redirect (301, 302, 307, or 308), rewrite the URL, block or challenge, add request or response headers, bypass the cache, or change how query parameters are handled.

Rules run in a set order: redirects, rewrites, block and challenge, request headers, edge cache, then response headers. You control the order of your block and challenge rules with Move up and Move down. A rule can cover all of a site’s domains or just one. All-domain rules also apply to domains you add later and carry over when you clone the site. Each site can have up to 20 rules, with up to 5 per domain.

Guided setup with safety controls

Adding a rule takes three steps: choose a rule, set it up, and review. Every rule type is labeled Low, Medium, or High impact when you choose it, so you know how careful to be. The review step flags configuration issues, adds a reminder for High impact rules, and asks for a short reason. That reason is saved to your site’s Activity Logs along with who made the change, so your team always knows what changed and why.

A few more safeguards keep a rule from causing trouble:

  • For the admin IP allowlist, “Add my IP address” fills in your current address, and you’ll see a warning if you’re about to lock yourself out.
  • The “Check it works” flow lets you test a rule once it’s set up.
  • Suspend All pauses every custom rule at once without losing your settings, and Restore All Rules turns them back on in one click.
  • Pressable’s own protection rules show up next to yours and always stay on. Your rules can’t switch them off, and ours run first.

How to get started

Log into MyPressable, select an active site, and go to Site Configuration > Edge Rules in the left sidebar. You can also type “edge” into the Search this site bar. Click Add Rule, pick a starting point or build a custom rule, and follow the three-step setup.

Site owners can give collaborators access by checking the Security capability in their collaborator settings.

For more information on Edge Rules, visit our Knowledge Base.

Read More Articles in Hosting Essentials

Man sitting using phone and laptop and coffee beside on table in office
Hosting Essentials

6 Benefits of Hosting Your WordPress Website on the Cloud

Hosting WordPress websites in the cloud has become increasingly popular among agencies, freelance developers, website admins, and ecommerce businesses that prioritize speed, reliability, scalability, and security. And with good reason. There are many benefits of […]

illustration of a desktop computer screen with a business continuity plan being implemented
Hosting Essentials

Rank Math vs Yoast

Rank Math vs Yoast: A Head-to-Head Comparison for On-Page SEO A WordPress site can have great content but if it isn’t optimized for SEO, your audience may never find it.. Great content also needs great […]