SHARE
TWEET

Untitled

a guest May 19th, 2017 42 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
Challenge yourself this year...
Learn something new in 2017
Top