Skip to main content
1 of 3
Pog Le Pog
  • 137
  • 1
  • 10

How to have various 'access denied' pages depending on URL

I want to make multiple access denied pages and show the relevant one based on the page attempted to view.

Use case:

User is limited to only one "CV" node. If they try to create another, they get an access denied page. I want to display a custom page that says something like, "You can only create one CV".

Is this possible? The only custom access denied solutions I've found create a single page.

Cheers, Oliver

Pog Le Pog
  • 137
  • 1
  • 10