Replies: 1
I’ve noticed Google is indexing /wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php and periodically reporting an error because of it. What would be the correct way to stop that happening? All of the articles that I’m finding just say how to noindex a page, post or media item. I can’t find how to noindex arbitraty URLs/files, if that is even possible with Yoast SEO.
Cheers,
Pt.