-2

is there any any to prevent google from indexing my folder? Not "Page" but folder

using htaccess or robot.txt or any other way?

user3600217
  • 69
  • 2
  • 14
  • SEO questions are off-topic for [so]. Ask on [webmasters.se] but check their help centre before you post. –  May 11 '14 at 15:51
  • HTTP has no concept of a "folder". Do you mean all URLs that start with a specific path? – SLaks May 11 '14 at 15:52
  • not sure but i only want to remove folder url from google index for example: www.website.com/myfolder/page.html and i just want to Not index url of www.website.com/myfolder – user3600217 May 11 '14 at 15:57

1 Answers1

0

add below to your robots.txt file

Disallow: /foldername/

let me know if that helps

splinterteal
  • 139
  • 9