Title: Blocking wp-content/themes?
Last modified: May 13, 2019

---

# Blocking wp-content/themes?

 *  Resolved [giacomolaw](https://wordpress.org/support/users/giacomolaw/)
 * (@giacomolaw)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/blocking-wp-content-themes/)
 * > [View post on imgur.com](https://imgur.com/a/FGHcW5l)
 * Should I block this directory? Shows up as an error 500, as for some reason it
   is trying to be crawled.
 * Would blocking it damage SEO?
 * Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fblocking-wp-content-themes%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [devnihil](https://wordpress.org/support/users/devnihil/)
 * (@devnihil)
 * [7 years ago](https://wordpress.org/support/topic/blocking-wp-content-themes/#post-11561517)
 * If you are experiencing errors in Google Search Console from Google trying to
   crawl your theme’s directory you can block it from indexing by including the 
   following directive in your robots.txt file:
 * User-agent: *
    Disallow: /wp-content/themes/Newspaper
 * We have additional information on the robots.txt file and it’s syntax at the 
   following link: [https://yoast.com/ultimate-guide-robots-txt/#syntax](https://yoast.com/ultimate-guide-robots-txt/#syntax).
   Also you can review Google’s documentation on using robots.txt here: [https://developers.google.com/search/reference/robots_txt](https://developers.google.com/search/reference/robots_txt)
 * As for this affecting SEO, no it does not. You can also read similar reports 
   to this here:
    [https://wordpress.org/support/topic/wp-content-themes-directory-leaked-in-google/](https://wordpress.org/support/topic/wp-content-themes-directory-leaked-in-google/)
 *  Thread Starter [giacomolaw](https://wordpress.org/support/users/giacomolaw/)
 * (@giacomolaw)
 * [7 years ago](https://wordpress.org/support/topic/blocking-wp-content-themes/#post-11561562)
 * Awesome, thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Blocking wp-content/themes?’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [giacomolaw](https://wordpress.org/support/users/giacomolaw/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/blocking-wp-content-themes/#post-11561562)
 * Status: resolved