noindex issue only with one post type

  • I have multiple post types, all post types are set to index but only one post type is noindex, i have tried everything possible to change but it return back to index automatically after change.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    Thank you for contacting Rank Math support, and sorry for any inconvenience that might have been caused due to that.

    Can you please open the affected post’s view source and check if the robots meta is set to index.


    If robots meta is still showing as noindex, assuming you are using the latest version of all the plugins and the themes (please update if not yet), it would seem like a conflict with one of the plugins or the theme you are using.

    To determine that, please follow this troubleshooting guide:

    Here is a video you can follow as well:

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    If the issue persists, please edit the first post on this ticket and include your WordPress login in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    Please do take a complete backup of your website before sharing the information with us.

    We really look forward to helping you.


    I have updated the sensitive data as requested. Can you please check further?

    Thank you.


    We applied the following filter on your website to force this CPT to have the pages set to index:

    add_filter( 'rank_math/frontend/robots', function( $robots ) {
    	if(get_post_type() == 'lifepo4batteries') {
    		$robots['index'] = 'index';
    		$robots['follow'] = 'follow';
    	return $robots;

    Hope this helps solve your issues.

    Don’t hesitate to get in touch if you have any other questions.

    Thank you so much, You guys have saved a lot of time. Thank you again


    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this ticket.