Excluded URLs

With this setting, you can specify a list of URLs you would not like to be optimized.

Important Note: NitroPack automatically excludes URLs with session-related data such as cart and checkout pages.

How to exclude individual pages

  1. Go to General Settings.
  2. Locate the box Excluded URLs.
  3. Enable the option (click the toggle on the right).
  4. Enter the URL of the page you wish to exclude.
  5. For multiple pages, enter each page on a new line:
https://your_site.com/page/privacy
https://your_site.com/page/terms
https://your_site.com/page/refunds

   6. Click Save on the top right.

Using wildcards

With wildcards, you can exclude a group of pages with a single line.

You could use the following:

*.html

The above would exclude all pages with a .html extension in the URL, for example:

https://your_site.com/page/privacy.html
https://your_site.com/page/terms.html
https://your_site.com/page/refunds.html

You can also use wildcards to exclude all URLs containing a specific word. For example, to exclude all category URLs (assuming they all have “category” in their name), you can write:
*category*
Was this article helpful?
1 out of 1 found this helpful

Comments

2 comments
  • Can only the startpage on mobile devices be excluded?

    0
  • Hi Juergen,

    Unfortunately, there isn't an option to exclude only the mobile version of a page. If you need technical assistance for your website's mobile homepage, feel free to open a ticket with our technical support team via this form - https://support.nitropack.io/hc/en-us/requests/new?ticket_form_id=360006822953.

    Hope this helps.

    0

Article is closed for comments.