mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-08 17:38:26 +01:00
Add [L] to rewrite rule. Props cavemonkey50. fixes #2222
git-svn-id: http://svn.automattic.com/wordpress/trunk@3401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9675f5fd55
commit
9c9f5f8aaa
@ -1398,7 +1398,7 @@ class WP_Rewrite {
|
||||
} else {
|
||||
$rules .= "RewriteCond %{REQUEST_FILENAME} !-f\n" .
|
||||
"RewriteCond %{REQUEST_FILENAME} !-d\n" .
|
||||
"RewriteRule . {$home_root}{$this->index}\n";
|
||||
"RewriteRule . {$home_root}{$this->index} [L]\n";
|
||||
}
|
||||
|
||||
$rules .= "</IfModule>\n";
|
||||
|
Loading…
Reference in New Issue
Block a user