Remove market subfolder from canonical url

Hi, is there a way to remove the market subfolder from the canonical url in the page template?

For example, the canonical url for www.mystore.com/en-us/product would simply be set as www.mystore.com/product

Thanks