PROBLEMA GLOBAL META INDEX

#148964
  • Resolved Gurdalyaman
    Rank Math free

    Hi. In the default global meta settings, I want to leave all of the boxes blank by default in the robot meta section, but the directory tab is not empty. I save the settings but it remains highlighted again. I request help in this matter.

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

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    The “Index” option cannot be unchecked because that is the default fallback. Even if you uncheck that, hitting the save button will make the checkbox tick again for the “Index” option.

    The only way to uncheck the “Index” option is by ticking the “No Index” option. Please note that if neither index nor noindex is checked, then it automatically defaults to index.

    I hope that helps. Thank you, and please don’t hesitate to contact us if you need further assistance.

    It’s ok if the box is ticked, I guess you would say that

    Danial
    Rank Math business

    Hello,

    You can remove the robots meta using this code at the bottom of your theme’s functions.php:

    /**
     * Rank Math: filter the robots metadata.
     *
     * @param array $robots The meta robots directives.
     */
    add_filter( 'rank_math/frontend/robots', function( $robots ) {
    	unset( $robots['index'] );
    	unset( $robots['follow'] );
    	return $robots;
    });
    

    Please check this screencast:
    https://i.rankmath.com/NcTvlJ

    I hope this helps you with your issue.

    Thank You!

    Hello,

    I am happy it helped you. Do you have any other questions or do you want us to mark this as solved?

    Thank you.

    yes problem solved

    Hello,

    We are super happy that this issue is already resolved. 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 https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you 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 7 replies - 1 through 7 (of 7 total)

The ticket ‘PROBLEMA GLOBAL META INDEX’ is closed to new replies.