I was also facing issue on my website https://www.great-answer.com/. Post given below code in Function.php. Thank you
/**
* Allows filtering of the robots meta data.
*
* @param array $robots The meta robots directives.
*/
add_filter( ‘rank_math/frontend/robots’, function( $robots ) {
if(is_product()){
$robots[‘index’] = “index”;
$robots[‘follow’] = “follow”;
}
return $robots;
});
Hello pawan,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
Assuming you have checked the option suggested in the thread you added your reply to, please share some of the affected URLs so we can check from our end. Please note that some WooCommerce pages namely checkout, myaccount and cart pages are set to noindex by default since these are different for each user and there is no reason to have them indexed.
Looking forward to helping you. Thank you.
​​​​​​​
As Hardeep Singh suggestion I am using the above function to create index pages for products. below is my website. You can see the difference in meta tag in homepage vs product page.
https://monaascfi.com/
Hello,
We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress logins in the designated 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:
https://wordpress.org/plugins/temporary-login-without-password/
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):
https://wordpress.org/plugins/wp-security-audit-log/
We really look forward to helping you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
Thank you for sharing the credentials, our dev team is looking at it and we will update you soon.
Looking forward to help 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.