Local Links

0

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 th

Version
Last updated
Active installations
WordPress Version
Tested up to
PHP Version
Rating
Total ratings
Tag

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 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:

  • Amazon
  • Apple Books
  • Apple iTunes (audiobooks)
  • Kobo
  • Alibris
  • Google Play
  • AbeBooks
  • Barnes & Noble
  • Bookshop.org
  • OneBookShelf sites (DriveThruFiction, DriveThruCards, DriveThruComics, DriveThruRPG, Wargame Vault)
  • Smashwords

The locallinks_cc GET parameter can be used for testing. For example, add ?locallinks_cc=fr to test plugin behaviour if the user is in France.

From version 4.1, Amazon Attribution links are supported. If a link has Amazon Attribution tags, they will be retained. For more information about Amazon Attribution, see: https://advertising.amazon.com/help?#GJXTJCLK4WTWTQWU