- This topic has 1 reply, 2 voices, and was last updated 13 years, 7 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › WP Affiliate General Questions › WP Affiliate – Redirect After Logout
Tagged: log out screen
Hi,
When we log out of the affiliate software, we’re redirected to the /?wp_affiliate_view=logout which is the same as our sign up page. Is there any way to redirect to /?wp_affiliate_view=login when an affiliate logs out?
Thanks much!
Open the “wp_affiliate_platform1.php” file and search for the following line:
if(isset($_GET['wp_affiliate_view']) && $_GET['wp_affiliate_view']=='logout')
Take note of this “if” condition block and add the following just before the end of this if condition block (modify the URL to suit your need):
header("Location: http://www.example.com/where-ever-you-want-to-redirect");
exit;