# Creating Affiliate Links

In order to enable this add-on, please navigate to Settings → Link Management → Affiliate Link Management settings and reload the page.

You would see a new post type named "Affiliate Links" right above or below the WPAdCenter post type with the same logo as that of WPAdCenter.

![](https://456431625-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LhZhxDAXbXHWmZ3dUIK-754427264%2Fuploads%2FXACzARXZQlZVsjKudzKN%2Fnew%20aff%201.png?alt=media\&token=471f70ea-7b1e-43c6-955d-278c475afdd9)

## Creating and Managing Affiliate Links

to create affiliate links, navigate to Affiliate Link → Create Affiliate Link

![](https://456431625-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LhZhxDAXbXHWmZ3dUIK-754427264%2Fuploads%2FcJAK1ki1NVCm1H4iJoUk%2Fnew%20aff%202.png?alt=media\&token=06e63e25-406e-4b07-a45b-69055c9bee23)

* **Destination URL**: Enter the destination URL to which user will be redirected on link click
* **Cloaked URL -** Cloaking ensures that visitors see the original domain name and not the destination URL. You can change the prefix (default 'recommends') that comes before the cloaked link's slug from global settings, navigate to **WordPress Admin dashboard > WPAdCenter > Settings > General > Link options > Cloaked link prefix**.&#x20;
* **Use cloaked URL**: this enabled cloaked URL functionality
* **Link Options - (*****Available when Ad Type is Banner Image or External Image Link*****)**
  * Open link in a new tab - Select 'Yes' from the dropdown to open the link in the new tab. If the 'Global' option is selected, then a global setting will be applied.
  * Use nofollow on link - If selected 'Yes' from dropdown, it signals that the page linking out is claiming no endorsement of the page it links to. If the 'Global' option is selected, then a global setting will be applied.
  * Additional rel tags - Adds rel tags to the link. If the 'Global' checkbox is selected, the global setting will be applied. To override global settings, uncheck the global setting's checkbox and select tags from the dropdown.&#x20;
  * Additional CSS classes - Adds classes to the link. If the 'Global' checkbox is selected, the global setting will be applied. To override global settings, uncheck the global setting's checkbox and provide classes in the input box.&#x20;
* **Link Scanner** - This will scan the current link in pages and post and show you the table where this link is currently being used.

![](https://456431625-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LhZhxDAXbXHWmZ3dUIK-754427264%2Fuploads%2FfoaCFFVK9KSZg5qG3mEm%2Fnew%20aff%203.png?alt=media\&token=2e5e6e36-ce6a-4b41-9d67-b94148ac9c22)

In Manage Affiliate Links page, you would be able to see data of currently created links and shortcode to copy.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wpeka.com/wp-adcenter/affiliate-link-management-pro/affiliate-link-management-add-on-pro.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
