I got this error when I want to load sitemap.aspx because I have very big sitemap, about 5000 pages.
What is DNN method to make separate smaller xml site map?
I got Request timed out error because I have about 5000 URL in my sitemap and DNN 9.7.0 could not handle big websites sitemaps. how can I fix this issue?
you can see this address:
https://2020.shaghayegh2.com/sitemap.aspx
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Web.HttpException: Request timed out. Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[HttpException (0x80004005): Request timed out.]
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4261.0
DNN should be able to handle large websites and therefore large sitemaps. I never encountered issues with that.
First thing that I notice: you have a special character language, maybe the sitemap provider is not coping well with that? If possible you can easily check that with other sites in that language, see how that works. If not, please submit an issue on github.
Second: On page level you can set a page to not be in the sitemap. What would be worth a shot is to create an SQL query that sets certain area's of the structure to be not in the sitemap. That way you can check if a 100 or a 1000 or 2000 pages is the max. Or if it is a certain area where a malicious page is creating the issue.
Posted By Tycho de Waard (SU) on 03 Nov 2020 03:31 AM DNN should be able to handle large websites and therefore large sitemaps. I never encountered issues with that. First thing that I notice: you have a special character language, maybe the sitemap provider is not coping well with that? If possible you can easily check that with other sites in that language, see how that works. If not, please submit an issue on github. Second: On page level you can set a page to not be in the sitemap. What would be worth a shot is to create an SQL query that sets certain area's of the structure to be not in the sitemap. That way you can check if a 100 or a 1000 or 2000 pages is the max. Or if it is a certain area where a malicious page is creating the issue.
I agree, normally 5000 pages should not be a problem. Also the sitemap is cached quite heavily to avoid performance issues, so I think it's another problem.
Thanks for answering dear Tycho
I have had this problem before.I have had this problem 3 years ago for simillar online store website. This happened when the number of pages increased.
To solve this problem, we had to do an extra programming that we couldTo solve this problem, we had to do an extra programming that we could Put every 1000 pages in a file and then call those files in the sitemap. put every 1000 pages in a separate xml file and then call those files in the sitemap.aspx and we fix this issue manualy. you can see this on https://www.bazaryab.com/sitemap.aspx:
This XML file does not appear to have any style information associated with it. The document tree is shown below. https://www.bazaryab.com/Sitemap.aspx?i=1 2020-11-03 https://www.bazaryab.com/Sitemap.aspx?i=2 2020-11-03 https://www.bazaryab.com/Sitemap.aspx?i=3 2020-11-03
I think DNN couldn't handle correctly large sitemap files. there is no method to make separate file.
If you check very big website like amazon or .... all do same method to handle big xml files. I think dnn should be add this separator method in sitemap.aspx core system.
Posted By Tycho de Waard (SU) on 03 Nov 2020 06:01 AM Would you be so kind to log your request as an issue on Github? That way we can triage the issue and see if it is indeed DNN related.
Sure Mr. Tycho
Thanks
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.