I'm building a website and I was wondering if it is possible to exclude certain permalinks from beings used.
For example: if my website has a demo of a project running on
www.example.com/demo/ and a user creates a page called demo, I don't want WordPress to create a permalink like
Is there a way to exclude these permalinks? So that WordPress will take the next available permalink? Like
www.example.com/demo-2/ or something?