Guest User

Untitled

a guest
Dec 8th, 2019
112
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #<IfModule mod_rewrite.c>
  2. #RewriteEngine On
  3. #RewriteBase /
  4. #RewriteRule ^index\.php$ - [L]
  5. #RewriteCond %{REQUEST_FILENAME} !-f
  6. #RewriteCond %{REQUEST_FILENAME} !-d
  7. #RewriteRule . /news/index.php [L]
  8. #</IfModule>
  9.  
  10. # BEGIN WordPress
  11. RewriteEngine On
  12. RewriteBase /
  13. RewriteRule ^index\.php$ - [L]
  14.  
  15. # add a trailing slash to /wp-admin
  16. RewriteRule ^wp-admin$ /news/wp-admin/ [R=301,L]
  17.  
  18. RewriteCond %{REQUEST_FILENAME} -f [OR]
  19. RewriteCond %{REQUEST_FILENAME} -d
  20. RewriteRule ^ - [L]
  21. RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
  22. RewriteRule ^(.*\.php)$ $1 [L]
  23. RewriteRule . /news/index.php [L]
  24.  
  25. # END WordPress
RAW Paste Data