Can't remove noindex meta tag from head

Bit of a strange one. One of my clients site is showing <meta name='robots' content='noindex,follow' /> in the head. The Search Engine Visibility checkbox is unchecked. I've tried activating 2019 theme and deactivating all plugins and still the tag shows. Never encountered this before. Any ideas?
Category: Web

Why is Google Search Console getting X-Robots-Tag noindex?

As can be safely inferred from the question, I'm trying to get Google to index my site. I'm using Wordpress 5.9 served by nginx (1.13.12), with SEOPress (5.6 up-to-date). I let the wizard guide me for the settings and created a sitemap that I registered with Google Search Console - as advised. I let Google do its work and came back later to check, and found that every page exposed in my sitemap returns a noindex meta (X-Robots-Tag with User-Agent …
Category: Web

How should I remove no-follow tag from the wordpress website?

Guys, I am wondering if there is a way to follow and remove the no-follow tags from my WordPress site. While performing the GSC test, I located a submission URL marked as 'no-index' and even in validation error. Almost all issues are posted in these links— https://easebuzz.in/blog/tag Would you please suggest the next steps to follow-
Category: Web

Remove Noindex?

I'm having issues getting Google to index my site, because there is a noindex on the homepage. <meta name='robots' content='max-image-preview:large, noindex, follow' /> I have removed all SEO plugins, how do I remove this noindex? The url is https://hbsleisure.co.uk
Category: Web

Wordpress Embed Page no-index meta data missing

There is no no-index meta data on my wordpress embed page. Embed page Url like - https:// site.link/post-permalink/embed How can I fix this issue? For this issue I'm facing search console error!! Please Note - I'm using Jannah Theme and Rank Math Seo Plugin!! Please don't recommend me a plugin to fix this issue. If possible provide a function!!
Category: Web

How can I no-index specific PDF files in my Avada Wordpress media library so that they don't appear in search results?

I'm trying to no-index specific PDF files in our Avada Wordpress media library so that they don't appear in search results. We have yoast SEO plugins but I contacted their customer service and yoast explained this isn't possible via their plugins. Does anyone know how to do this? I've scoured search engines for an answer and I'm not finding one, there doesn't seem to be anything in the settings that I can see to do this.
Category: Web

Not able to remove NOODP tag from wordpress site

My blog site is not indexed in Google. I am using yoast SEO plugin (free version). I have unchecked the option of NOODP still its showing in the source code. And in search console its showing 'noindex' detected in 'robots' meta ta, Though there are no noindex tag. URL is https://blog.skillsz.com/.. Can anyone help?
Category: Web

Removing calls to noindex() and wp_no_robots()

In the general-template.php file, I have functions (see below – "noindex" & "no robots") that are not allowing Google bots to index the website. I am trying to find the code where these functions are used. I looked into many files but I can't seem to find which file is using this code or where these functions are called from. I need to remove these functions from where they are used in WordPress code. I have tried to remove the …
Category: Web

Set noindex page-comment from Pages 2, 3 and More?

I use All in one seo pack plugin. I see that Google indexed page comments (that are a pages generated from paginated comments). The example url are the followings: URL canonical - mydomain.com/url-canonical URL comment page - mydomain.com/url-canonical/comment-page-3 The problem is that 'URL comment page' has itself as canonical, and not the main page. I'd like to set as noindex all comment-page for all postes. Is it possible? I see that AIO SEO has aioseo_filter_robots_meta, but I do not understand …
Category: Web

Force meta data on specific product type

I'm working on a Woocommerce website were I have multiple product types: simple_product, enviso_group_offer and enviso_group_ticket. All of these types are just products in my Woocommerce. No I want to add the noindex, nofollow meta tag to only the enviso_group_ticket products. <meta name=”robots” content=”noindex,nofollow”/> How can I achieve that? When I'm using the SEO plugin Yoast, I can only target all the Products, instead of a specific product type. At this moment, I've done it with the following code, but …
Category: Web

How can I noindex my archive pages?

I am using the following snippet in my functions.php. function add_noindex() { if(is_archive()) { echo '<meta name="robots" content="noindex,follow" />'; } } add_action( 'wp_head', 'add_noindex' ); I thought this would noindex all my archive pages, but it is not working. My archive page code looks like this: <?php get_header(); ?> <h1><?php single_cat_title();?></h1> <?php if (have_posts()) : while(have_posts()) : the_post();?> <h3><?php the_title();?></h3> <?php the_excerpt();?> <a href="<?php the_permalink();?>">Read More</a> <?php endwhile; endif;?> Any ideas? Thank you in advance!
Category: Web

Remove WP Core canonical for category pagination

It seems that WP is adding a canonical to the root of my pagination, and no indexing all other pages on Category pages. For example, /locations/residential/?_page=2 is no-index, and gives /locations/residential/ as canonical. I have tried this to attempt to remove this for these Category pages, but Screaming Frog still says the pagination is no-index and rel=canonical to the root page. add_filter( 'redirect_canonical','custom_disable_redirect_canonical' ); function custom_disable_redirect_canonical( $redirect_url ){ if ( is_category() ) $redirect_url = false; return $redirect_url; } Any idea …
Category: Web

Noindex Posts From Certain Authors In Wordpress

I'm trying to noindex posts from all authors EXCEPT 3 authors on my Wordpress site. I found the following code that I can put into the header.php file. However, this targets specific categories. <?php if (is_single() && (in_category(array(457)))) { echo '<meta name="robots" content="noindex, follow">'; } ?> How do I modify this to say something like, if is single post and is NOT an author with ID 111, 112, or 113 then insert noindex, follow. Would the following be correct?: <?php …
Category: Web

Should I set a page as "No-index" if I include it's content within the front-Page.php via this method?

So I set my home page to "Your latest posts", and included this bit of code to get the info from a pre-defined page so that I can edit my home page, and get access to a "recent posts" grid with pagination at the same time. In addition, I can edit this post via the Gutenberg Block editor with this method. I'd like to eliminate the possibility of a "duplicate content" flag on my content, so should I no-index the …
Category: Web

Why does the header set X-Robots-Tag apply to all pages?

The directives below are intended to apply the header X-Robots-Tag noindex and nofollow to a single page. The directives below are applied before the WordPress code block however it appears to result in all pages being set with noindex and nofollow RewriteCond %{REQUEST_URI} ^(.*)?faq?(/)$ [NC] RewriteRule ^faq - [E=NOINDEXNOFOLLOW] Header set X-Robots-Tag "noindex, nofollow" E=NOINDEXNOFOLLOW The E flag is being used for LiteSpeed as opposed to ENV for Apache.
Category: Web

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.