Local Links

plugin banner

Alter vendor links so that they go to the user's local store. Some functions require…

Author:Robin Phillips (Author Help) (profile at wordpress.org)
WordPress version required:5.0
WordPress version tested:6.4.3
Plugin version:4.5
Added to WordPress repository:04-02-2019
Last updated:21-02-2024
Rating, %:100
Rated by:2
Plugin URI:https://www.authorhelp.uk/wordpress-plugin-lo...
Total downloads:2 394
Active installs:40+
plugin download
Click to start download

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


Screenshots
ChangeLog