Google Indexing Wp-content File How To Fix This

Zshan

Supreme Member
Joined
Jun 28, 2012
Messages
1,478
Reaction score
406
Hi Guys

Need some help to fix the issue i am facing. Yesterday my site lost ranking for many keywords which are slowly picking up ranking from last couple of months. I gone through the site and when i search my site name in google site:mydomain.com the searches are showing some like https://mysite.com/wp-content/uploads/ this and some like https://www.my siten.com/wp-content/uploads/thrive-visual.../user_templates/. I deleted around 9 url like this yesterday night but again i am seeing this in Google.

How to fix this issue? And i think this is the reason behind drop in ranking of my site
 
Please enter in browser: https://mysite.com/wp-content/uploads/
If you will see directory listing, it mean that you have enabled index directory feature in nginx or apache.

It can happen after hosting change or modification configuration files.
You should disable it.

Thereafter, in GWT you have option to remove such pages from index.
GWT -> Google Index -> Remove URLs
 
The easiest fix for this problem of yours:
1. Open the .htaccess file
2. Add this line at the end:
Options -Indexes
3. Save the file
 
Back
Top