Current Situation:
1. Currently I have a rewrite cond/rule that takes www.domain.com to domain.com
RewriteCond %{HTTP_HOST} !^domain\.com$ [NC]
RewriteRule .* http://domain.com/ [L,R=301]
2. Currently, via setup in cpanel, I have a subdomain subdomain.domain.com that correctly maps to domain.com/subdomain/
Here's what I want to do:
1. user types or clicks http://domain.com/subdomain/url.html and should see just http://subdomain/url.html in the browser. No redirect necessary.
Is my existing ReWrite rule conflicting with the masking I want? What masking code would you recommend?
Thanks much.