Affiliate link cloaker is a free WordPress plugin that can geo target cloaked affiliate links. This plugin has the capability to generate a link like http://www.brewsterware.com/recommends/amazon and have visitors from the USA click on the link and get sent to www.amazon.com, visitors from the UK sent to www.amazon.co.uk and so on.
In addition to this, these cloaked links can be automatically inserted into content. Keywords or phrases can be set to be changed to nofollowed links that open in a new window so that visitors are not taken away from your website.
Download the plugin from the WordPress plugin repository.
This represents a folder which all links will sit on top of. The default is "recommends". Here is what the links look like straight after installation:
Choose this carefully after you install the plugin, otherwise you will manually have to update any links that are not auto generated if you want to change it later.
The table below the url trigger shows an overview of the links. If a line is red, then there is an issue with the link - this can be that there are no addresses or no default address.
This option tells the plugin to add the cloaked links into content. Links will only be added into content automatically if this option is set, search text has been specified and there is at least one address for the link to redirect to.
This is the order that the replacements are done within a post or page. Search text is replaced in ascending replacement order without links being nested. For example, if "Paris in the spring" is replaced with a link, Paris or spring cannot be subsequently be replaced.
This is the number of replacements that are performed in a page or post. If this is set to zero all occurances of the keyword/phrase will be replaced.
This is the keyword/phrase that will be turned into a link in the post or page.
Cloaked URL suffix
This is the text that will be placed at the end of the cloaked url. This must be unique.
If this option is checked, the redirects will be counted and will be shown by each address in the address table.
If this option is checked, any replacements that are made automatically will use a rel="nofollow" tag.
Open link in new window
If this option is checked, any replacements that are made automatically will use a target="_blank" tag which will cause the link to open in a new window.
These is the http status code of the link - documentation for them can be found here. This will default to a 302 redirect. If this is set to a 301 redirect, most modern browsers will cache the redirect and any changes to the addresses below will not show for a specific user if they have already following the link.
New addresses can be added by clicking on the Add new address below the link options. Addresses must start with "http://" and at least one address must be set to default. If the Region Detect plugin has been installed, a list of countries will be displayed in a dropdown combo box - this can be used to geo target the addresses.