Hi
This code will rewrite any supdomain except (www|mail|ftp) to the file "user_site.php"
RewriteCond %{HTTP_HOST} !^(www|mail|ftp)?\.?example.com [NC]
RewriteRule ^(.*)$ /user_site.php/$1 [L]
if the subdomain is www or empty , i want to rewrite it to home_site.php
I'm not experienced with .htaccess so how can i do that ?
Thanks