If you use Yoast SEO, you can go to Users > All Users, and in the Yoast SEO settings, check Do not allow search engines to show this author’s archives in search results. See this link.
OR
With robots.txt, you can add:
User-agent: *
Disallow: /author/*
OR
You can also add the robots meta-tag to the appropriate pages:
function custom_function_filter_wp_robots( $robots ) {
if(is_author()) {
$robots['noindex'] = true;
}
return $robots;
}
add_filter( 'wp_robots', 'custom_function_filter_wp_robots' );
Related Posts:
- Robots.txt not updating
- NoFollow Entire Website
- robots.txt Not Updating
- How to solve Robots.txt problem with WordPress fresh install?
- How to remove WordPress Virtual Robots.txt that keeps overriding my root robots.txt? [closed]
- Pinging or sitemap plugin: which practice is better
- Setting up robots.txt with Yoast’s Seo plugin
- How to dissallow all wordpress posts in robots.txt?
- WordPress site for increase SEO ranking in other e-commerce store
- Remove Noindex?
- How to view the code for a certain page?
- How to improve WordPress website SEO and traffic, and or fix SEO issues
- How Do I Set the Page Title Dynamically?
- Is sanitize_title enough to generate post slugs?
- Creating 301 Redirects for Post, Page, Category and Image URLs?
- How do I set up a custom URL shortener for my posts?
- Correct way to hide pseudo pages from being shown?
- Does the ‘WordPress Order’ feature, within the WordPress Dashboard, have any impact on site architecture?
- Google saying is blocked by robots.txt without robots.txt on my website
- add post content in meta description in yoast
- Migrating from other CMS to WP – losing SEO juice?
- Blog not indexed [closed]
- Remove date from Google Search Results Description
- Duplicate Australian E-Commerce site
- Add image tags to native WordPress XML Sitemaps
- What does short_ping do?
- Seo WordPress Pages on google [closed]
- Hard code a domain into Yoast SEO canonical URLs
- How to remove duplicate blog title
- Change Site Title and Description html tags if not home page
- Set different Canonical url programmatically for every post
- Is there a way to avoid 404 pages in WordPress?
- WordPress Blog and SEO
- Will using REST API impact SEO? [closed]
- How to Appease the Google PageSpeed Gods with regards to image optimization?
- Enabling compression in .htaccess file is causing 500 internal error
- is it good to use WordPress in the same url extension in terms of seo?
- Yoast SEO: title tags are repeating my website name and slogan [closed]
- How to ensure that a landing page created with WordPress does not enter the sitemap?
- How may I see all the pages on my wordpress website and see when they were created?
- Reactjs headless WordPress theme configure SEO
- install robots.txt to wordpress website admin
- Search Console detects Category Pagination data as Duplicate Meta Description
- SEO optimization gone not so well
- Automatic SEO for wordpress [closed]
- Why does do_robots() Allow: /wp-admin/admin-ajax.php by default?
- ASCII titles with Yoast SEO plugin
- What is/are the best thing(s) I can do to make my WordPress blog more popular? [closed]
- how to set title of each page or post for SEO
- how to 301 redirect from a plugin folder
- Embed sitemap in a page
- charset problem in wordpress because of nginx config
- Is Shared server effect SEO
- wp_strip_all_tags [closed]
- How to stop showing my under development site on Google Search [closed]
- Old robots.txt file not changing, can’t update to the current robots.txt
- Search results show a different site [closed]
- Fix description of website on Google Search result
- SEO is not working on pages [closed]
- Disallow: /wp-* in robots.txt?
- Google isn’t able to search my website
- How do I create custom tags for WordPress SEO? [closed]
- The inner mechanism of WP SEO plugins
- Does having two installations of WordPress negatively affect SEO? [closed]
- Maintain SEO of a website while migrating it to WordPress?
- Word Press Permalink Change
- WordPress Meta Title Separator
- Customizing SERP content for WordPress Blog
- Pages and posts with Rel Canonical issues across entire site
- I have redesigned a website and my blog page has different permalinks
- How to avoid images appear as post in google search?
- Sitemap not containing all pages
- Unwanted word behind my title in SERP
- Robots.txt file not updating
- How to add blog in default WordPress post type for SEO standard rule?
- Metatag Discription on site [closed]
- Not sure if to keep this or not (noindex question)
- Facing Problem with Description in Post and Home Page in WordPress
- My blog name refer to different domain in SERP
- mobile usability issues with /wp-content/uploads/ folders
- Sub category text in the URL of wordpress site
- OpenGraph descriptions not showing when using WordPress SEO (Yoast)
- Best Way To Structure 3 Tiered Site
- deeplink juggernaut – remove settings
- How to change the post title to h1 [closed]
- Tagline showing instead of meta description!
- Anchors in WordPress not followed/ indexed in sitemap.xml
- Not Being Indexed by Search Engines [closed]
- Disallow /cgi-bin or not? [closed]
- Dispise all efforts, open graph is a total mess
- Google Tag Manage – to use or not to use
- Google is unable to crawl Robots.txt file of my website and please help me
- Post title not output correctly
- How to Make your Category Titles have H1 tags?
- Can I delete the redirection in WordPress after switching URLs manually?
- Hide my staging subdomains from search results without impacting the visibility of the root domain
- If a landing page is my home page, and it shouldn’t contain navigation links, then how should it lead to other pages? [closed]
- Yoasts plugin sitemap not detecting correct category URL format
- How to fix Links do not have descriptive text PageSpeed Insights
- I had removed my phone number from my website footer, but months later it still appears once I look it up on google, how to remove it?