Hello, The following code state a domain myblog.com. Is it possible not to specify on any domain? I want all domains, instead of only myblog.com. Thanks. Options +Indexes Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^myblog\.com RewriteRule ^(.*)$ http://www.myblog.com/$1 [R=permanent,L] RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !(.*)/$ RewriteRule ^(.*)$ http://www.myblog.com/$1/ [L,R=301]
Change this line: RewriteCond %{HTTP_HOST} ^myblog\.com Code (markup): To: RewriteCond %{HTTP_HOST} !^www\.myblog\.com [NC] Code (markup):