Custom Affiliate Slug

Installing the Custom Affiliate Slug add-on

To get started, purchase a SliceWP Pro or Pro Plus license. This will unlock the Custom Affiliate Slug add-on and a lot of other great add-ons to boost your affiliate marketing.

Once you have the license, follow these steps:

  1. From your SliceWP account pagedownload the .zip file of the add-on.
  2. Navigate to your WordPress admin dashboard > Plugins > Add New > Upload Plugin and select the .zip file you’ve just downloaded from your account.
  3. Install and activate the add-on.

That’s it! The installation is complete. Let’s jump in and set up custom slugs for your affiliates.

Enabling custom slugs for your affiliates

You can offer your affiliates the ability to set a custom slug from their account page. If your affiliates set their slug, they’ll be able to promote your website with a custom referral link, built with this slug.

For example, let’s say you have an affiliate named Dwayne Johnson, with the ID 21. This affiliate’s default referral links will look something like this: https://yourawesomesite.com/?aff=21

With the custom slug, the referral link can look something link this: https://yourawesomesite.com/?aff=DwayneJohnson

As you can notice, the second links is way more personal.

To offer all your affiliates the possibility of setting their own slugs, just follow these steps:

  1. Navigate to your WordPress admin dashboard > SliceWP > Settings > General (tab) > Custom Affiliate Slug (section).
  2. Here, turn on the Allow Sitewide Slug Creation switch and save your settings.Allow custom affiliate slug creation sitewide option in SliceWP setting page.

As you can notice, this will allow slug creation sitewide, for all your affiliates. In some cases however, you may not want to let everyone set their own slugs, but offer the option only for a few.

You can do this by enabling the option from the affiliate’s admin edit page. Here’s how:

  1. Navigate to your WordPress admin dashboard > SliceWP > Settings > General (tab) > Custom Affiliate Slug (section).
  2. Here, make sure the Allow Sitewide Slug Creation option is disabled.Disable custom affiliate slug creation sitewide option in SliceWP setting page.
  3. Then, navigate to SliceWP > Affiliates and click to edit the affiliate you wish to have the slug option enabled.
  4. In the affiliate’s edit page, under the Custom Slug section, set the Allow Slug Creation option to Enabled and update the affiliate.Enable custom slug creation for individual affiliates option in SliceWP affiliate edit page.

Setting up random affiliate slugs for your affiliate program

In some cases, you may not want to offer your affiliates the option to customize their slug at all. But, you may want the referral links to use a random string to identify the affiliate, instead of the default affiliate ID.

In this case, let’s say one of your affiliate’s referral links looks like this: https://yourawesomesite.com/?aff=21

With a random slug set for the affiliate, the referral link could look like this: https://yourawesomesite.com/?aff=mjPyxACcXRLrrLrvjwxx

As you can notice, the value of the aff variable is a random string. This string can be automatically generated when the affiliate registers for your affiliate program and it can be used to identify the affiliate, instead of using the affiliate’s ID.

Here’s how you can set up random slugs:

  1. Navigate to your WordPress admin dashboard > SliceWP > Settings > General (tab) > Custom Affiliate Slug (section).
  2. Here, firstly enable the Auto Random Slugs option.Enable auto random affiliate slugs option in SliceWP settings page.
  3. Then, select whether you want these strings to be alphanumerical or just alphabetical and also set the length you wish these strings to have.Auto random affiliate slugs type and length options in SliceWP settings page.
  4. Lastly, set the Affiliate Referral Link Format option to With affiliate custom slug and save the settings. This way, the default referral link will be built using the affiliate’s slug, instead of the affiliate’s ID.Affiliate referral link format option in SliceWP settings page.

Now, each time a new affiliate signs up for your affiliate program, a random and unique slug will be created for them.

That’s it! You now have custom affiliate slugs set up and ready to go.

Get started with Affiliate Custom Slug

Customize and personalize your affiliate referral links.

Download add-on

This add-on is available with an active Pro & Pro Plus license.

View pricing
  • Add-on Details
  • Current version: 1.0.0
  • SliceWP required version: 1.0.50
  • Last updated: 5 October, 2021

Need more information? We're here to help.
Contact us and we'll get back to you in no time.

Open a support ticket