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

How to Use Edge Rules in Pressable

Last modified: November 4, 2026

Ask Your Favorite AI

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

Edge Rules let you control how visitors access your website before their requests reach WordPress. You can use them to restrict access to WordPress admin, block or challenge visitors from specific countries, manage AI crawlers, create redirects, control caching, and more.

Because Edge Rules run on Pressable’s network, they help protect and manage your website before requests reach your server. Blocked requests never reach WordPress, reducing unnecessary work for your site.

You can manage Edge Rules directly from your site’s MyPressable dashboard without installing additional plugins.

What are Edge Rules?

Edge Rules are website access and request-handling rules that run on Pressable’s network before a request reaches your website. Since these rules operate at the network level, WordPress plugins cannot override or bypass them.

Depending on the rule you configure, you can:

  • Restrict access to WordPress admin by IP address.
  • Allow trusted services and tools to bypass browser challenges.
  • Block or challenge visitors based on their country.
  • Redirect visitors from old URLs to new destinations.
  • Exclude specific pages from the edge cache.
  • Block or challenge known AI crawlers.
  • Modify incoming requests and outgoing response headers.
  • Rewrite request URLs without changing the visitor’s browser address.

Who can manage Edge Rules?

Access to Edge Rules depends on the user’s role:

New collaborators do not automatically receive the Security role. The site owner must explicitly enable it when granting access.

Where to find Edge Rules

  1. Log in to your MyPressable dashboard.
  2. Select the website you want to manage.
  3. Navigate to Site Configuration in the site’s sidebar.
  4. Select Edge Rules, located below Security.
Edge Rules

You can also find the page by typing “Edge” in the Search this site field.

 Search Edge

How to add an Edge Rule

Adding a rule involves three steps.

Step 1: Choose a rule

Select Add Rule and choose one of the available rule types.

Popular starting points include:

  • Only let my IP addresses into WordPress admin.
  • Let my tools past browser checks.
  • Block or challenge visitors from countries.
  • Redirect an old URL.
  • Never cache a page.
  • Keep AI crawlers off my site.

You can also select a custom rule under Build your own for more advanced configurations.

Each rule displays an impact level: Low, Medium, or High. Review this information before proceeding, particularly when configuring rules that may affect website accessibility.

step1 in setting up edge rules

Step 2: Set up the rule

Enter the information required for your selected rule.

Depending on the rule type, this may include:

  • IP addresses or IP ranges.
  • Countries to block or challenge.
  • Source and destination URLs.
  • Request paths and conditions.
  • HTTP methods or headers.
  • The website domain to which the rule applies.

You can choose whether a rule applies to all domains associated with your website or only one specific domain.

step2 in setting up edge rules

Where available, use Add my IP address to automatically populate your current IP address.

Add my IP address to edge rules

Step 3: Review and save

Review the rule configuration before saving.

Pressable validates the configuration and identifies fields that need correction. If an issue is found, you will be directed to the relevant field.

You must also provide a reason for creating the rule. This reason is displayed alongside the rule and recorded in your site’s Activity Logs.

step3 in setting up edge rules

For high-impact rules, review the potential effects carefully before saving.

Once saved, the rule initially displays an Activating… status. Most rules become active in less than a minute, although some changes may take longer.

edge rule activating status

The page automatically checks for status updates while it remains open and changes to Active when complete. Check it works walks you through testing that the rule does what you expect.

edge rule active state

Understanding Rule Statuses

Edge Rules display different statuses depending on their current state.

StatusDescription
ActiveThe rule is currently active.
Activating…The rule has been saved and is being applied across the network.
InactiveThe rule has been manually turned off.
SuspendedThe rule has been temporarily disabled using Suspend All.
Not appliedThe rule was saved but could not be applied.
Didn’t go liveA saved change did not become active.

What if a rule remains on Activating…?

Most changes are applied within a minute, but some may take longer. If a rule remains in this state, check again after a few minutes.

If the rule applies to all domains, make sure every domain associated with the website is pointed to Pressable. An all-domain rule may not finish activating until all domains point to Pressable. It can still work on domains that are already pointed correctly.

What if a rule didn’t go live?

Try turning the rule off and then on again. If the issue continues, contact Pressable Support.

What if a rule says Not applied?

The rule was saved but could not be applied. Delete the rule and try creating it again. If the issue happens again, contact Pressable Support.

Available Edge Rules

1. Restrict access to WordPress admin by IP address

Use this rule to allow only specified IP addresses to access:

  • /wp-admin
  • /wp-login.php

You can optionally include /xmlrpc.php.

This is useful when you want to restrict WordPress administrative access to your office, home, or another trusted network.

Visitors connecting from IP addresses that are not on the allowed list receive a 403 Forbidden response.

Important: If your IP address changes, you may lose access to WordPress admin. Make sure your current IP address is included before enabling this rule. Tip: Add a secondary trusted IP address (such as a mobile data connection or VPN) as a backup in case your primary internet provider changes your IP.

