htaccess e alttaki kodu ekle

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