Local Links

Description

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 Amazon, Apple, and Kobo so that the user is directed to their local Amazon/Apple/Kobo 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 Amazon affiliate codes, the relevant country’s code will be added to Amazon links.

The changes are 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:

  • Amazon
  • Apple Books
  • Apple iTunes (audiobooks)
  • Kobo
  • Alibris
  • Google Play
  • AbeBooks
  • Barnes & Noble

Screenshots

  • The settings page

Installation

Some vendors require the GeoIP Detection plugin. You may wish to install and configure that before continuing.

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly (search for ‘Local Links Russell Phillips’)
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings->Local Links screen to select which vendor links should be localised

Contributors & Developers

“Local Links” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Local Links” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Change log

v1.12

  • Added code to clean up Barnes & Noble links

v1.11

  • Improved error handling