Alter vendor links so that they go to the user's local store, and optionally add affiliate codes. Some functions require the GeoIP Detection plugin.
As of April 2026, Local Links is a WordPress url plugin with 20 active installations and a 5/5 rating from 2 reviews. It has been downloaded 4.0K+ times in total. Requires WordPress 6.0+ and PHP 8.0+. Available on WordPress.org since 2019. Recently updated within the last 3 months. Top alternative: Custom Post Type Permalinks.
This plugin was originally written for authors, but may be useful for others that link to stores such as Amazon, Apple, and Kobo.
It will automatically edit links to various sites so that the user is directed to their local site. It will work on existing links and new ones. Simply add links to your site as usual, and they will be rewritten on the fly to send your visitors to their local site.
In addition, some tidying up of links is performed to remove extraneous junk. If you have affiliate codes, the relevant code will be added to that store’s links.
Changes are only made in the user’s browser. WordPress posts and pages are not changed, so if the plugin is deactivated or removed, they will return to their previous state.
Currently Supported Stores:
| WordPress | 6.0+ requiredTested up to 6.9.4 |
| PHP | 8.0+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.