Place this in your .htaccess file:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^domain[dot]com$ [NC]
RewriteRule ^(.*)$ http://blog[dot]domain[dot]com/$1 [R=301,L]
It works well. You should be able to successfully visit domain[dot]com wihtout getting redirected.
RewriteEngine On
RewriteCond %{HTTP_HOST} ^domain[dot]com$ [NC]
RewriteRule ^(.*)$ http://blog[dot]domain[dot]com/$1 [R=301,L]
It works well. You should be able to successfully visit domain[dot]com wihtout getting redirected.