45 posts
  • Has been part of the Envato Community for over 6 years
  • Has collected 50+ items on Envato Market
  • Located in United States

Hey everyone, just wondering why /wp-includes directories are being indexed on my site? It’s kind of embarrassing that you can see various directories and their contents:

- Author.php
- Cache.php
- Cache/
- Caption.php
- Category.php
- Content/
- Copyright.php

So what happened? My site runs fine but did I install it incorrectly? And how do I fix this? Thanks!

372 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Made it to the Authors' Hall of Fame
  • Had an item featured in an Envato Bundle
+4 more
5204 posts
  • Provided great contribution to our forums
  • Achieved the monthly Community Superstar Award
  • Helps us moderate the forums
  • Has been part of the Envato Community for over 6 years
+17 more

You need to turn off directory indexing.

Ask your hosting provider

or if you are familiar with editing .htaccess files you can try adding Options -Indexes to it.

1 post

You can bloack those pages with robots.txt . Bloacks with bots will not index any url which you listed in that file.

410 posts
  • Has referred 1000+ members
  • Has sold $1,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 100+ items on Envato Market
+3 more

check out google webmastertools robots.txt, Disallow: /wp-includes/

15 posts
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Contributed a free file of the month
+3 more

you could use robots.txt to dissallow: wp-includes/ wp-admin/

or you could put htaccess with : Options -Indexes on wp-includes directory

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes