Add [L] to rewrite rule. Props cavemonkey50. fixes #2222
git-svn-id: https://develop.svn.wordpress.org/trunk@3401 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a984308f14
commit
d702816be5
|
@ -1398,7 +1398,7 @@ class WP_Rewrite {
|
||||||
} else {
|
} else {
|
||||||
$rules .= "RewriteCond %{REQUEST_FILENAME} !-f\n" .
|
$rules .= "RewriteCond %{REQUEST_FILENAME} !-f\n" .
|
||||||
"RewriteCond %{REQUEST_FILENAME} !-d\n" .
|
"RewriteCond %{REQUEST_FILENAME} !-d\n" .
|
||||||
"RewriteRule . {$home_root}{$this->index}\n";
|
"RewriteRule . {$home_root}{$this->index} [L]\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
$rules .= "</IfModule>\n";
|
$rules .= "</IfModule>\n";
|
||||||
|
|
Loading…
Reference in New Issue