I have a website that has both a ".com" and ".com.au" domain. I want the ".com.au" site for Australian users and the ".com" for everyone else.
Is the following hreflang
links correct to achieve this?
<link rel="alternate" hreflang="en" href="https://www.website.com/" />
<link rel="alternate" hreflang="en-AU" href="https://www.website.com.au/" />
I also have a canoncial issue with both sites using the www and non-www versions of the domain. At the moment my canonical link is https://website.com.au
. I want to change the to the www version. Is it ok for me to do this as long as I put in a permanent redirect? Will this ruin any SEO or page ranking?
Will this affect analytics, tag manager and webmaster tools?
.au
top level domain.