The team is now working on the WordPress Interactivity API. This unblocks the same UX Frontity framework enabled but directly in WordPress Core, fully compatible with the new Site Editor.
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.
In the above setup, the sitemap contains links to the actual WordPress posts, not the Frontity one.
In the search engines, only WordPress is getting listed not the Frontity even after having quality content made with the Frase.io.
So, I would like to know what is the correct way of SEO with Frontity.
Yoast SEO/other plugin setup for Frontity
Setting up sitemap for Frontity
Correct SEO setup inside Frontity
EpicWebs2
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.
2 Likes
juanma4
Hi @Divaksh,
Thanks for your feedback!
In this SEO guide you’ll find how to add some of the key things for having a proper SEO in a Frontity site (meta-tags and robots.txt)
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
1 Like
juanma8
@cristianbote can you check this? Maybe it’s a bug that needs to be addresed