Programmer Question
I want to add/remove urls to sitemaps whenever a user deletes or submits information.
I have a few questions:
- Should I put slugs on the URL in the sitemap?
Products/Details/1/my-slug
-> URL works without slug. - Should I Use an action to generate a sitemap? In
robots.txt
I'll link to this action. - If not action, are there libraries that allow me to easily edit sitemap.xml files?
- Sitemaps has a limit to the # of URLs and size, is there a way to automatically create more sitemaps when this limit is met? I'd have to also update the
robots.txt
and add more links to sitemaps.
Find the answer here
No comments:
Post a Comment