Advertisement
Guest User

Untitled

a guest
Jul 28th, 2014
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. <IfModule mod_rewrite.c>
  2. RewriteEngine On
  3. RewriteBase /wordpress/
  4. RewriteRule ^index.php$ - [L]
  5.  
  6. RewriteRule ^(.*)/$ /$1 [L,R=301]
  7.  
  8. RewriteCond %{REQUEST_FILENAME} !-f
  9. RewriteCond %{REQUEST_FILENAME} !-d
  10. RewriteRule . /wordpress/index.php [L]
  11. </IfModule>
  12.  
  13. <IfModule mod_rewrite.c>
  14. RewriteEngine On
  15. RewriteBase /wordpress/
  16. RewriteRule ^index.php$ - [L]
  17.  
  18. RewriteCond %{REQUEST_URI} !^/wp-admin/
  19. RewriteCond %{REQUEST_URI} ^/wp-login.php(.*)$
  20. RewriteCond %{REQUEST_URI} ^/wp-admin$
  21. RewriteRule ^(.*)/$ /$1 [L,R=301]
  22.  
  23. RewriteCond %{REQUEST_FILENAME} !-f
  24. RewriteCond %{REQUEST_FILENAME} !-d
  25. RewriteRule . /wordpress/index.php [L]
  26. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement