Domain Mapping + Smartcrawl - canonical REL issue


I have domain mapping and smart crawl installed on my site. I created a network site - and mapped a domain . Both work fine. Also, I have choosen not to force a redirect, as I need both urls to be accessible.

The issue is that smart crawl creates relative canonical URLs for the site, so say, if I access, the canonical url = If I access the same page from, the canonical url is

That creates a challenge as its duplicate content .

The correct way is the canonical rel is should point to the "primary url", in this case, it would be network url - (as i did not choose the domain as primary).

how can this be fixed?