Hello,
Thanks for getting in touch and I am extremely sorry about the trouble this might have caused.
1. Make sure the page is not selected as ‘noindex’ in WP > Products > Your Product > Advanced Tab in Rank Math.
Screenshot:
2. Ensure that the noindex is not selected for Global or Products meta:
If the issue persists, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP 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.
Hi,
The #1 is the problem. Do I have to manually change it to hundreds of products?
If I delete RankMath and install for an example Yoast there is no problems regarding this.
The website is just launched and was no index.
Hello,
Just to be sure, have you disabled the option in “Settings > Reading > Search Engine Visibility to Discourage search engines from indexing this site”?
Looking forward to help you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Yes, it’s disabled.
All products, posts and pages added before I took off the checkmark on “discourage search engines from indexing this site” is no index. Everything I publish now is indexed.
Hello,
I enabled Yoast to check if the pages change to index but they still remain as noindex(check the screencast in sensitive section). It is likely at the time of adding the pages and posts, you had them marked to noindex. Unfortunately we do not have a bulk way to index/noindex posts and pages, this value can only be changed on the individual pages and posts.
To workaround this, you can make use of the filter below to set all the product to index/follow like so:
/**
* Allows filtering of the robots meta data.
*
* @param array $robots The meta robots directives.
*/
add_filter( 'rank_math/frontend/robots', function( $robots ) {
global $post;
// filter for only products
if(is_product()){
$robots['index'] = "index";
return $robots;
}
return $robots;
});
Looking forward to helping you. Thank you.
Hello Frank,
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/#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.