Skip to content

Commit

Permalink
[#25340] The robots.txt file offers no protection for a site installe…
Browse files Browse the repository at this point in the history
…d in a folder.

git-svn-id: http://joomlacode.org/svn/joomla/development/trunk@21053 6f6e1ebd-4c2b-0410-823f-f34bde69bce9
  • Loading branch information
dextercowley committed Apr 3, 2011
1 parent a2a5b70 commit de8dfb4
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
3 changes: 3 additions & 0 deletions installation/CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ $ -> Language fix or change
- -> Removed
! -> Note

02-Apr-2011 Mark Dexter
# [#25340] The robots.txt file offers no protection for a site installed in a folder.

02-Apr-2011 Jean-Marie Simonet
$ Added missing strings

Expand Down
16 changes: 15 additions & 1 deletion robots.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# If the Joomla site is installed within a folder such as at
# e.g. www.example.com/joomla/ the robots.txt file MUST be
# moved to the site root at e.g. www.example.com/robots.txt
# AND the joomla folder name MUST be prefixed to the disallowed
# path, e.g. the Disallow rule for the /administrator/ folder
# MUST be changed to read Disallow: /joomla/administrator/
#
# For more information about the robots.txt standard, see:
# http://www.robotstxt.org/orig.html
#
# For syntax checking, see:
# http://www.sxw.org.uk/computing/robots/check.html

User-agent: *
Disallow: /administrator/
Disallow: /cache/
Expand All @@ -12,4 +25,5 @@ Disallow: /media/
Disallow: /modules/
Disallow: /plugins/
Disallow: /templates/
Disallow: /tmp/
Disallow: /tmp/

0 comments on commit de8dfb4

Please sign in to comment.