Hello,
Thank you for contacting Rank Math support.
Rank Math has the option to add this directive to all your pages by default. To do that, you need to go to Rank Math > Titles & Meta > Global Meta > Advanced Robots Meta Settings and enter the directive in the text field as shown below:
Then, save your changes and clear your cache. You should be able to see the directive in the source code of your pages.
Learn more here: https://rankmath.com/kb/advanced-tab/#advanced-robots-meta
I hope this helps. If you have any other questions, please let us know.
Regards
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.