Wishlist/Wordpress redirect fix
I'm using Wishlist Member plugin for membership management with a Wordpress site.
My issue is, when sending a direct link to our list to a forum post (the forum is protected) the members first have to login (if they're not already).
But after being redirected to the WP-Login page to login, I can't redirect them to the page they wanted to see. Wishlist sends them to the page I choose as the "After Login Page".
I'm wondering if anyone would know the PHP required to make this happen.
I'm guessing it would be structured like this:
IF USER IS LOGGED IN --> GO TO REQUESTED PAGE
IF NOT A USER OR NOT LOGGED IN --> GO TO LOGIN PAGE
AFTER LOGIN --> GO TO REQUESTED PAGE
Obviously, I have no clue how it needs to be structured but any help would be appreciated.
Thanks,
Duston
The Hydrurga WSO - Rank Your Site #1 And Score Over The Penguin Updates!
The 2nd Amendment, 1789 - The Original Homeland Security.
Gun control means never having to say, "I missed you."
The 2nd Amendment, 1789 - The Original Homeland Security.
Gun control means never having to say, "I missed you."