[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 672
  • Last Modified:

Can't seem to noindex folder


Google url like, "driving-school-aberystwyth.co.uk" with quotes.  What do you see?  2 pages and one is a problem http://www.driving-school-aberystwyth.co.uk/wp-content/themes/striking/images/social/

I can't figure out how to stop this being index as can't find a way to add noindex to the folder.

Any help?
1 Solution
Erdinç Güngör ÇorbacıPHP Development Team LeaderCommented:
I can't see what you see because of my location i think. But solution is ;

- login to  google webmaster tool
- add your both www and non-www site
- define rule for which one is primary.
- see wrong indexed pages and suggest correction.

at your site  ;

create a robots.txt file and add your unwanted url's to it  like this ;
(aboutus.html is example dont forget to delete it )
User-agent: *
Allow: /
Disallow: /aboutus.html

Open in new window

and lastly be sure you are using the latest version of wordpress and check if .htaccess file is updated
SideasAuthor Commented:
Thanks, i got this WP Robots Txt and it did the trick with your idea.

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now