Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Wp affiliate: user (affiliate ID) and redirect

by

Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › Wp affiliate: user (affiliate ID) and redirect

  • This topic has 3 replies, 2 voices, and was last updated 12 years, 10 months ago by admin.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • November 6, 2012 at 9:32 am #7840
    3dom
    Member

    Hi, I’ve two questions:

    1. When a new affiliate registered his affiliate link is ?ap_id=username

    For privacy this is not good for any persons.

    There is possibility to assign a number as affiliate cod? Or other? example ?ap_id=casualnumber

    2. I find this instructions for url

    1) Open the “wp_aff_advanced_configs.php” file (this file is in the “wp-affiliate-platform” plugin folder) and search for the following line:

    define(‘WP_AFFILIATE_AUTO_REDIRECT_TO_NOT_AFFILIATE_URL’, ‘0’);

    2) Once you find it simply it with the following line:

    define(‘WP_AFFILIATE_AUTO_REDIRECT_TO_NOT_AFFILIATE_URL’, ‘1’);

    == MY ANSWERS

    What kind of redirect made wp affiliate? 301?

    Thanks

    November 7, 2012 at 3:25 am #51092
    admin
    Keymaster

    1) Yes, you can use numbers as the affiliate ID. simply tell your affiliates to use a number when they sign up.

    2) It does a 302 redirect as it is not really a permanent 301 redirect. However, if you want to make it a permanent 301 redirect that can be done too.

    November 8, 2012 at 1:46 pm #51093
    3dom
    Member

    Thanks.

    And how I can modify 302 in 301 redirect?

    Thanks

    November 9, 2012 at 2:43 am #51094
    admin
    Keymaster

    Open the “wp_affiliate_platform1.php” file and search for the following line of code:

    header('Location: ' . $target_url);

    Once you find it, change it to the following:

    header("HTTP/1.1 301 Moved Permanently");
    header('Location: ' . $target_url);

    That should change it to a 301 redirect.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