Helpdesk is open from Monday through Friday CET
#8438 – Sitemaps & structured data
Hi
4SEO only generates json-ld structured data. The sitemap index file will always live at /sitemap-4seo.xml and is of course advertised in the robots.txt so the address, does not matter.
What's the reason for that question?
Best regards
Yannick Gaultier
weeblr.com / @weeblr
Hi
Also, does 4SEO remove the standard microdata inserted by Joomla in the process of generating the json code?
Yes, for known Joomla cases. In addition, there are filters (similar to Hooks in WordPress) where you can add your own regular expressions to clean up undesired microdata in other extensions.
The sitemap question is because many times I get reports of a sitemap being missing if it's not found in the directory root as sitemap.xml.
These are wrong reports, what tool is giving these reports?
Which is the standard filename and place to find it.
It certainly is not. There's no such standard. The only standard is to add one or more lines in your robots.txt file with the address(es) of your sitemap(s).
That's where Google and all other search engines are going to look for sitemap(s) addresses.
i know I can submit to google any url for a sitemap in console, but it's more about saving me time tracking down these sitemap missing errors
You don't have to do anything like that. Again, it's enough to list all sitemaps in robots.txt. In addition, for those search engines that have such feature, 4SEO will automatically submit your sitemap to them, for each new sitemap or whenever it's modified. It's automated, you don't have to do anything.
Only Google and Bing support this but I reckon that's enoug (Bing submit endpoint is actually broken since about a month, and so far we have no official word from them so they may discontinue that in the future but Google is working fine).
If you're putting your sitemap in the directory root - /sitemap-4seo.xml, why not just name it /sitemap.xml instead
Because we do not put any file in your site folder, the sitemap is, like all other pages of your site, rendered and cached by Joomla. By naming it sitemap.xml, it would collide with any actual, real /sitemap.xml file lying in your site root, created by other extensions or online services and your .htaccess will always return that instead of the Joomla one, if it finds a physical real file on the disk.
Best regards
Yannick Gaultier
weeblr.com / @weeblr