Files/Directories being indexed

Status
Not open for further replies.

davidbehan

New Member
remove directory browsing on the server would stop it
 

mneylon

Administrator
Staff member
You could block most search engines via a robots.txt with explicit DENY rules
 

Forbairt

Teaching / Designing / Developing
As Michele said ... I'd do the robots thing ...

Code:
User-agent: *
Disallow: /directory1/
Disallow: /directory2/
Disallow: /directory3/
for added protection ...

to your .htaccess file you can add
Code:
IndexIgnore */*
They should work but I'm feeling sleepy today :D
 

davidbehan

New Member
robots.txt would work too but I think directory browsing should be turned off anyway. You never know what someone might stumble across, ya know!
 

kjt

New Member
Personally I have directory indexing turned off and I pop specific folders I don't want accessed into my robots.txt file :)
 
Status
Not open for further replies.
Award-winning Mac antivirus and Internet security software
Top