Index: .htaccess
===================================================================
RCS file: /cvs/drupal/drupal/.htaccess,v
retrieving revision 1.109
diff -u -p -r1.109 .htaccess
--- .htaccess	5 May 2010 06:15:59 -0000	1.109
+++ .htaccess	25 Aug 2010 20:20:12 -0000
@@ -103,6 +103,12 @@ DirectoryIndex index.php index.html inde
   # uncomment the following line:
   # RewriteBase /
 
+  # Redirect www.example.com/index.php to www.example.com. A URL ending with
+  # index.php returned the front page in earlier Drupal versions. This rule
+  # prevents existing links on third party sites from breaking.
+  RewriteCond %{THE_REQUEST} ^[A-Z]+\ /(.*)index\.php
+  RewriteRule ^ /%1 [R=301,QSA,L]
+
   # Pass all requests not referring directly to files in the filesystem to
   # index.php. Clean URLs are handled in drupal_environment_initialize().
   RewriteCond %{REQUEST_FILENAME} !-f
