Ignore redirect_to variable if it's the home URL
-
My site requires logging in to view any page. I am looking for the following scheme, which doen’t work right now:
- If Subscriber requests the home URL, redirect to a specific page after login
- If Subscriber requests a specific page, redirect to the requested page after login
Unfortunately, with the “allow redirect_to” option set so that I can achieve #2, it means that #1 will never work because the redirect_to value is set to the homepage. How can I get both rules to qualify?
- The topic ‘Ignore redirect_to variable if it's the home URL’ is closed to new replies.