I have a multidomain magento setup, Says abc.com and xyz.com .
I want to write a redirect rule for xyz.com only in the root .htaccess file. When i write a rule what it does, it redirects all urls from abc.com also to xyz.com and 404.
Basically i need to redirect all .html url's from xyz.com only to without .html . I am using :
RedirectMatch 301 (.*)\.html$ http://www.xyz.com$1