Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # BEGIN WordPress
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteBase /webfront-interiorpediadev/
- RewriteRule ^index.php$ - [L]
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule . /webfront-interiorpediadev/index.php [L]
- </IfModule>
- # END WordPress
- DirectoryIndex index.php
- <IfModule mod_autoindex.c>
- IndexIgnore /symfony
- </IfModule>
- <IfModule mod_rewrite.c>
- 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]
- </IfModule>
- <IfModule !mod_rewrite.c>
- <IfModule mod_alias.c>
- RedirectMatch 302 ^/$ /index.php/
- </IfModule>
- </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement