File tree Expand file tree Collapse file tree 1 file changed +7
-19
lines changed
mukadi/wordpress-bundle/1.1/public Expand file tree Collapse file tree 1 file changed +7
-19
lines changed Original file line number Diff line number Diff line change 1+ # BEGIN WordPress
12<IfModule mod_rewrite.c >
23 RewriteEngine On
3-
4- RewriteCond %{REQUEST_URI}::$1 ^(/.+)/(.*)::\2$
5- RewriteRule ^(.*) - [E=BASE:%1 ]
6-
7- RewriteCond %{ENV:REDIRECT_STATUS} ^$
8- RewriteRule ^index\.php(/(.*)|$) %{ENV:BASE}/$2 [R=301 ,L]
9-
10- RewriteCond %{REQUEST_FILENAME} -f [OR]
11- RewriteCond %{REQUEST_FILENAME} -d
12- RewriteRule .? - [L]
13-
14- # Rewrite all other queries to the front controller.
15- RewriteRule .? %{ENV:BASE}/index.php [L]
16- </IfModule >
17-
18- <IfModule !mod_rewrite.c >
19- <IfModule mod_alias.c >
20- RedirectMatch 302 ^/$ /index.php/
21- </IfModule >
4+ RewriteBase /
5+ RewriteRule ^index\.php$ - [L]
6+ RewriteCond %{REQUEST_FILENAME} !-f
7+ RewriteCond %{REQUEST_FILENAME} !-d
8+ RewriteRule . /index.php [L]
229</IfModule >
10+ # END WordPress
You can’t perform that action at this time.
0 commit comments