I tried to redirect my subdomains to the directory under public_html.
Nothing works with the following .htaccess.
Did I miss any point here?Code:RewriteEngine on RewriteCond %{http_host} . RewriteCond %{http_host} !^www.mydomain.com [NC] RewriteCond %{HTTP_HOST} ^(.*).mydomain.com [NC] RewriteRule ^(.*)$ http://mydomain.com/%1/$1 [R=301,L]


LinkBack URL
About LinkBacks
Reply With Quote





