# START YOAST BLOCK # --------------------------- User-agent: * Disallow: /wp-admin/ Disallow: /wp-includes/ Disallow: /cgi-bin/ Disallow: /wp-content/plugins/ Disallow: /wp-content/cache/ Disallow: /wp-json/ Disallow: /trackback/ Disallow: /xmlrpc.php Disallow: /author/ # Blocks author archives (optional, keep if single-author site) Disallow: /feed/ # Blocks RSS feeds (optional, keep if RSS isn't needed) Disallow: /comments/feed/ # Blocks comment feeds Disallow: /wp-login.php # Blocks login page Disallow: /wp-register.php # Blocks registration page # Allow admin-ajax.php for frontend functionality Allow: /wp-admin/admin-ajax.php Sitemap: https://xyz.com/sitemap_index.xml # --------------------------- # END YOAST BLOCK