I have domain mapping and smart crawl installed on my site. I created a network site - wptest.upefy.com/atest and mapped a domain atest.upefy.com . 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 atest.upefy.com, the canonical url = atest.upefy.com. If I access the same page from wptest.upefy.com/atest, the canonical url is wptest.upefy.com/atest.
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 - wptest.upefy.com/atest (as i did not choose the domain as primary).
how can this be fixed?