Simple SEO Noindex Toggle
Simple SEO Noindex Toggle does one job properly: it keeps chosen content out of search engine indexes. No meta descriptions, no schema, no redirects, no dashboard widgets you did not ask for — just precise noindex control with a clean interface.
Most site owners do not need a full SEO suite. They need to stop a thank-you page, a duplicate landing page, or a wall of empty tag archives from showing up in Google. That is exactly what this plugin covers.
Why This Plugin Exists
Every major SEO plugin includes a noindex setting, buried three tabs deep inside a suite of features you may never touch. If indexing control is the only thing you need, installing a hundred-file plugin to get it is a poor trade.
This plugin is deliberately narrow. It adds noindex. It never claims to make anything rank, and it never touches settings outside its own scope. That narrowness is the point — it means you can read the entire codebase in an afternoon, and it means an update is unlikely to change anything you were not expecting.
Core Features
Per-Post Noindex Toggle
A clean « SEO Settings » meta box appears in the post and page editor sidebar, containing:
- A smooth CSS toggle switch
- A live status badge that updates instantly, with no page reload
- A tag preview showing the exact meta tag that will be output
- A Tag Verifier button on published posts
Archive Noindex Controls (new in 1.1.0)
Individual posts are only half the problem. The pages that most often clutter a search index are the ones WordPress generates automatically, and you never wrote a word of them. Under SEO Noindex → Settings → Archive Pages you can exclude:
- Author archives — on a single-author site, this page is a near-copy of your blog listing
- Date archives — year, month, and day listings that duplicate content already indexed elsewhere
- Category archives — worth excluding when categories are structural rather than editorial
- Tag archives — the usual culprit on sites with dozens of tags applied to two posts each
- Search results — internal search pages, which should never be indexed
- Paginated pages — page 2 and beyond of any archive, while page 1 stays indexed
Every one of these is off by default. Updating the plugin will never deindex a page you had not explicitly chosen to exclude.
Archive pages receive noindex, follow rather than noindex, nofollow. This is intentional: search engines are told not to list the archive itself, but to keep following the links on it through to your individual posts. Blocking those links would waste the internal linking your archives provide.
Built-in Tag Verifier
Most noindex tools ask you to trust that the setting worked. This one proves it.
Clicking « Verify Tag in Source » makes a live server-side request to the post’s public URL and parses the returned HTML with PHP’s DOMDocument, checking whether the robots tag is genuinely present in the page your visitors receive. Results appear inline:
- ✓ Confirmed — the noindex tag is live, with the exact tag shown as found
- ⚠ Not Found — no noindex in the source, most often a caching issue
- ✕ Error — the page could not be fetched, with the reason given
This catches the failure mode that silently costs people months: a caching layer or CDN serving a stale copy of the page without the tag, while the admin screen cheerfully reports everything is fine.
Admin Bar Indicator
A live status badge in the WordPress admin bar shows whether the current post carries a noindex flag. Visible on the frontend while browsing any singular post or page, and inside the post editor. Clicking it opens the editor.
Post List Table Column
A sortable « SEO » column on the Posts and Pages list tables, so you can audit your whole site at a glance instead of opening posts one by one.
Bulk Actions
Two bulk actions on the Posts and Pages list tables — SEO: Add Noindex and SEO: Remove Noindex — with a dismissible notice confirming how many posts were updated.
Quick Edit Support
A « Noindex this post » checkbox inside the Quick Edit row, pre-populated with the post’s current state. Toggle without opening the full editor.
What Gets Output
On a singular post or page with the toggle enabled, this tag is added near the top of <head>:
<meta name="robots" content="noindex, nofollow" />
On an archive page matching an enabled setting, the directive is merged into WordPress core’s own robots tag rather than added separately, producing something along these lines:
<meta name="robots" content="noindex, follow, max-image-preview:large" />
The exact contents vary depending on what else your site adds to the robots tag. Filtering the core tag rather than printing a second one means you never end up with two competing robots tags on the same page.
Technical Highlights
- OOP architecture — singleton classes with an
SSNIT_prefix throughout - No jQuery — 100% vanilla JavaScript using the Fetch API
- DOMDocument parsing — the Tag Verifier uses real HTML parsing, not fragile regex
- Secure — nonce verification and capability checks on every write operation, with output escaped throughout
- Clean uninstall — all options and post meta removed on deletion, multisite included
- Near-zero frontend footprint — no scripts or stylesheets loaded on the public site
Who Is This For?
Site owners, developers, and content teams who want precise indexing control without adopting a full SEO platform. It works standalone, and it works alongside Yoast, Rank Math, or AIOSEO if you already have one installed.
How to Verify the Plugin Is Working
Method 1 — Built-in Tag Verifier (recommended)
- Enable the Noindex toggle on a published post and save.
- Click Verify Tag in Source in the SEO Settings meta box.
- A green ✓ Confirmed result appears, showing the exact tag found in the live page source.
Method 2 — View Page Source
- Visit the published post on the frontend.
- Right-click → View Page Source (or press
Ctrl+U/Cmd+U). - Press
Ctrl+Fand search fornoindex. - The robots tag appears near the top of
<head>.
For archive pages, visit the archive itself — an author or tag listing, for example — and search the source the same way.
Method 3 — Google Search Console
- Open URL Inspection in Google Search Console.
- Paste the URL and click Test Live URL.
- Under Page Indexing, Google reports that a noindex tag was detected.
- Under HTTP response → Detected meta tags, the robots tag is listed explicitly.
Method 4 — site: Search Operator
After Google recrawls the page, typically within 24 to 72 hours, searching site:yourdomain.com/post-slug returns no result.
