With this setting, you can specify a list of URLs you would not like to be optimized.
Note that NitroPack automatically excludes URLs with session-related data such as cart and checkout pages.
How to exclude individual pages
- Go to General Settings.
- Locate the box Excluded URLs.
- Enable the option (click the toggle on the right).
- Enter the URL of the page you wish to exclude.
- For multiple pages, enter each page on a new line:
6. Click Save on the top right.
With wildcards, you can exclude a group of pages with a single line.
You could use the following:
The above would exclude all the pages with
.html extension in the URL, like for example: