Hi, I just purchased this plugin and noticed that the [site_login_url] links to my WordPress backend instead of my login page. Can this problem be resolved?
Incorrect [site_login_url]
Posted in Affiliates Pro
Hi, I just purchased this plugin and noticed that the [site_login_url] links to my WordPress backend instead of my login page. Can this problem be resolved?
Follow us! We post news and tutorials related to our tools, WordPress and WooCommerce on these platforms:
Hi Kesia,
I trust you are well and safe!
Thanks for using Affiliates Pro and for being a valued customer.
Use the filter affiliates_registration_login_redirect_url in your functions.php file of your child theme.
Try the following snippet:
add_filter( ‘affiliates_registration_login_redirect_url’, ‘gt_affiliates_registration_login_redirect_url’ );
function gt_affiliates_registration_login_redirect_url( $url ) {
return ‘http://link_to_your_affiliate_area_page’;
}
Stay safe!
Kind regards,
Eugen.
Hi, I’ve managed to solve the problem by following the instructions here: https://www.itthinx.com/topic/where-to-change-site_login_url/
Thank you for the awesome support forum and plugin 🙂
Hi Kesia,
Good morning. Happy new week.
Thanks for letting me know.
Have a productive and enriching day ahead.
Kindest regards,
Eugen.