Excluded paths – Redirect & 404 Manager
Excluded paths
Certain path areas of a Shopware shop are technical in nature and should be neither redirected nor logged. Redirect & 404 Manager therefore always excludes the following eight prefixes — both from redirect matching and from 404 logging:
| Prefix | Why it's excluded |
|---|---|
/api | Interface calls, not user requests — redirecting these would break API clients |
/admin | The administration area; its own access and routing logic applies here |
/store-api | Storefront API requests, e.g. for PWA or headless setups |
/_ | Internal, underscore-prefixed paths (e.g. framework-internal routes) |
/bundles | Static assets from plugins and the core system |
/theme | Compiled theme assets (CSS, JS) |
/media | Uploaded media files (images, documents) |
/thumbnail | Generated image thumbnails |
Why this exclusion makes sense
API, admin, and asset paths are requested massively and automatically — by your own storefront, by apps, by search engine crawlers, or by third-party systems. If these paths were also logged, the 404 log would immediately be flooded with technical noise, and the genuinely relevant 404 errors caused by real visitors would be nearly impossible to find.
Just as important: an accidental redirect on one of these paths could technically break the shop, for instance if an API call were suddenly redirected to an HTML page. The exclusion is therefore both a data-quality and a safety measure.
The exclusion applies equally to both functions: for paths with these prefixes, no created redirect fires, and 404 hits on these paths are never captured in the log.
Was this page helpful?
Support
Rented Plugins (Shopware Store)
For support with plugins rented from the Shopware Store, please open a support ticket in your Shopware account.
Create Shopware Ticket