-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sitemap limits checking is missing #43
Comments
There's probably a creative way to determine the size of the sitemap file up-to-this-point without querying the file system after each url. The 50000 max urls is quite easy to implement. |
You could also make the sitemap disregarding the limits, then check the limits and if they are reached, split the sitemap. |
That's also a way. |
Is there any ability added for sitemap limits at the moment? |
There is not. It's a relatively straight-forward feature which I don't have time to tackle at the moment. If you are uncomfortable writing PHP in order to add it to the project, writing a separate program to post-process the sitemaps is also an option. |
I have 794,769 categories and about 3,617,181 pages in my website, how can sitemaps be splitted into multiple sitemaps? also google only receives the sitemap in xml.gz format so your script is not very useful except for very small sites |
Sitemaps have limits and they should be checked:
If size limit is exceeded, sitemap has to be splitted into multiple sitemaps with a sitemap index file.
The text was updated successfully, but these errors were encountered: