-
Notifications
You must be signed in to change notification settings - Fork 204
Support for Sitemaps #42
Comments
Nothing in core yet.
Is the sitemap something we can generate automatically? What does an ideal sitemap contain? (All pages, just the nav, other?) Is it auto-discovered or does each page have to reference it somehow?
I don't use them, so pardon the questions. If I can get a consensus on how to implement one then I'll jump on it, but if implementation is subjective it may be better to wait for plugins.
|
For the time being you can use sitemap generators such as XML Sitemaps I would say this is best left to plugins so SEO specialists can implement this functionality and maintain it separately. SEO is a ever changing so maintaining changes in core could be a pain. Just my opinion |
IMHO a sitemap generation is a core functionality in every CMS. |
I'm not worried about how to implement it on the technical side. I need to know what a sitemap should look like for 99% of sites to determine if it really belongs in core. If there's a standardized, unopinionated way to create them, let's do it. If implementation varies wildly based on individual preference, it probably belongs in a plugin. I'm not going to get into an argument over SEO best practices here. If that's the case, the feature is likely too opinionated to add to core. Right now, Postleaf already supports JSON-LD, OpenGraph, and Twitter Cards and none of my sites have trouble indexing things. 🤷♂️ |
Ghost's implementation looks like this: https://blog.ghost.org/sitemap.xml They're using
What's better for a Postleaf website? All posts/pages in |
I thinks there's no a better approach over this, many Wordpress plugins manage a single |
Is there a benefit to separate the sitemap into multiple categories like I mentioned above, or would a single sitemap be fine? Does it affect how search engines index the site at all? |
I believe there's no benefit to split the sitemaps in different files except the one that it's easier to read for humans. Here's an example of a full sitemap with everything in the same file. |
Max. entries of a single sitemap.xml: 50k It's possible to have one sitemap.xml which links to other sitemap.xml files. Hope that helps a little bit. |
Thanks, @karsasmus. As of 6449441, Postleaf generates a single-page sitemap automatically. The sitemap is accessible at Like Pages included in the sitemap (with priority):
I don't see many users hitting 50,000 posts or the XML file being larger than 10MB. It's probably inevitable that someone will, but that edge case can be handled down the road. |
Hello all,
It's a general question instead of a bug, is Posteaf generating the
sitemap.xml
file or there's an endpoint for that e.x./sitemap
?If don't, any plans to add it into the alpha version? I believe this is a very important feature since Postleaf is SEO friendly.
Thanks.
The text was updated successfully, but these errors were encountered: