how to change canonical links from head_tags to have the frontity domain link
@frontity/head-tags package uses the
url defined at
state.frontity.url in your
frontity.settings.js. It seems that there you have set your backend domain, and you should use your Frontity domain.
Could you confirm if that’s the case?
This package hasn’t settings, but you must defined two parameters:
state.frontity.url: Usually defined at
frontity.settngs.jsfile. (the url of your site)
state.source.api: Defined at
frontity.settings.jsfile (the api where your project is pointing)
This is an important point that I think isn’t that clear in the DOCS.
The example in the docs uses the same site for both of the parameters
You’re absolutely right. I’ve edited this part. Thanks @modyydom