WordPress mod_rewrite and server-status

I had an issue with getting server-status to display while using mod_rewrite to display wordpress posts by their name.

Here is the solution:

Edit you .htaccess to match the following

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^(server-info|server-status) - [L]
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress

Leave a Reply

Your email address will not be published. Required fields are marked *