What Are Auto Link Rules and When to Use Them
If you already understand the concept and just want to create your first rule, you can skip ahead to Creating and Managing Auto Link Rules. Otherwise, this page explains what Auto Link Rules are, how they work conceptually, and when they are the right tool for the job.
What Is an Auto Link Rule?
An Auto Link Rule is a definition that tells the plugin: whenever this keyword appears in your content, turn it into a link pointing to this URL. Instead of manually searching your site for every place a term appears and adding a link by hand, you define the rule once and the plugin applies it automatically, every time the content is displayed.
For example, a rule could specify that the keyword “WordPress hosting” should always link to your hosting recommendation page. From that point on, every instance of that exact phrase across your eligible content becomes a link, without you needing to edit a single post.
How Auto Link Rules Are Applied
Auto Link Rules are not baked into your stored post content. They are applied dynamically each time a page is rendered for a visitor, by scanning the content for keyword matches and converting them into links on the fly. This has two practical implications:
- Changing a rule’s target URL, or disabling it, immediately affects every post where that keyword appears, with no need to re-save individual posts.
- The matching happens within the actual HTML structure of your content, so links are not inserted inside other HTML tags, inside existing links, or inside content areas you’ve explicitly protected.
Manual Links vs. Automatic Links
It’s worth distinguishing between the two kinds of internal and external links the plugin is aware of:
- Manual links are links you add yourself directly in the post editor, the traditional way.
- Automatic links are links generated by your Auto Link Rules, applied dynamically based on keyword matches.
Both kinds of links are tracked and reported throughout the plugin, but they serve different purposes. Manual links are best for deliberate, contextual references you want full control over. Automatic links are best for repetitive, predictable linking patterns that would be tedious to maintain by hand.
When to Use Auto Link Rules
Auto Link Rules are particularly useful in the following situations:
- Glossary and terminology linking – Automatically link every mention of a defined term to its glossary entry or explainer page
- Product and category linking – Link product names or category terms across blog content to the corresponding store pages
- Cross-promoting cornerstone content – Ensure your most important pages are consistently linked from related content sitewide, without manually maintaining those links
- Affiliate and partner links – Apply consistent, centrally managed links to partner URLs across a large volume of content
- Large or frequently updated sites – When manually maintaining internal links across hundreds or thousands of posts isn’t realistic
When Manual Links Are a Better Fit
Automatic linking is not the right tool for every situation. Consider adding a link manually instead when:
- The link is highly specific to a single post and unlikely to repeat elsewhere
- The surrounding context matters more than the keyword itself, and you want full control over exactly where the link appears
- You only need to add the link in one or two places, where a rule would be unnecessary overhead
Controlling Where Rules Apply
Auto Link Rules don’t have to apply sitewide. You can scope a rule to specific post types, categories, or tags, or group multiple targeting conditions together using a Target Group. You can also control how many times a single keyword is converted to a link within the same post, and avoid creating excessive link density.
For the full set of available conditions and limits, refer to the dedicated documentation on creating and managing rules.
Before You Start
Before creating your first rule, it helps to have a clear idea of:
- Which keywords or phrases you want to convert into links
- Which URLs each keyword should point to
- Whether the rule should apply sitewide or only to specific content
- Whether you have several similar rules that would be faster to set up using Bulk Add Rules instead of creating them one at a time
Once you have this mapped out, proceed to Creating and Managing Auto Link Rules to create your first rule, or to Creating Auto Link Rules in Bulk if you have many rules to set up at once.