🏷️
SEO & marketing

Tag pages: should you index them or use noindex?

03.12.2026
← All articles

On blogs and news sites it is common to add several tags to every article. After a few years a site has hundreds or thousands of tag pages. Most hold one or two posts, and some duplicate each other: "hosting", "web hosting" and "Hosting service" show nearly the same list. So should these pages be in search, or removed from the index?

Tags versus categories

Categories define the main structure and are few: News, Sports, Economy. Tags describe narrower topics, people, places or events, and there is no limit to them. That freedom is the problem: every author invents tags and the system creates a page for each. Category pages are usually worth keeping and improving; tags need a site-by-site decision.

Why many tag pages cause trouble

A tag page with one post gives visitors almost nothing; they would be better off on the post itself. For search engines such pages are thin and duplicate content that raises the share of weak pages and distracts crawlers. A tag page can even compete with the main article for the same query, and search engines sometimes show the less useful tag page.

When a tag page can stay indexed

For tags that fail these tests, noindex, follow is the safest option: the page leaves search results while crawlers still follow its links.

Example: a news site in Bukhara

The regional news site yangilik-misol.uz in Bukhara had over 1,200 tags after six years. More than 900 held one to three articles, and dozens were spelling variants. Search Console showed many tag pages as crawled but not indexed. The team merged similar tags with redirects, set noindex, follow on tags with fewer than 15 posts, and wrote short descriptions for the 30 most important tags, which stayed indexed. Authors now create a new tag only if no similar one exists, which keeps the list from growing back into chaos.

Adding noindex to tags in WordPress

SEO plugins usually have a setting to show or hide tags in search results; check your plugin's documentation, as menus change. Without a plugin, WordPress 5.7+ offers the wp_robots filter in the theme's functions.php. This version applies noindex only to tags with fewer than 15 posts:

add_filter( 'wp_robots', function ( $robots ) {
    if ( is_tag() ) {
        $tag = get_queried_object();
        if ( $tag && $tag->count < 15 ) {
            $robots['noindex'] = true;
            $robots['follow']  = true;
        }
    }
    return $robots;
} );

If you prefer to hide every tag page regardless of size, drop the count check and keep only the is_tag() condition. Do not combine this code with a plugin that also controls robots, or the two will fight and the result becomes unpredictable. After deploying, verify the output on a real tag page:

curl -s https://yangilik-misol.uz/tag/metro/ | grep -i 'name="robots"'

The common mistake: blocking in robots.txt

Adding Disallow: /tag/ to robots.txt blocks crawling, not indexing. Linked pages can remain in results without a description, and crawlers never see the noindex tag. Apply noindex first and let crawlers see it. Also remove noindexed tag pages from your sitemap so you do not send conflicting signals.

Keeping tags tidy

Technical settings are only half the job. Review the tag list regularly, merge synonyms, keep to three to five tags per article and give authors a shared list. If your site is on sayt.uz hosting, back up files and database through the ISPmanager panel before merging tags, since it touches many database rows. Handled well, tag pages keep the site clean and focus search engines on the pages that matter.

Related articles

⚡ IndexNow: A Guide to Getting New Pages Indexed Instantly 🗓️ Updating an old post: rules for dates and content 🧩 Third-Party Scripts Are Slowing Your Site: What to Do ⏳ When Do SEO Results Show Up? Realistic Timelines Explained
🌐 Language
🇺🇿 O⁠'zbek 🇺🇿 Özbek (yangi) 🇺🇿 Ўзбек 🇷🇺 Русский 🇬🇧 English ✓