One more question! If anyone can help that would be great.
I know that there is an option to include the canonical URL within the Yoast SEO panel on each page and post… however, is there any way to place a
link rel="alternate" hreflang="en" href="https://en.example.com/"
onto each page?
What I am trying to achieve, is to have my english site be the preferred or canonical website, but to include the alternate spanish link in the header.
Example:
English site is the canonical and contains the following tags:
link rel=”alternate” hreflang=”es” href=”https://es.example.com/” /
Spanish site contains the following tags:
link rel=”canonical” href=”https://en.example.com/” /
I am planning to use manual translation instead of any plugin and therefore need to know how/if i can place the link rel=”alternate” hreflang=”es” within the SEO plugin