Requests to admin-ajax.php originating from the public-facing website continue to work for all visitors.

2. Allow trusted tools to bypass browser challenges

Use this rule to allow trusted services to bypass your custom browser challenge rules.

Common examples include:

  • Uptime monitoring services.
  • External integrations.
  • Services running from your other websites.
  • Automated tools that need to access your website.

Add the IP addresses used by these services to the trusted list.

Important: This rule bypasses your challenge rules, but it does not bypass your block rules or Pressable’s own protection rules.

3. Block or challenge visitors from specific countries

Use this rule to control access based on the country associated with a visitor’s IP address.

You can choose between:

  • Block: Visitors from the selected countries receive a 403 Forbidden response.
  • Challenge: Visitors must complete a browser check before accessing the website.

The browser challenge is designed to allow legitimate browsers while preventing many automated requests.

4. Redirect an old URL

Use this rule to redirect visitors from an existing URL to a different destination.

You can configure:

  • 301 redirect: Permanent redirect. Browsers and search engines can remember the new destination.
  • 302 redirect: Temporary redirect.

The original query string is preserved by default for this starting-point rule.

5. Never cache a page

Use this rule to exclude specific pages or paths from the Pressable edge cache.

The requested content is served fresh from your website instead of being delivered from the edge cache.

Common examples include:

  • My Account pages.
  • Shopping cart pages.
  • Pages displaying frequently changing or personalized information.

You can configure the rule for a specific path or a path and its subpaths.

6. Keep AI crawlers off my site

Use this rule to manage access from known AI crawlers.

You can choose to:

  • Block known AI crawlers.
  • Challenge known AI crawlers with a browser check.

Pressable maintains the list of recognized crawlers, so you do not need to manually maintain individual crawler names.

7. Build your own custom rule

If the predefined rules don’t meet your requirements, select Build your own to create a custom rule. You can configure the following rule types:

  • Access control: Block or challenge requests, or allow trusted IP addresses to bypass your custom security rules.
  • Redirects and rewrites: Redirect visitors to another URL or modify the path and query string sent to your website.
  • Headers: Modify request headers sent to WordPress or response headers returned to visitors.
  • Caching: Skip the edge cache for specific requests or ignore selected query parameters when generating cached versions of a page.
  • AI crawler protection: Block or challenge recognised AI crawlers.

Configure matching conditions:

Custom rules can match requests using one or more conditions, including:

  • URL path and file extension.
  • Query string or query parameter.
  • Domain and request method.
  • User agent and referrer.
  • Request headers and cookies.
  • Visitor IP address, country, and Autonomous System Number (ASN).
  • Advanced browser fingerprints.

Block and challenge rules also support grouped conditions, allowing you to combine multiple criteria up to one level deep.

Additional configuration options:

Depending on the rule type, you may have access to the following settings:

  • Block responses: Choose an HTTP error status code between 400 and 499. The default is 403 Forbidden.
  • Trusted IP addresses: Choose whether trusted addresses bypass only your custom challenge rules or both your custom block and challenge rules. When both are bypassed, rules below the trusted IP rule will not process those requests.
  • Redirect status codes: Choose between 301, 302, 307, and 308. You can also choose whether to preserve or remove the original query string.
  • URL rewrites: Change the path or query string received by your website without changing the URL displayed in the visitor’s browser.
  • Request and response headers: Request header rules modify what WordPress receives, while response header rules modify what visitors receive.
  • Cache query parameters: Ignore selected query parameters when generating cached versions of a page, allowing URLs with different values for those parameters to share a cached copy. Only ignore parameters that do not affect the content displayed on the page.

Managing Existing Edge Rules

Once a rule has been created, it appears in the Edge Rules list.

Rules are grouped according to the order in which they are processed. Each entry displays a description of what the rule does, who created it, when it was added, and the reason provided during creation.

Select the menu next to a rule to access the available actions:

  • Edit rule: Modify the rule’s configuration.
  • Move up: Change the rule’s position where supported.
  • Move down: Change the rule’s position where supported.
  • Turn off rule: Temporarily disable the rule.
  • Delete rule: Permanently remove the rule.
  • Check it works: Test whether the rule behaves as expected.

Editing a rule

When you select Edit rule, the existing configuration is displayed.

You can update the rule’s settings, but the following properties cannot be changed after creation:

  • Rule type.
  • Rule name.
  • Domain selection.

To change any of these properties, delete the existing rule and create a new one.

If you are editing a WordPress admin access rule and your current IP address is not included in its allowed list, Pressable displays a warning that you may lock yourself out.

Testing a rule

Use Check it works to verify that the rule behaves as expected.

Follow the instructions displayed during the test.

Suspending and Restoring All Edge Rules

If you encounter an issue with your Edge Rules configuration, you can temporarily disable all rules using Suspend All. This feature is useful when a rule unexpectedly blocks legitimate visitors or affects website functionality.

