I don't want some of my files to be able to be found through a search. How can I hade the files?http://nannybizreviews.com
Hi! You can create a robots.txt file which tells search engines what they can and cannot index. Create a plain text document (extension must be .txt) with Notepad or Textedit with the following:
User-agent: * Disallow: /wp-content/uploads/private
This tells search engines not to index anything that is in the
/wp-content/uploads/private directory. Learn more about the robots.txt file here: http://www.robotstxt.org
And check out Google's own robots.txt file for a live example: http://www.google.com/robots.txt
You must be logged in to reply to this topic.
Subscribe to get early access to new themes, discounts and brief updates about what's new with StudioPress!