Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[#25340] The robots.txt file offers no protection for a site installe…

…d in a folder.

git-svn-id: http://joomlacode.org/svn/joomla/development/trunk@21053 6f6e1ebd-4c2b-0410-823f-f34bde69bce9
  • Loading branch information...
commit de8dfb4fc8bbc3c1daa96e438708d5f2fef58415 1 parent a2a5b70
Mark Dexter dextercowley authored
Showing with 18 additions and 1 deletion.
  1. +3 −0  installation/CHANGELOG
  2. +15 −1 robots.txt
3  installation/CHANGELOG
View
@@ -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
16 robots.txt
View
@@ -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/
@@ -12,4 +25,5 @@ Disallow: /media/
Disallow: /modules/
Disallow: /plugins/
Disallow: /templates/
-Disallow: /tmp/
+Disallow: /tmp/
+
Please sign in to comment.
Something went wrong with that request. Please try again.