Hi -
I want to implement canonical link elements on my WordPress website. The canonicals will point to the original content on another site.
For example -
https://www.example.com/content-id-455675/
would have a canonical link element pointing to:
https://www.example 2.com/content-id-455675/
The only difference between the URLs would be the domain.
Is there a way to implement these canonical link elements in bulk using .htaccess, since they follow specific rules (i.e. substituting the domain each time)?
Alternately, is there a WordPress plugin that would do this, so I don't have to go page-by-page to implement canonicals?
Thanks!
[edited by: engine at 7:52 pm (utc) on Dec 18, 2019]
[edit reason] pleaase use example.com [/edit]