SyntaxFix
Write A Post
Hire A Developer
Questions
Try to putting this .htaccess file on subdomain folder:
RewriteEngine On RewriteRule ^(.*)?$ ./subdomains/sub/$1
It redirects to http://domain.com/subdomains/sub/, when you only want it to show http://sub.domain.com/