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.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.