Select the rules you need, enter your sitemap URL, and copy a clean robots.txt file — ready to upload to your site root or paste into your SEO plugin.

User-agent: *
Disallow:
Upload robots.txt to your site root (e.g. https://yoursite.com/robots.txt) or paste the content into Rank Math → General Settings → robots.txt editor. Test your file at Google Search Console → robots.txt Tester.

Note: /wp-admin/admin-ajax.php should remain accessible. Rank Math and Yoast automatically allow it even when /wp-admin/ is blocked. · serptop.pro