Add the <meta name="robots" content="noindex"> meta tag within your <head>.
Then look into is_category() to add it specifically to your category pages.
Or alternatively, you can check if $cat_id is available:
$cat_id = get_query_var('cat');
If it is available, then it is a category page.
EDIT Just add it in an IF statement:
if (is_category()){
<meta name="robots" content="noindex">
}
EDIT 2 You can add this code to your category.php file which you can find within your theme’s folder. Add it within the <head> tag.
Related Posts:
- Blog on a separate server from WooCommerce WITHOUT effecting SEO?
- Can you have a blog in a subdirectory hosted on a different server?
- Move WordPress from /blog folder to root but leave post at /blog
- Moving my current wordpress blog to a subdomain
- Blog not indexed [closed]
- Could not load the preview image. Please reload the page and try again – error on image upload
- How to display blog posts on a dedicated page?
- Two Blog Layouts, Same Theme
- Show first sentence of blog post in blog roll
- Keep WYSIWYG on Blog Page
- Detect archive and category page
- Custom URL for all posts in WordPress
- List all blog categories
- A garbled copy of MY blog on this site? [closed]
- A different thumbnail to the blog index vs. the image on the top of a post?
- Deleting a blog
- Why does this snippet in a blog post make WordPress crash?
- How to move all theme templates into a subfolder WP
- Where can I find my blog page?
- How to display the posts and news in front page?
- How do I change the taglines next to the featured image on my posts?
- WordPress Blog – Grid View
- How to show latest blog post rather then earliest
- inviting people to blog and editing roles
- Removing blog page images
- problem with wordpress author profile page URL
- How to make blog posts appear under different menu items?
- Portfolio & Blog cohabitation : multiple single.php files?
- How to add list of other blogs, with latest posts from those blogs, to a single page of my website?
- Put post urls into their own category
- I want to display my 2. latest post
- Why the Gutenberg Editor is Not Available In My WP Site?
- How to prevent WordPress from auto creating ol li on list elements?
- How do I add a sign up form to my blog?
- WordPress blog assign unqiue body class
- I am getting “0” in the starting of my post description at home page
- Recent Posts Listed by Author, Can I exclude authors?
- How to modify display of blog listing page?
- Internal and External Blog
- Can I make a parent page of the blog and have it display a paragraph/thumbnail of certain entries?
- Customizing SERP content for WordPress Blog
- How can I set a vote on the comments?
- Making a column vector in wordpress blog using Latex
- How do you allow users to subscribe to a WordPress blog?
- what is the address of default home page?
- How page with random php file with query params generated
- Creating new page overwrites old page
- How to set condition for all posts with one label
- Blogs got Deleted automatically
- Integrate wordpress blog into existing html site
- Retrieve details of my wordpress site
- Blog post stuck in drafts
- I need to customize wordpress “previous” “next” links
- I Have No List Of Blogs – Empty Blog Folder Recreating Itself
- How to change the layout of blog posts to that a compressed snippet shows rather than full text
- Can I create mini-WordPresses on my WordPress?
- How to create library of HTML snippets to use in posts
- Adding a WordPress Blog to a current WordPress site
- Two blogs one page
- Blog Displays Only Sticky Posts
- Uploading a external squeeze page within WP
- Posts page drop down is not selecting the selected page
- URL of blog when using index.php as blog and front-page.php as homepage
- Not showing up on WordPress Reader
- Blog as a part of a WordPress site?
- Fatal error: require() [function.require]: Failed opening required in wordpress
- how to show content of latest blog post with read more link?
- Auto-posting Facebook posts to blog [closed]
- How to access the so called “Posts page”
- Home page of blog displays no posts
- How to turn off “you have to login to comment” on blogs
- How can I get blog content from SFTP?
- How to improve WordPress website SEO and traffic, and or fix SEO issues
- Filtering categories in the permalink structure
- Inserting Post Using wp_insert_post. How to Fill Yoast Plugin SEO Fields
- add post content in meta description in yoast
- Change sidebar headers from H1?
- Change Site Title and Description html tags if not home page
- Split Blog Into Two Sections?
- Overwrite YoastSEO meta-tags with another page’s [closed]
- Redirect custom post type from one domain to another domain
- SEO implications of assigning a new domain to a multisite subdomain [closed]
- how to “not” display new posts with a specific category on the main page?
- How to rewrite title- and meta-description templates for page templates in Yoast Plugin [closed]
- WordPress page/blog incorporated into static website
- best way to stop this wordpress duplicate content
- Seo Friendly Filter URLs
- Tabbed feeds with ajax vs. without on homepage [closed]
- Maintain SEO of a website while migrating it to WordPress?
- WordPress Sitemap for MSSQL
- Tag,php – how to get it to display featured post image? [closed]
- Does non-content posts have a negative impact on SEO?
- LinkedIn Share Post Button
- My posts page is missing the page title
- Blog Post slider not working
- Edit Posts Page but not category specific pages?
- Tagline showing instead of meta description!
- How to handle expired assets/content when user has direct URL
- Best SEO way to redirect from all “posts” to home url
- Persistent sidebar.php [closed]