User-agent: * # Block search result pages Disallow: /?s= Disallow: /search/ # Block pagination search Disallow: /page/*/?s= # Block REST API Disallow: /wp-json/ Disallow: /?rest_route= # Allow important assets Allow: /wp-admin/admin-ajax.php Sitemap: https://riwanroof.com/sitemap_index.xml # --------------------------- # END YOAST BLOCK