Redirect after subscription
I’m trying to change the URL of the redirection after subscribing to a forum, based on where I’m coming from.
I have subscription buttons on both the forum pages and a page with a list of all forums. When I subscribe from the forum page I want to stay there (it works fine), and when I subscribe from the list I want to go back to the list but instead I am redirected to the page of the forum I just subscribed to.
Looking at the comment in the code (“Redirect back from whence we came”) I feel like what I want to do is actually how it’s supposed to work but it’s not working for me (I fall in the last else).
Any idea how I could achieve this?
Thanks in advance!!
- You must be logged in to reply to this topic.