Tagged: , , ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #985638

    running enfold with Yoast,
    how do I block those url result from google – see exp:


    and a lot others url’s.

    I have Try to block them via robotx with no success


    Hey afektomer,

    I’d suggest to read these guides: https://yoast.com/ultimate-guide-robots-txt/ and https://yoast.com/wordpress-robots-txt-example/ (also see https://yoast.com/robots.txt). Afaik it’s not recommended to block the access to /wp-content/themes/enfold/* folders however this code should work:

    User-Agent: *
    Disallow: /wp-content/themes/enfold/?*

    You need to place the robots.txt file to the wordpress root directory (where the wp-content, wp-includes, etc. folders are located). There’s no other easy solution to block search engines yet.

    Best regards,

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.