Affiliate Login Page

AffiliateWP is a comprehensive plugin that enables you to manage your affiliate marketing program directly from your WordPress site. One of its important features is the ability to create a dedicated login form for affiliates. This ensures that your affiliates can easily access their accounts to monitor their performance and earnings.

In this guide, we will walk you through the steps to create an affiliate login form and integrate it into your WordPress site.

Adding the Login Form using Login Block

Before we get started, be sure to install and activate AffiliateWP on your WordPress site, and you’ve verified the license.

Once you’ve installed the plugin, navigate to the admin area of your WordPress website. From the dashboard, go to Pages and click on Add New Page. This will open a new page editor where you can start building your login form.

Add new page for login form

Next, add a page title such as Affiliate Login. This title will help you identify the page and its purpose.

After entering the title, you can add a new block by clicking the plus (+) icon in the upper left corner. This will open a menu of block options. To locate the Login block, you can search for Affiliate Login or scroll to the Widgets category.

AffiliateWP login block

Once the form is added, you can customize it further through the block settings. Click on the login block to access these settings.

AffiliateWP login block settings

Here, you can modify the Form Title, add Placeholder text to guide users, and set a Redirect URL to direct users to a specific page after logging in. Additionally, you can change the Button Text and adjust the Field Labels to better match your site’s branding and user experience.

AffiliateWP login block field option

These customization options allow you to tailor the login form to fit your branding and user experience needs. When you’re satisfied with the changes, click Publish to make the page live on your website.

affiliate login page showing publish button to click

Adding the Login Form using Shortcode

If you’re using the classic editor or a different page builder, you can add the affiliate login form using [affiliate_login] shortcode to display the login form.

AffiliateWP login shortcode

Selecting the Affiliate Login Form

After creating the login page, you need to set it as the login page for affiliates within AffiliateWP. To do this, navigate to AffiliateWP » Settings » Affiliates in your WordPress dashboard.

In the settings, locate the Affiliate Login Page field. From the dropdown menu, select the login form page you created. This ensures that affiliates are directed to the correct login form.

AffiliateWP login page

Finally, click the Save Changes button to apply the new settings. Your affiliate login form is now ready to use.

AffiliateWP login form

Frequently Asked Questions

How do I ensure that only approved affiliates can log in?

AffiliateWP allows you to manually approve each affiliate. This setting can be configured in the AffiliateWP » Settings » Affiliates, and select the Require Approval option. Only approved affiliates will be able to view the affiliate area page.

Can I add the login form to an existing page on my site?

Yes, you can add the Affiliate Login block to any existing page by following the steps for adding the block to a new page. Alternatively, you can use the [affiliate_login] shortcode.

Is it possible to redirect affiliates to a custom page after they log in?

Yes, you can set up a redirect to a custom page after affiliates log in. This can be configured in the block settings when you add the Affiliate Login block to your page. Alternatively, you can also use redirect parameter in the [affiliate_login redirect="http://yoursite.com/new-page"] shortcode


That’s it! Setting up an affiliate login form in AffiliateWP is an easy process that significantly improves the user experience for your affiliates. By following these steps, you can create a professional login page that seamlessly integrates with your WordPress site and AffiliateWP.