diff --git a/mukadi/wordpress-bundle/1.1/public/.htaccess b/mukadi/wordpress-bundle/1.1/public/.htaccess index 7b319204..75662867 100644 --- a/mukadi/wordpress-bundle/1.1/public/.htaccess +++ b/mukadi/wordpress-bundle/1.1/public/.htaccess @@ -1,22 +1,10 @@ +# BEGIN WordPress RewriteEngine On - - RewriteCond %{REQUEST_URI}::$1 ^(/.+)/(.*)::\2$ - RewriteRule ^(.*) - [E=BASE:%1] - - RewriteCond %{ENV:REDIRECT_STATUS} ^$ - RewriteRule ^index\.php(/(.*)|$) %{ENV:BASE}/$2 [R=301,L] - - RewriteCond %{REQUEST_FILENAME} -f [OR] - RewriteCond %{REQUEST_FILENAME} -d - RewriteRule .? - [L] - - # Rewrite all other queries to the front controller. - RewriteRule .? %{ENV:BASE}/index.php [L] - - - - - RedirectMatch 302 ^/$ /index.php/ - + RewriteBase / + RewriteRule ^index\.php$ - [L] + RewriteCond %{REQUEST_FILENAME} !-f + RewriteCond %{REQUEST_FILENAME} !-d + RewriteRule . /index.php [L] +# END WordPress