Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # BEGIN WordPress
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteCond %{HTTPS} !=on
- RewriteCond %{HTTP_HOST} !^www\..+$ [NC]
- RewriteCond %{HTTP_HOST} (.+)$ [NC]
- RewriteRule ^(.*)$ http://www.%1/$1 [R=301,L]
- RewriteBase /
- RewriteRule ^index\.php$ - [L]
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule . /index.php [L]
- </IfModule>
- # END WordPress
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement