noindex tag in denied my website pages to be indexed by Google

#490881
  • Resolved komcloset1
    Rank Math free

    Hello there, I greet you all as of now.

    Kindly, I need your help on my website, I have faced a problem with the noindex tag on my website and I have tried to read all your articles but nothing has changed according to the noindex tag, it still exists on my website, in fact, I see it but unfortunately I can’t remove it from the website and according to my research at least I have realized that the problem comes from your software, and when I deactivate RankMath then it goes away but when again I reinstall it, then the problem comes back of (noindex tag) which has led to google to deny indexing my pages, and with that, I have concluded that the problem is in your power to help me on it, so that is the challenge I’m having now.

    Cheers:

    Kiyaga Alecks.

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.

    Could you please share the affected URL/s so we can check as well? You can add it in the sensitive data section

    Sensitive Data Section

    It is completely secure, and only our support staff has access to that section.

    Meanwhile, here are some of the steps where you can check Rank Math’s settings and ensure that the page is set to index:
    https://rankmath.com/kb/excluded-by-noindex-tag/

    Looking forward to helping you.

    Thank you.

    Hello,

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

    Thank you.

    Hello,

    Upon checking your website, it seems to be currently set to index in their robots meta tag including the posts pages. Can you please confirm if this issue is happening on a specific URL? If so, please share that URL.

    Looking forward to helping you with this one.

    Hello there Jeremy greetings to you.
    According to my research, I can see the noindex is still hanging on some pages the likes of my account page
    and if you can allow me to submit it to you with its screenshot then you would be able to see that the noindex is still hanging on there.

    Hello,

    The Woocommerce pages like Account, checkout, cart pages are set to noindex by default as it recommended and these pages shouldn’t be indexed in the SERPs.

    However, If you still want your my account page to be indexed, you may try adding the following filter to your site:

    add_filter( 'rank_math/frontend/robots', function( $robots ) {
    
    	if ( !is_user_logged_in() && is_account_page() ) {
    		remove_action( 'wp_head', 'wc_page_noindex' );
    		return [
    			'index'  => 'index',
    			'follow' => 'follow',
    		];
    	}
    	return $robots;
    });

    Here’s how you can add filter/hook to your WordPress site:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Let us know how it goes. Looking forward to helping you.

    Thank you.

    Ok thank you for letting me know maybe another thing I would like you to explain to me, is about google robot is asking me to index them another thing is if they by default are with noindiex so how can I remove them from the crawled ones or I just ignore google message that tells me to index these pages?

    Cheers. Thanks for the Support.

    Hello,

    It’s possible that, Google may found them by other way. But here you can either ignore those error on GSC or you may also use some rule on your robots.txt file to prevent Googlebot from crawling them. Here are the rules that can try to set there:

    Disallow: /cart/
    Disallow: /my-account/
    Disallow: /checkout/

    Here’s how you can edit robots.txt file using Rank Math:
    https://rankmath.com/kb/how-to-edit-robots-txt-with-rank-math/#edit-robotstxt

    Hope that helps, and please do not hesitate to let us know if you need our assistance with anything else.

    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘noindex tag in denied my website pages to be indexed by Google’ is closed to new replies.