Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
0
votes
Accepted
Keep visitors out of server directories and redirect
The problem with redirecting on a 404 is that depending how the back-end functions may also receive a 404, for ultimate protection your best:
chmod 744 or something on the folder
disable file listing … block folder in robots.txt
make a blank index.html
Use meta noindex, nofollow within the index.html for example protection. …
3
votes
Preventing Google from indexing PDF Files
You can block Google indexing certain file extensions by using the robots.txt file on your server.
SOURCE:
Block or Remove Pages robots.txt
To block files of a specific file type (for exam …