The plugin allows administrators to build and save a table of keywords and URLs. Once saved any post (or page) that has the keyword will now show that word (or phrase) as a link.
You can import and export a text file that is a comma-separated list of keyword-URL pairs.
You can choose to link every occurrence of the keyword in a post or just the first occurrence.
The plugin also recognizes e-mail addresses as links.
Anytime a keyword is already linked in a post it will be left unaffected by the plugin (that is, you can override the plugin’s links by just adding your own anytime).
You can signal a post to not use the plugin’s linking by adding a comment anywhere in the post:
<!– no keywords –>
If you have both a keyword and a keyword phrase that uses that keyword, the longer of the two will be given priority.
You have keywords for world and world record.
Your content is: We saw another world record heat wave today. This was not a great surprise to the world at large as many people around the world have reported warmer than usual temperatures this week.
The plugin will link all occurrences of the full phrase world record first. It will then link any singular occurrences of world. Therefore, the above content would contain a total of three links, one for the occurrence of world record in the first sentence and one for each occurrence of world in the second sentence.
Using a special comment to tell the plugin not to act on this post:
If you add the comment <!– no keywords –> anywhere in your post the plugin will not act on this post. It may be better to add the comment at the end of the post because if add it at the top WordPress may add a linefeed to you post so you will see a space
Adding your own links in a post or page overrides the plugin:
The plugin only adds links to keywords that are not already linked.
You have a keyword for contact us.
Your content is: Please contact us for more info. You can also <a href=”#”>contact us by phone</a>.
The plugin will only link the first contact us as the second one is already linked in the post.
Dealing with keywords that have special or dis-allowed characters:
The plugin does not allow keywords with single or double quotes or with ampersands. If you have words in your posts or pages that conatin these characters and need links you can just manually add them yourself. You can always manually add a link anwhere on your site. The plugin will not affect your existing links (see notes above).
- Unzip the plugin to the /wp-content/plugins/directory.
- Activate the plugin through the Plugins menu in WordPress.
only english suppored.
tip top, very simple and efficient !
Contributors & Developers
“Keyword to URL” is open source software. The following people have contributed to this plugin.Contributors
- Added Import/Export capabilities
- Change the way .js files are enqueued
- Converted keyword-to-url.js to use JQuery
- Minor changes to the User Interface
- Minor changes to the PHP code
- Updated the code to disregard keywords in h1-h6 selectors.
- Improved the scan algorithm.
- Improved the uninstaller.
- The initial release.