Don't check for the existence of index.php in the htaccess rewrite rules. props miqrogroove. see #11845
git-svn-id: http://svn.automattic.com/wordpress/trunk@13678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f2a177c418
commit
92166b22f6
|
@ -1683,7 +1683,7 @@ class WP_Rewrite {
|
|||
$rules = "<IfModule mod_rewrite.c>\n";
|
||||
$rules .= "RewriteEngine On\n";
|
||||
$rules .= "RewriteBase $home_root\n";
|
||||
$rules .= "RewriteRule ^index\.php$ - [L]"; // Prevent -f checks on index.php.
|
||||
$rules .= "RewriteRule ^index\.php$ - [L]\n"; // Prevent -f checks on index.php.
|
||||
|
||||
//add in the rules that don't redirect to WP's index.php (and thus shouldn't be handled by WP at all)
|
||||
foreach ( (array) $this->non_wp_rules as $match => $query) {
|
||||
|
|
Loading…
Reference in New Issue