In cPanel (at subdomain management) I've set up a wildcard like to following:
*.example.com
> public_html/subDomainHandler
Every (non existent subdomain) request like abc.example.com
redirects properly to example.com/subDomainHandler
.
But requests like abc.example.com/subfolder
doesn't redirect to example.com/subDomainHandler
.
I am not at my best in regular expressions, but can anybody give me a RewriteCondition for .htaccess
?