CPT Archive index failure
-
Dear Rank Math devs,
on Google Search Console, since a month I am getting the error:
Submitted URL marked ‘noindex’
regarding the url this url.
The website was launched on 15th of July and initially I was not getting this error. But from 1st of August I get the error, till now.. In fact, going to that url and looking at the source code, I see a no-index. I followed your guide: link rank math guide but nothing worked.
That link is present in my sitemap as an archive of my CPT “lezione”. You can find it in: Sitemap and then in cpt sitemap
The archive is built like this: Gist Link
The single CPT Lezione are getting indexed, but not the archive page. I also tried to use:
add_filter( 'rank_math/frontend/robots', function( $robots ) { if ( is_post_type_archive( 'lezione' ) ) { $robots['index'] = 'index'; } return $robots; });
but it did not work.
For your reference, I created the CPT using this plugin.
Could you please help me solve the issue?
WP 5.8, Rank Math 1.0.70
The page I need help with: [log in to see the link]
- The topic ‘CPT Archive index failure’ is closed to new replies.