Website URL filters

Use URL rules to keep unwanted pages out of a sitemap source. For example, exclude old event pages with -2025/ in their address.

Where to enter the rules

  1. Open your chatbot's Knowledge screen.
  2. Open the sitemap source's ··· → Website settings.
  3. Expand Advanced.
  4. Enter your rules in Exclude these paths, one rule per line. Do not separate rules with commas.
  5. Leave Only include these paths empty if all other pages may be included.
  6. Click Save. For an existing sitemap, use Sync now afterwards and check the result.

These settings belong to this source. If you added the same pages through another source, check that source too.

Enter one excluded path rule per line under Advanced website settings. Demo data.

Example: exclude pages from 2025

To exclude https://example.com/dsfd-2025/ and any pages below it, enter:

*-2025/*

Use a real asterisk (*), not the word [wildcard]. Each * means any text, including slashes, or no text at all.

Page address Excluded?
https://example.com/dsfd-2025/ Yes
https://example.com/event-2025/ Yes
https://example.com/event-2025/programme/ Yes
https://example.com/news/event-2025/details Yes
https://example.com/dsfd-2026/ No
https://example.com/dsfd-2025 No, the rule requires a slash after 2025

If your sitemap also lists addresses without that slash, add a second rule:

*-2025/*
*-2025

The second rule matches addresses ending in -2025. An address with a query string, such as /event-2025?lang=en, also matches because Boei checks the path separately.

More examples

Rule What it excludes
/dsfd-2025/ Any address containing /dsfd-2025/, including subpages
/blog/* /blog/ and all pages below it, but not /blog without the final slash
*/archive/* An archive folder anywhere in the path
*-2025* Any address containing -2025, also /event-2025-special/. This is broader than *-2025/*.

Rules without wildcard characters (*, ? or square brackets) match any address containing that text. They are not exact-page rules. For example, /cart also matches /cartoon. Add slashes where the folder boundary matters.

Rules are case-sensitive: /Blog/* and /blog/* differ. Boei checks both the path after the domain and the full address. Wildcard rules must match the whole path or address, so keep the starting and ending * where you need them. A rule containing only * is ignored.

Only include these paths uses the same rules. When you add include rules, a page must match at least one of them. A matching exclusion always wins.

What happens to pages already trained?

Saving only stores the settings. It does not immediately remove pages or their trained content.

If Remove missing pages is enabled, the next complete successful sitemap sync removes matching pages from that source. With this option off, existing pages are kept. Sync now requires Auto Sync access. Without it, remove unwanted existing pages yourself in Knowledge. Training a page again is not the same as syncing the sitemap.

Check the sync result and the page list. Boei can stop removal to protect against a large accidental deletion. With at least 10 existing pages, it keeps missing pages if the filtered sitemap is empty or would remove 75% or more. An incomplete sitemap also prevents removals. Other additions and updates can continue. Review the rules and remove the intended pages yourself if needed.

To remove only parts of a page, such as its footer or menu, use CSS filters. For general setup, see Website knowledge.