I’m creating this new thread because I haven’t found any existing thread that is specific to only SEO related all setup. I would like to collect all SEO/Sitemap related information under the single roof so it can help everyone.
To get my sitemap working, I am using the yoast sitemap. I put a link to it inside robots.txt - then I added the following to my functions.php file in my theme (this should probably be in a plugin instead).
My WordPress install and frontend only have a different .rest and .net domain, so I changed that, but you could change whatever you like in the str_replace function.
I had a similar Issue when trying to use the head-tags plugin (links to the wordpress site on the head tags). I thought it may help someone in the future when having a similar problem -
I solved it with just updating the URLs in the General Settings on Wordpress to HTTPS instead of HTTP:
I think the head-tags frontity package isn’t updating your links correctly for the frontity site if the URL in the settings aren’t the same as the ones uses in frontity.settings.js (I am using source.api).
@juanma: The Links (to the wordpress plugin and frontity package) on the SEO guide are broken, since you guys moved some stuff to api.frontity.org. I hope the suggested links in the PR are fine