Noindex

#3337
Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello,

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

    I am afraid that the password that you shared does not seem to be correct. I would however recommend that you head over to your homepage edit page > Rank Math metabox > Advanced and ensure that only the “index” checkbox if selected.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Josh
    Rank Math free

    Hi,

    The password should work now.
    I looked at the settings and seems to be normal.
    Can you check it?

    Thanks

    Josh
    Rank Math free

    I also want to mention that all of my pages are set to noindex, I just want the homepage to be indexed.

    Hi Josh,

    Thanks for the access.

    I have just logged in and added the following code to your functions.php file to fix this:

    /**
     * Allows filtering of the robots meta data.
     *
     * @param array $robots The meta robots directives.
     */
    add_filter( 'rank_math/frontend/robots', function( $robots ) {
    	if(is_front_page()){
    	$robots['index'] = "index";
    		return $robots;
    	}
    	return $robots;
    });

    Let me know if you have additional questions/comments.

    Josh
    Rank Math free

    Hi,

    Thanks a lot for your help.
    Have a nice day!

    Hello,

    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 https://wordpress.org/support/plugin/seo-by-rank-math/reviews/?filter=5#new-post 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 6 replies - 1 through 6 (of 6 total)

The ticket ‘Noindex’ is closed to new replies.