WordPress Plugin: Link Hopper

by Anthony on March 29, 2009

frog-rightAt work, we’re running some affiliate sites based on WordPress.  Standard practice is usually to pipe affiliate links through a /hop/ script.  We typically accomplish this by creating a .htaccess rule to redirect /hop/(.*) to hop.php, which will determine what hop was requested, and redirect based on that.

It’s a pretty tidy method, but still not ideal.  So I thought, wouldn’t it be great to manage those hops through the wordpress admin?  Much better than connecting via FTP to the server, and editing the hop.php file itself!

And so the Link Hopper is born.  You can download it here:

I’ve written many custom plugins before, to satisfy client requirements on various sites.  This is the first one I’ve developed fully on my own time, and listed in the public plugin directory.

Let’s see if anyone else finds it useful!

Link-Hopper Config

There’s a few advantages here:

  • Technical skills not required
    • It’s not that complicated to FTP to a server and edit a file, but this is still easier
  • Easier to manage outdated links this way
    • Prior to using a /hop/ file, one could have an affiliate link on dozens of pages
    • When the merchant closes a product line, or changes a link, all those pages have a dead link
    • Now there’s a single setting which can be easily changed when this happens!

If you have comments on the plugin, please leave them here. In other related advertisements, checkout Adinfusion and learn more about our services.

Previous post:

Next post: