Make WordPress Core


Ignore:
Timestamp:
03/11/2010 10:58:43 PM (15 years ago)
Author:
nacin
Message:

Don't check for the existence of index.php in the htaccess rewrite rules. props miqrogroove. see #11845

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/rewrite.php

    r13596 r13676  
    16841684        $rules .= "RewriteEngine On\n";
    16851685        $rules .= "RewriteBase $home_root\n";
     1686        $rules .= "RewriteRule ^index\.php$ - [L]"; // Prevent -f checks on index.php.
    16861687
    16871688        //add in the rules that don't redirect to WP's index.php (and thus shouldn't be handled by WP at all)
Note: See TracChangeset for help on using the changeset viewer.