Jump to content

Page select for URL redirect in templates


kiennguyen1101
 Share

Recommended Posts

Hello,

I've tried to search the forum for this but so far no luck so I decided to post this in wishlist section.

Under the Templates/Permissions, there is an option to redirect the user to a certain URL when he is not permitted to view the page. However, this is a pure text input and it's really difficult in the case where I would like to choose to redirect user to a certain page. The page might have multiple URL (multiple languages) or the url might be changed later by the user so a static URL redirection here is no good.

Have a nice day.

Link to comment
Share on other sites

You can just put the ID of the page in that field. And to clarify the possible confusion. It may be the case you want to redirect to an url, that isn't a page managed by processwire, therefore it's not a page select field from the beginning.

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...