Say I have two domains “[example.com](https://example.com)” and “[example.ca](https://example.ca)”. In my host (cloudways), I have [example.com]) set as my primary domain and [example.ca]) set as my alias. I am trying to serve the same content on both domains without a redirect.
In my current environment, if the user navigates to “[example.ca/blog]” they are redirected to “[example.com/blog]” where as I want to maintain the top-level domain that the user entered in on. I understand there are some SEO implications of having duplicate content but I figure I can get around that with proper href lang tagging.
Any suggestions would be much appreciated!
[ad_2]
You’ll have to change all the paths in your code to use relative url.