Replies: 1 comment 1 reply
-
Make a blank page entry where the URL is layout: layout_custom_blog
template: blog_items_listing The |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Does Statamic validates URI uniqueness against routes, which are defined in
routes/web.php
?Goal: disable entry creation with slug
blog
.Logic:
blog
slug is already defined inroutes/web.php
asRoute::statamic('blog','blog_items_listing.antlers.html',['layout' => 'layout_custom_blog'])
;If user creates an entry with
blog
slug, andUniqueEntryValidation
is defined, statamic saves it with slugblog
.Is there any solution how to disallow save URIs which are defined globally?
Beta Was this translation helpful? Give feedback.
All reactions