#i have the following in a .htaccess file. it works great for blog.binarymanipulations.com. however i want it to work for any subdomain of binarymanipulations.com. RewriteEngine on RewriteCond %{HTTP_HOST} ^[blog\.]*blog.binarymanipulations.com [NC] RewriteCond %{REQUEST_URI} !^/blog/.* RewriteRule ^(.*) /blog/$1 [L] #the following here worked any subdomain of binarymnipulations.com but it changed the url to binarymanipulations/subdomain. i want it to not change the url only load it like the url was binarymanipulations.com/subdomain. RewriteEngine on RewriteCond %{HTTP_HOST} ^(\w*?)\.binarymanipulations\.com RewriteRule .* http://binarymanipulations.com/%1