How to redirect to a custom page url if non logged in user clicks on a profile
I am looking to achieve the following:
If a non-logged in user clicks on a single user profile from the public view directory, I would like them to be redirected to a custom url on the site to show them that the page is restricted unless you login (url/content-restricted).
At the moment, if a non-logged in user clicks on a profile from the directory, they are redirected to the homepage. I would like to override this redirects destination if possible?
Thanks in advance
- You must be logged in to reply to this topic.