How Do I Noindex URLs?
Yoast SEO provides multiple options for setting a URL or group of URLs to noindex.
- Individual Post, Page, Media or Other Taxonomy Item
- Individual news article (Yoast SEO: News required)
- All Categories, Tags or Other Taxonomies
- Subpages of Archives
- Special Pages
Example: Search and 404 pages
- Entire Site
- Individual Author Pages
- All Author Pages
Noindex an Individual Post, Page, Media or Other Taxonomy Item
The advanced tab (gear icon) inside the Yoast SEO meta box on the edit screen of the item allows administrators and editors to set custom robots information like noindex, nofollow, and other advanced robots settings.
The layout may vary as the example above is from a default post type.
Noindex Individual News Article
Yoast SEO: News includes the ability to tell Google News not to index a specific news article. This option is found under the plugins section of the metabox in the 'Google News' tab. Learn more about using Yoast SEO: News here.
Noindex All Categories, Tags or Other Taxonomies
If you want to noindex a group of items, enable this feature using the steps below.
- Log in to your WordPress website. When you're logged in, you will be in your 'Dashboard'. On the left-hand side, you will see a menu. In that menu, click on 'SEO'
- The ‘SEO’ settings will expand providing you additional options. Click on 'Search Appearance'.
- Select the tab that represents the content types, taxonomy or archive type you wish to exclude from the search results and toggle the 'Yes/No' button under the specific type you wish to noindex. The image below shows what option you would enable to set all tags to noindex.
- Click 'Save Changes'.
Noindex Subpages of Archives
Google has gotten much better at paginated series, so this feature has been removed from Yoast SEO.
Noindex The Entire Site
Alternatively, you can noindex the entire site but it's up to search engines to honor this request. This can be set under Admin > Settings > Reading: Search Engine Visibility
- Log in to your WordPress website. When you're logged in, you will be in your 'Dashboard'. On the left-hand side, you will see a menu. In that menu, click on 'Settings'
- The 'Settings' section will expand providing you additional options. Click on 'Reading'.
- Check 'Discourage search engines from indexing this site'.
- Click 'Save Changes'.
Noindex Individual Author Pages
Go to Users->All Users and find the right username to edit. Scroll down and find teh Yoast SEO Settings. Then click on the Do not allow search engines to show this author's archives in search results. This will tell Google NOT to index that author page.