Hi, On my main domain I have created 'user' subdomains with the following .htaccess code Options +FollowSymLinks Options +Indexes ErrorDocument 404 /errordocs/error404.htm RewriteEngine On RewriteCond %{HTTP_HOST} !^www\.domain\.com$ [NC] RewriteCond %{HTTP_HOST} ^(www\.)?([^\.]+)\.domain\.com$ [NC] RewriteRule ^$ /user/%2.php [QSA,L] Code (markup): This works fine, however I now have an addon domain that directs to /public_html/addondomain/ and when you goto a user subdomain on my addon domain eg. http://user.addondomain.com/ it just goes to the index page on my main domain. I need a way to make it rewrite to /public_html/addondomain/user/ Any help would be appreciated!