Checkbox to toggle "noindex" for pages
See original GitHub issueIt would be good to have a “set noindex meta” flag, to be able to disable indexing of single pages easily.
Similar to the “show in menu” toggle, and simply inserts
<meta name="robots" content="noindex" />
It would fits the “promote” tab, somehow, as an “anti promotion”.
I am aware that this is not a “security” feature; but sometimes some minor page just shouldn’t be indexed even though public.
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
How to Block Search Indexing on Specific Pages in ... - YouTube
This video is going to show you How to Block Search Indexing on Specific Pages in Your Shopify Store (No Apps, EASY |...
Read more >Google Shares How Noindex Meta Tag Can Cause Issues
Google's John Mueller answered a question about the use of the noindex meta tag on product pages that are temporarily out of stock....
Read more >Setting Noindex and Nofollow on Paginated Content - AIOSEO
Click the Use Default Settings toggle to turn it off which will display the global robots meta checkboxes. You should see a checkbox...
Read more >How to Fix Submitted URL Marked 'NoIndex' Error? - Rank Math
In this knowledgebase article, we'll discuss how to fix the Submitted URL marked 'noindex' error that appears in the Google Search Console.
Read more >How to Unblock Robots.txt & Remove 'noindex' on WordPress
Log in to WordPress · Go to Settings → Reading · Scroll down the page to where it says “Search Engine Visibility” ·...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The same applies to e.g. the existing
search_description
andseo_title
fields. They also rely on compatible templates to work.Shouldn’t the default template use
search_description
? I would have expected something like<meta name="description" content="{{ self.search_description|striptags|escape }}" />
Most likely, also the “show in menus” is similar, isn’t it?
P.S. for anybody considering
noindex
- I simply use {% if “noindex” in self.search_description %}in the template (i.e. type
noindex` in the description); as you won’t need a description and noindex at the same time.@mikemonteith That sounds like a good plan, yep! I think that if we were to add a feature like that at this point, though, we’d need to make sure there’s a clean way to disable it, so that it doesn’t get in the way of people who’ve already implemented the equivalent functionality on their sites.