Manage Page Rules
Learn how to add, edit, clone and delete page rules in the Medianova Panel.
You can manage Page Rules in the Medianova Panel or via API.
Log in to the Medianova Panel, select a CDN resource in the CDN section and navigate to the Page Rules tab.
Turn on Page Rules
By default, Page Rules is disabled. Click the Status toggle to turn on Page Rules.

The screen now shows a Create Page Rule button, enabling you to get started with your first page rule.
File Path and File Extension
Page Rules match on a combination of file path and file extension.
File Path
Directory, wildcard and regex pattern
File Extensions
Any, one or more
Directory is recursive (unless using the Exact Match setting), meaning /dir/ matches all URLs for files in the /dir/ directory and its subdirectories.
Wildcard is for example * to match on any URL path and /*/images/ matches URLs in any second-level images directory.
When using regex pattern, only the * . / () [] $ symbols are supported. You cannot use other symbols, including ? ! + ^.
Add a Page Rule
Click the Create Page Rule button
A new window appears containing a form to create a page rule. The form requires specifying a File Path and one or more File Extension entries, and allows for selecting and configuring Page Rules settings.

Set the File Path and File Extensions
Select and Configure Settings
From the drop down menu, select a setting and click the Add a Setting button. Configure the setting using the options that appear below the drop down menu.
Repeat this step if you want the page rule to trigger multiple actions.
Deploy to CDN
Push the page rule to the CDN by clicking the Create button.
View Page Rule Details
Find the page rule in the table, click the three dots and select Page Rule Details. The new window shows the status of every setting and details for each setting.

Clone a Page Rule
If you want to create a new page rule that is very similar to an existing rule, the easiest way is to clone the existing rule, and then apply changes to the clone.
Select the Page Rule to Clone
Find the page rule in the table, click the three dots and select Clone Page Rule. A new window appears for editing the cloned rule:

Set the File Path and File Extensions
Set a combination of file path and file extensions that is different from the rule you just cloned.
Deploy to CDN
Push the new page rule to the CDN by clicking the Clone button.
Edit a Page Rule
Change the page rule in three steps:
Select the Page Rule to Edit
Find the page rule in the table, click the three dots and select Edit Page Rule. A new window appears for editing the rule.
Change the File Path and File Extensions
If you only want to change page rule settings, do not edit the file path and file extensions
Change Page Rule Settings
From the drop down menu, select a setting you want to change and click the Add a Setting button. Configure the setting using the options that appear below the drop down menu.
Repeat this step if you want to change another setting.
Deploy to CDN
Push the page rule to the CDN by clicking the Update button.
Delete a Page Rule
Find the page rule in the table, click the three dots, select Delete Page Rule and click Yes, Delete in the confirmation window. This triggers an immediate update to CDN servers.
Last updated
Was this helpful?