When you select Suspend All:

  1. A pop-up asks you to confirm the action.
  2. All applicable customer-created rules are suspended.
  3. Your existing rules remain saved but are no longer active.
  4. A banner appears indicating that rules are suspended.

If your suspended banner says suspending didn’t finish, some rules may still be active if the suspension process did not complete successfully. Contact Pressable Support to verify the live state of your rules.

To restore your previous configuration, select Restore All Rules. Previously disabled rules remain disabled after restoration.

Pressable Protection Rules

Pressable runs some protection rules as well. You can see them on the page but can’t change them; the rules you set/change can’t turn Pressable Rules off, and these rules can act before any of the custom rules do.

Activity Logs

Every change to a rule, and every suspend and restore, goes into the site’s Activity Logs along with who did it and the reason they gave.

How Edge Rules are Processed

Edge Rules are evaluated on Pressable’s network before requests reach WordPress. Every incoming request passes through the following processing stages:

  1. Redirects.
  2. Rewrites.
  3. Block and Challenge.
  4. Request headers.
  5. Edge cache.
  6. Response headers.

Only the stages containing configured rules may appear on your Edge Rules page.

Rule Priority and Execution Order

  • For Redirects, Rewrites, and Block & Challenge rules, the first matching rule is applied, and the remaining rules in that stage are skipped.
  • For request headers, response headers, and cache rules, every matching rule is applied.
  • If multiple rules modify the same setting, the rule higher in the list takes precedence.
  • Only Block & Challenge rules can be manually reordered using Move up and Move down.
  • If two rules have the same position, the Edge Rules page identifies the conflict and prompts you to correct the ordering.

Domain-specific Rules

When creating a rule, you can choose whether it applies to all domains or only one domain.

All domains:

  • Applies to every domain associated with your website.
  • Automatically covers domains added in the future.
  • Is copied when the website is cloned.

One domain:

  • A domain-specific rule applies only to the selected domain.
  • Domain-specific rules are maintained separately from all-domain rules. Rule reordering is limited to the corresponding rule list.
  • When a domain is removed from your website, its associated rules are also removed.

Edge Rules Limits and Restrictions

  • Each website can have a maximum of 20 rules.
  • Each individual domain can have a maximum of 5 domain-specific rules. When the website reaches its rule limit, the Add Rule option is disabled.
    A domain that has reached its limit cannot be selected when applying a new rule.
  • Rule names must use lowercase letters, numbers, hyphens, and underscores.
    Rule names must be unique.
  • The same rule cannot be added multiple times under different names.
  • A reason is required when creating a rule and can contain up to 255 characters. Emojis are automatically removed from the reason.
  • More than 30 changes within one minute may trigger temporary rate limiting.

If you reach the rule limit, see if you can consolidate existing rules first. If you need to delete rules, or need assistance, contact Pressable Support to discuss available options.

Troubleshooting and Frequently Asked Questions

I am locked out of WordPress admin

This may happen if an IP-based admin access rule is enabled and your current IP address is not included in the allowed list. To resolve this, look for the rule restricting access to WordPress admin. Turn off or delete the rule, and add your current IP address to the allowed list.

If you cannot access MyPressable or resolve the issue yourself, contact Pressable Support.

My uptime monitor or external tool is being blocked

A browser challenge rule may be preventing your monitoring service or external tool from accessing your website. Try adding the service’s IP addresses using Let my tools past browser checks. Remember that trusted IP rules for bypassing challenges do not override block rules. Review your other configured rules if the issue persists.

My rule does not appear to be working

Confirm that the rule status is Active, and use Check it works to test the configuration. Check whether another rule higher in the processing order or a Pressable protection rule is affecting the request.

  1. Test using a page that has not already been cached. Cached content may sometimes make a new redirect or header configuration appear ineffective.

I cannot see my request header changes

Request header rules modify the headers received by WordPress, not the response sent to the visitor’s browser. To verify the changes, inspect the incoming headers within WordPress or use a suitable plugin or application that logs request headers.

How can I confirm that my block rule is working?

Blocked requests never reach your website. As a result, they will not appear in your website’s Webserver Logs. A reduction in the relevant traffic may indicate that the rule is working.

For AI crawler activity, you can also inspect user-agent information for recognized crawler names, such as GPTBot or ClaudeBot.

I cannot find the Edge Rules Section in MyPressable

Make sure you are the website owner or have been assigned the Security role and that your website is active. Your website should have completed setup on the Pressable platform, and the owner’s Pressable account should be active.

If all these conditions are met and Edge Rules is still unavailable, contact Pressable Support.

I see a message saying This rule already exists

The same rule may already be configured on your website, possibly under a different name. Follow the link provided in the message to locate the existing rule.

I cannot edit a rule

Some rules created through the API may not be supported by the visual editor. If a rule cannot be edited through MyPressable, the editor displays a message explaining that it can only be changed through the API. You can still delete the rule from the interface.

API-based and AI-assisted Edge Rule Management

Technical documentation on API calls can be found HERE