integreat-cms
integreat-cms copied to clipboard
Exclude reserved namespaces from possible slugs
Motivation
Some urls are reserved for the linking of the webapp, e.g.
-
Global patterns:
- https://integreat.app/landing
- https://integreat.app/main-disclaimer
- https://integreat.app/licenses
- https://integreat.app/recommend
-
Region-specific patterns:
- https://integreat.app/testumgebung/de/disclaimer
- https://integreat.app/testumgebung/de/news/local
- https://integreat.app/testumgebung/de/events
- https://integreat.app/testumgebung/de/locations
- https://integreat.app/testumgebung/de/offers
- https://integreat.app/testumgebung/de/search
Proposed Solution
- We should prevent
landing
,main-disclaimer
,licenses
andrecommend
as slugs for regions - We should prevent
disclaimer
,news
,events
,locations
,offers
andsearch
as slugs for pages.
(probably it makes sense to put these lists in the settings file)