Realizing that Yoast sitemaps does not include ACF images in the sitemap - as the ACF Content Analysis for Yoast SEO does not crawl the app domain. I guess the domain should be changed earlier than when its outputting the link URLs.
Maybe thereâs a better alternative than Yoastâs sitemaps, if they dont adjust their plugin more for going headless.
Hi !
I have generated my own sitemap.xml for different routes by using react-router-sitemap and now i want to open it in a route. e.g: https://staging.cashero.com/sitemap.xml
But itâs always giving me 404.
I have done this work many times in simple react websites. But first time, itâs creating issue only on frontity.
So, Can anyone please help me out on this issue ?
Thanks
I wanted Google to index my site, so i found this thread and read up on how to do it. I changed my frontity sitemap with the function in the thread, and the new sitemap works, but the link to the homepage does not change. I removed the âno indexâ setting in wordpress yesterday, and now Google has indexed my site. The problem is that is has indexed the wp site and the frontity site, and that the homepage is only indexed as the wp version. Is there another way to add a sitemap?
What we recommend right now it to use robots.txt to point to your WordPress sitemap, and filter the URLs of the sitemap to point to the Frontity domain.
I have not found a way to do this, but you donât have to. Google or any robot, doesnât care where your sitemap is hosted, as long as the domain is the same.
So for example if you have:
You can then in your robots.txt in website.com place: Sitemap: https://cms.website.com/wp-sitemap.xml
Actually it doesnât even have to be on the same domain, it can be anywhere, however if its on another domain you will have to rely on Google picking it up itself, as search console wonât allow you to submit a sitemap that is not on the same main domain.