• Hi,

    I just put a WordPress site live last week and today Googled the full url. As well as the site I saw the ‘Index of the wp-content/plugins/layerslider etc etc’ indexed.

    How can I prevent this happening? I’ve never seen it before with other sites I’ve built.

Viewing 2 replies - 1 through 2 (of 2 total)
  • If your host allows overrides in the .htaccess file, you can add this to the root .htaccess file to prevent directory browsing (and indexing by search engines):

    Options -Indexes

    Add that right to the top of your root .htaccess file (located in the same location as wp-config.php and readme.html normally).

    It’s also possible your host’s control panel has an option to turn off directory browsing. You could use that instead if it’s easier.

    Then try accessing the folder with a browser to see if you can get a directory listing.

    Thread Starter CyberMama

    (@cybermama)

    Thanks very much for the swift reply chrishajer. I’m going to see if I can disable directory browsing on my server first.

    I’m guessing none of the suggestions you gave me will affect normal indexing of the WP website?

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

The topic ‘Layerslider plugin folder showing in Google’ is closed to new replies.