The EdgeRules feature is available only on Enterprise plans.
How to exclude Wp-admin
As an additional security measure, you may want to restrict access to wp-admin locations. You can do this through the custom path or IP address and reject access ...
Read More »
Ignoring Query Strings Selectively
The EdgeRules feature is available only on Enterprise plans.
In some cases, we have a need to selectively ignore query strings and properly honor other requests with different query strings. In the following example, we are going to ignore query s...
Read More »
Allowing Only GET HTTP Requests
The EdgeRules feature is available only on Enterprise plans.
Request Method
Using the $request_method NginX variable, we want to filter requests by the method and only allow GET requests:
NginX configuration block
location / {
if ($reques...
Read More »
Manipulation with Content-Disposition Filename
Content-Disposition Filename
Here we'll give an example of manipulation Content-Disposition based on file type or extension. For the sake of the example, we've selected a few extensions that we want to append with Content-Disposition and provide t...
Read More »
Using EdgeRules, it is possible to dictate how status code 404 "Not Found" pages will look and interact with clients ending up on nonexistent locations. This article will assist in the creation of such a rule.
The EdgeRules feature is available on...
Read More »
Reject Dynamic Content From CDN
Keeping dynamic content from being pulled from the CDN can be important, especially when a full site cache is configured, and we want to make sure that the CDN will not be a part of dynamic content execution or delivery. Why is this important? Whe...
Read More »
In a situation where a system requires cookies in order to perform or prevent certain operations, the $http_cookie variable can be used to verify the content of a cookie sent.
The EdgeRules feature is available only on Enterprise plans
In the foll...
Read More »
In some use-cases, it may be useful to return a specific status code for certain asset or path on the CDN. The example in this article will assist in creating a rule to display a desired status code on a specific path.
In this example, an HTTP st...
Read More »
MaxCDN Edge Rules are a great way to ensure that your users get a consistent experience, while also mitigating possible duplicate content in your CDN cache, no matter the format used when a hyperlink is used to get to your site. This article wi...
Read More »
EdgeRules can be configured to redirect a client based on the User-Agent sent with the request. We will look at an example of this here.
The EdgeRules feature is available only on Enterprise plans.
Example: Redirecting by User-Agent
Some user ag...
Read More »
95% of questions can be answered using the search tool. This is the quickest way to get a response.