SHARE
TWEET

Untitled

a guest May 19th, 2017 43 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. RewriteEngine on
  2. RewriteCond %{HTTP_HOST} ^([a-zA-Z0-9-z\-.]+)?domain\.com$ [NC]
  3. RewriteCond %{HTTP_HOST} !^www\. [NC]
  4. RewriteRule .? http://www.%1domain.com%{REQUEST_URI} [R=301,L]
RAW Paste Data
Pastebin PRO Autumn Special!
Get 40% OFF on Pastebin PRO accounts!
Top