Can I Block Routes When Scanning My Website?

You can exclude specific URLs or paths from being scanned if the're not relevant, such as private dashboards and staging pages. This keeps your reports clean and focused.

Why block routes?

  • Cleaner results: Skip internal pages that don’t affect public accessibility.
  • Faster scans: Avoid crawling large admin areas or dynamic content routes.
  • Reduce noise: Focus reports on what users actually experience.
  • More secure: Prevent scanning restricted or password-protected areas.

How to block routes in GetWCAG

  • Go to your project’s dashboard and click “ Exclude URLs from Scanning”
  • Enter paths or URLs you want to exclude. Important: Use the wildcard pattern to block entire sections:
    • /blog/* — blocks all pages under /blog (not just /blog itself).
    • /dashboard/* — blocks everything under /dashboard.
    • /en/blog/* — if you have localization, include the locale prefix (e.g., /en/, /sv/, etc.).
    • example.com/private — blocks a specific full URL.
  • Click Add to include them in your blocked list.
  • When finished, click Save Changes.
  • Your next scan will automatically skip all blocked paths or URLs.

Example: Block internal pages

If your website has routes that shouldn’t be scanned, such as admin panels or authentication pages, you can exclude them easily.

/admin/*
/dashboard/*
/blog/*
/en/blog/*
example.com/internal-page

Remember: To block all pages under a path like /blog, you must use /blog/*. For localized sites, include the locale prefix like /en/blog/* or /sv/blog/*.

💡 Pro Tip

Blocked routes don’t need to appear in your sitemap. Keeping them separate ensures GetWCAG scans only what matters — public-facing content that users and customers interact with.