Created
January 9, 2013 15:13
-
-
Save masiorama/4493872 to your computer and use it in GitHub Desktop.
Apache: make files inside a dir unreachable with .htaccess
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# inside .htaccess, all the files inside the dir unreachable to robots | |
Header set X-Robots-Tag "noindex, noarchive, nosnippet" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment