Incorrect [site_login_url]

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?

Posted in

Comments

3 responses to “Incorrect [site_login_url]”

  1. Eugen Bleck Avatar
    Eugen Bleck

    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.

  2. Kesia Yang Avatar
    Kesia Yang

    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 🙂

    1. Eugen Bleck Avatar
      Eugen Bleck

      Hi Kesia,

      Good morning. Happy new week.

      Thanks for letting me know.

      Have a productive and enriching day ahead.

      Kindest regards,
      Eugen.

Share