Link tags on WordPress

Where the link tags go on WordPress, and the one mistake that turns every page into a copy of one page.

The tag tells AI tools where your files are.

Your page's tags are in the dashboard, under Setup and then Install tags. They carry the real file addresses for that page, so they work as soon as the page is live. This guide is about where they go once you have them.

Where it goes on WordPress

In WordPress: open the page you want to tag, paste this into its own header or custom code box (WPCode and similar plugins add one to each page's editor), then update the page.

  1. Open the page you want to tag in WordPress.
  2. Find its header or custom code box. Most header-code plugins, such as WPCode, add one to each page.
  3. Paste these tags into it and update the page.
Heads upPut it on this one page only, not in a header that every page shares.

What that covers

This block covers the one page you paste it into.

Heads upWordPress themes and header-code plugins also have a site-wide header box, and this block does not belong there.

Covering every page

To cover every page from one place, your template has to build the file name from the page's own address. That is a small change to your site's code, not a block you can paste. The naming rule is shown with it, and these tags are exactly what it should produce for this page.

The naming rule those tags follow:

  • your home page (/) becomes index
  • /technology becomes technology
  • /docs/setup/ becomes docs/setup

and humans.txt describe the whole site. They are the same address on every page and never take a page name.

Link tags on WordPress | Geordy Docs