# START YOAST BLOCK # --------------------------- User-agent: * # Block search pages Disallow: /?s= Disallow: /page/*/?s= Disallow: /search/ # Block REST API endpoints Disallow: /wp-json/ Disallow: /?rest_route= # Block admin area (except admin-ajax.php) Disallow: /wp-admin/ Allow: /wp-admin/admin-ajax.php # Block includes and unnecessary core files Disallow: /wp-includes/ # Block all other URLs with query parameters (except allowed) Disallow: /*?replytocom Disallow: /*?utm_ # Block plugins and themes, but allow uploads (images, media) Disallow: /wp-content/plugins/ Disallow: /wp-content/themes/ Allow: /wp-content/uploads/ # Optional: block archive pages to reduce duplicate content Disallow: /category/ Disallow: /tag/ Disallow: /author/ Disallow: /date/ # Sitemap Sitemap: https://fieldcode.com/sitemap_index.xml # --------------------------- # END YOAST BLOCK