I’ve installed all the necessary dependencies for the head tags to work on my Frontity site and they do work; however, only when the pages have been loaded.
I expect once I’ve installed all dependencies that whenever I change pages, the head tags (namely the page title) will update, whether the page has to load or not.
What’s happening instead is whatever page I load first, the head tags are displayed, but when I navigate to another page and it has to be loaded (i.e. the loading route is shown and then the content), the first set of head tags remain displaying. If I leave that second page, go to a third one, and return to that second page, as in visit the page after it’s been loaded, the head tag displays the correct title etc.
You can try it out on my site at https://beta.interpayments.com. For example, click on the link, take note of the title of the page that is displayed, click on “Partners”, notice that the title has not changed, click on “Resources” and notice that the title still has not changed, then go back to “Partners” and the title will be correct.
I installed the REST API - Head tags plugin on my WordPress installation, the @frontity/head-tags
package in my Frontity root directory, included @frontity/head-tags
at the bottom of my frontity.settings.js
packages array, and have installed Yoast and Yoast for ACF in case that makes any difference. Please let me know if I have messed anything up.
Also, will this negatively affect Google’s ability to crawl the site?