Advertisement
Guest User

Untitled

a guest
Mar 31st, 2015
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # BEGIN WordPress
  2.  
  3. <IfModule mod_rewrite.c>
  4.  
  5. RewriteEngine On
  6.  
  7. RewriteCond %{HTTPS} !=on
  8. RewriteCond %{HTTP_HOST} !^www\..+$ [NC]
  9. RewriteCond %{HTTP_HOST} (.+)$ [NC]
  10. RewriteRule ^(.*)$ http://www.%1/$1 [R=301,L]
  11.  
  12.  
  13. RewriteBase /
  14.  
  15. RewriteRule ^index\.php$ - [L]
  16.  
  17. RewriteCond %{REQUEST_FILENAME} !-f
  18.  
  19. RewriteCond %{REQUEST_FILENAME} !-d
  20.  
  21. RewriteRule . /index.php [L]
  22.  
  23.  
  24. </IfModule>
  25.  
  26.  
  27.  
  28. # END WordPress
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement