March 9, 2015 at 1:31 am #12315Shobha22Member
Hi: My site is at [http://shobhaponnappa.com]. At the footer is the Affiliates link where I have linked to WP Affiliate’s plugin and its all working beautifully.
My problem is that I have to set up another login on my site for my clients which I have done by setting up a login form at [http://shobhaponnappa.com/client-login]. The plugin called Peters Login Redirect has to be used to redirect the logged in clients to their specific pages. Now this plugin Peters Login Redirect seems to have login/redirect issues if another plugin like WP Affiliate is already present. They have given the solution like this:
“The preferable way to support that is for the other plugin to allow you to configure the redirect URL — and then you can set that the redirect plugin URL.
Otherwise, you can hardcode that into their code using something like this where WooCommerce is clashing with their login/redirect:
line 11 from
<input type=”hidden” name=”redirect_to” value=”<?php echo $redirect_to; ?>” />
<input type=”hidden” name=”redirect_to” class=”redirect_to” value=”<?php echo site_url(‘/wp-content/plugins/peters-login-redirect/wplogin_redirect_control.php’); ?>” />
This is working beautifully, after weeks of searching.
I am not a techie but I need WP Affiliate login to continue working beautifully as now but also allow the Peters Login Redirect plugin to work so that my clients can also login and be taken to their specific pages. Is there any code I need to add in any of the WP Affiliate files that can allow both plugins to work well?
Please explain to me in detail which file exactly what to change or edit in the code.
Thanks in advance for your help and guidance.March 9, 2015 at 11:50 pm #69027adminKeymaster
This login issue happens when your affiliates go to the affiliate plugin’s login page and logs into the affiliate portal?
Are you using the “WordPress User Integration Settings” option in this plugin?March 10, 2015 at 1:03 pm #69028Shobha22Member
I managed to solve the problem, but anyway I thought I will post the solution to help others with same problem. See I deactivated WP Affiliate while keeping the other plugin active. Then I reactivated WP Affiliate. Now both plugins are working fine with proper login.
I think it was due to the other plugin not redirecting if another plugin like WP Affiliate was already in use, using the redirect function.
But once I deactivated and then reactivated WP Affiliate both started working properly.
- You must be logged in to reply to this topic.