mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-07 09:49:04 +00:00
More rewrite fixes. s/[0-9a-z_-]/[_0-9a-z-]/
git-svn-id: https://develop.svn.wordpress.org/trunk@965 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -105,7 +105,7 @@ if ('/' != substr($site_root, -1)) $site_root = $site_root . '/';
|
||||
<textarea rows="5" style="width: 100%;">RewriteEngine On
|
||||
RewriteBase <?php echo $site_root; ?>
|
||||
<?php
|
||||
$rewrite = rewrite_rules();
|
||||
$rewrite = rewrite_rules('', $permalink_structure);
|
||||
foreach ($rewrite as $match => $query) {
|
||||
echo 'RewriteRule ^' . $match . ' ' . $site_root . $query . " [QSA]\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user