I had been happily using the “aLinks” WordPress plugin by Sean Hickey for quite a while. The plugin automatically generates links for keywords that you specify. Version 1 did everything that I wanted, but it broke when I upgraded to WordPress 2.6. I found that Sean had written a completely new aLinks 2.0, so I installed it and found that it mostly worked, though with some minor problems.
Then Sean seemed to vanish from the face of the Internet. His web server went off line, making it impossible to even send him an email, and has been that way for several months.
So I had no choice but to go into the source code and fix the bugs that were bothering me. Since the code is released under the GNU General Public License (GPL) I am making the revised plugin available to anyone who is interested.
- aLinks failed to respect word boundaries when identifying keyphrases, causing links to be inserted in the middle of words.
- aLinks was ignoring the “classes” setting which allows you to assign one or more CSS classes to the links.
UPDATE 09/27/2014: Added a new version supporting WordPress 4.x.
UPDATE 10/31/2012: Fixed a problem with WordPress 3.4.2 and added an option to enable/disable aLinks’s internal caching.
If you are upgrading from aLinks 1.x you must first export your keyphrases to a file, then import them back in after you have installed version 2.0. Otherwise you will lose your keyphrases.
To install, unzip and copy the entire alinks directory to your wp-content/plugins directory.
The documentation is included as a PDF file in the alinks/includes directory.