Add “www” to url with .htaccess

RewriteEngine On
RewriteCond %{HTTP_HOST} ^pietervanos\.net$ [NC]
RewriteRule ^(.*)$ http://www.pietervanos.net/$1 [L,R=301]

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

-->