This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Replace Amazon Links in Feed with post URL


According to Amazon’s Terms of Service, affiliates cannot use affiliate links in any emails. Unfortunately, many people use RSS feeds to populate their emails to users. One solution was to simply remove the affiliate links from feeds, which works just fine. But I came up with a solution (out of need) that changed the affiliate link in a feed into a link to the post itself.

Once on the live site, the affiliate link will work as normal, this plugin just facilitates an easier way for the end user to get the affiliate link.


  1. Upload replace-amazon-links-kd.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. That’s it! The plugin will do the rest. It may need a little time for the feed to be recreated.


I’m getting an error when I activate the plugin!

If you are a client of Klong Designs, you may already have this functionality added to your site already. Please post a support question on the support tab. Most likely you already have this code installed and since the function is the same it’s cause this duplicate function declaration error.


September 3, 2016
I’ve been using this plugin since it came out and I’ve been very pleased. I love how it reroutes my Amazon links in my emails back to the page on my site. Thanks!
Read all 1 review

Contributors & Developers

“Replace Amazon Links in Feed with post URL” is open source software. The following people have contributed to this plugin.




  • Added to Amazon links to change.


  • Initial Release to publicly