how to change canonical links from head_tags to have the frontity domain link
Hi @modyydom!
The @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 atfrontity.settngs.js
file. (the url of your site) -
state.source.api
: Defined at@frontity/wp-source
insidefrontity.settings.js
file (the api where your project is pointing)
2 Likes
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
1 Like