Advertisement
Guest User

Untitled

a guest
Nov 26th, 2014
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. # BEGIN WordPress
  2. <IfModule mod_rewrite.c>
  3. RewriteEngine On
  4. RewriteBase /webfront-interiorpediadev/
  5. RewriteRule ^index.php$ - [L]
  6. RewriteCond %{REQUEST_FILENAME} !-f
  7. RewriteCond %{REQUEST_FILENAME} !-d
  8. RewriteRule . /webfront-interiorpediadev/index.php [L]
  9. </IfModule>
  10. # END WordPress
  11.  
  12. DirectoryIndex index.php
  13.  
  14. <IfModule mod_autoindex.c>
  15. IndexIgnore /symfony
  16. </IfModule>
  17.  
  18. <IfModule mod_rewrite.c>
  19. RewriteEngine On
  20.  
  21. RewriteCond %{REQUEST_URI}::$1 ^(/.+)/(.*)::2$
  22. RewriteRule ^(.*) - [E=BASE:%1]
  23.  
  24. RewriteCond %{ENV:REDIRECT_STATUS} ^$
  25. RewriteRule ^index.php(/(.*)|$) %{ENV:BASE}/$2 [R=301,L]
  26.  
  27. RewriteCond %{REQUEST_FILENAME} -f [OR]
  28. RewriteCond %{REQUEST_FILENAME} -d
  29. RewriteRule .? - [L]
  30.  
  31. # Rewrite all other queries to the front controller.
  32. RewriteRule .? %{ENV:BASE}/index.php [L]
  33. </IfModule>
  34.  
  35. <IfModule !mod_rewrite.c>
  36. <IfModule mod_alias.c>
  37. RedirectMatch 302 ^/$ /index.php/
  38. </IfModule>
  39. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement