Link chosen words everywhere with keyword rules

A keyword rule links a phrase, or several words for the same thing, to one of your pages in every post that already contains them. You preview the exact sentences first, then apply the rule as one batch you can undo. A rule you switch to apply on publish also links each new post by itself, once, under the same limits. Keyword rules come with Silotree Pro, included in every paid plan.

7 stepsUpdated

Before you start
  • A WordPress user who can edit other people’s posts (an Editor or Administrator). Keyword rules is hidden from other roles.
  • Silotree Pro installed and active. It comes with every paid plan, at no extra cost: see plans and limits. Rules run inside WordPress, so applying them never counts towards links written from Silotree.

Steps

  1. Open Silotree → Keyword rules

    In WordPress, open Silotree → Keyword rules. Nothing on this screen runs by itself, except a rule you switch to Apply to new posts when they’re published (see step 5), and that only for new posts.

  2. Fill in Add a rule and press Add and preview

    • Words to look for: one per line, 3 to 100 characters each. Put the words first, then their plural or another name for the same thing (up to ten), for example sourdough starter, sourdough starters, levain. Only posts that already contain one of them change, and the link keeps the words exactly as each post has them.
    • Match letter case exactly: tick it to link “Rose” but not “rose”.
    • Link them to: the address of one of your own posts or pages.
    • Apply to new posts when they’re published: off unless you tick it. Ticked, each new post that contains the words gets this link by itself, once, after its first publish (see step 5).

    Press Add and preview.

  3. Check the preview and what the rule found

    The preview card, marked Nothing changed yet, lists each post the rule would change and the sentence where the link would go, with the words highlighted. Each post gets the link once, on the first place one of the words appears outside headings, buttons, captions, code and existing links.

    Under it, the rule’s check says how many posts contain its words, how many it can link now, and why the rest can’t, with up to three example posts for each reason: they already link there, the rule leaves them out, they are on the never-link list, they are outside its categories, post types or dates, the words only appear inside a higher-priority rule’s words, or only in headings, captions, code or links. If no post contains the words at all, it says Not found in any post. The list of rules shows each rule’s last check; Check all rules refreshes the rules checked longest ago, as many as fit in a few seconds per press, and changes nothing.

    Silotree → Keyword rules in WordPress: a preview of the words isolation valve in three posts, each sentence with the words marked, a Link these words in 3 posts button, and the Add a rule form with its Apply to new posts when they’re published boxOpen full size (opens in a new tab)
    Every sentence a rule would change is shown before anything is written.
  4. Import or export rules as a CSV

    The Import or export as CSV card downloads every rule as a spreadsheet, and reads one back: choose a file, or paste rows, and press Preview import.

    • Silotree’s own columns are keywords (several joined with |), url, priority, max_posts, match_case, categories (by slug), from_post_types, to_post_types, published_after (YYYY-MM-DD), exclude and on_publish (yes to apply to new posts when they’re published). Only the words and the URL are needed.
    • Exports from other plugins usually work as they are: Silotree reads their keyword and link columns and the priority, date, category, case and post type columns it recognises, and names any column it skips. A file with no header is read as words in the first column and the URL in the second. Semicolon- and tab-separated files work too, and so does the rules file the free plugin downloads from its Settings screen in WordPress.
    • Rows for the same page with the same settings become one rule with several words. Words for a page that already has a rule are added to that rule, which keeps its own settings.

    The Import preview lists every row as New rule, Adds words, Already there or Not imported, with the reason: words that already belong to a rule for another page, a URL that isn’t a page of this site, a date Silotree can’t read. Untick anything you don’t want and press Save the ticked rules. Saving creates rules only; nothing is linked until you preview and apply each one. An import waits an hour to be saved.

  5. Or import your Yoast or Rank Math focus keywords

    If Yoast SEO or Rank Math is active, a card headed Start from Yoast (or Rank Math) offers Import focus keywords. Each published post’s focus keyword becomes a rule linking to that post. Rules are only created; you still preview and apply each one. Keywords that already have a rule, or that two posts share, are skipped. For Rank Math, only a post’s first focus keyword is used.

What you should see

The rule appears in the list of saved rules with its words, its limits, how many posts it has linked and what its last check found. Imported rules carry a Yoast, Rank Math or CSV tag. Tick rules to delete several at once. Every run is listed on Silotree → Undo history as Keyword rule: “your words”, and each new post linked on publish as Keyword rules on publish. Rules that apply on publish carry an Applies on publish tag.

If it doesn’t work

“Nothing to link right now”

No post in the rule’s scope contains the words outside headings, captions, code and existing links, or every one already links to that page, or is on the never-link list. The check under the preview says which, post by post. Pages built with a page builder Silotree only reads (Oxygen, WPBakery or Avada, for example) are skipped too. On Elementor, Divi, Beaver Builder, Bricks and Thrive Architect pages, only words in the builder’s text modules count.

“Rules link to pages on this site”

Paste the address of one of your own posts or pages, not another site.

“There is already a rule for …”

Each word belongs to one rule. Edit the existing rule in the list of saved rules, or take the word out of this one.

“Not found in any post”

No published post contains the words as the rule has them. Check the spelling, and add the plural or another form on its own line: a rule for “banneton” does not match “bannetons”.

“Silotree could not find the words and the URL in that file”

Put the words in the first column and the URL in the second, or name the columns keyword and url.

A rule set to apply on publish didn’t link a new post

Open the post: a notice says why when Silotree left it alone (it stayed open in the editor for a day, it is built with a page builder, its language couldn’t be told, or it is on the never-link list, or a later save took the links out). Someone may have unticked the rule’s row in the publish prompt, which leaves that post alone. Otherwise the words only appear in a heading, caption, code or link, the post already links there or has six Silotree links, or it is outside the rule’s scope or limit: the rule’s check says which. A post that was already published before you ticked the box is never linked by itself; preview and apply the rule for older posts.

A post was skipped with a reason

For example, it already has six Silotree links, or someone is editing it. See a link didn’t land.

Use them sparingly

The same words linking to the same page from dozens of posts reads as mechanical to readers, and words that fit one sentence often don’t describe the page well in the next. Read when exact-match anchor text goes too far before you import a whole site’s focus keywords.

Questions

How many posts does one rule change?

Up to 25 posts each time you apply it, and only posts that already contain the words. Apply again to continue. “In at most this many posts” caps the total; empty means no limit.

Will a rule add the same link twice to a post?

No. Each rule links the first safe place one of its words appears, once per post, and skips posts that already link to the target. No post carries more than six Silotree links.

What happens when two rules want the same words?

The rule with the higher priority number wins; with equal numbers, the longer words win. So a rule for “sourdough” never links that word out of “sourdough starter” in a post where the “sourdough starter” rule could link it. It links a later “sourdough” instead, or skips the post and says why.

Can I bring my rules from another plugin?

Usually, yes. Export its keywords and URLs as a CSV and import the file under Import or export as CSV. Silotree reads the keyword and URL columns and the settings columns it recognises, joins rows for the same page into one rule with several words, and shows every row before anything is saved.

Do rules link new posts on their own?

Only the rules you switch to “Apply to new posts when they’re published”, which is off for every rule until you tick it. Those link each new post once, after its first publish and once nobody has it open in the editor, under the same limits as applying by hand, as a batch you can undo; untick its row in the publish prompt and it leaves that post alone. Every other rule waits: the publish prompt offers its link, already ticked, and it is added when you press the button.

Do keyword rules need a paid plan?

Yes. Keyword rules are part of Silotree Pro, a second plugin that every paid plan includes at no extra cost. Rules you saved before Pro existed are kept in your database, ready when you install it.