The following code is what I am using in my robots.txt file. It is a good default setting for WordPress. User-agent: * Disallow: /wp-admin/ Allow: /wp-admin/admin-ajax.php Sitemap: https://searchfacts.com/sitemap.xml