# How to serve .xml files directly from /uploads/default/original/

**URL:** <https://meta.discourse.org/t/how-to-serve-xml-files-directly-from-uploads-default-original/130708>\
**Category:** Product Support\
**Created:** [October 10, 2019, 5:44pm UTC](https://meta.discourse.org/t/how-to-serve-xml-files-directly-from-uploads-default-original/130708 "2019-10-10T17:44:52Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Pramvir\_Rathee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pramvir_rathee/32/120136_2.png) [@Pramvir\_Rathee](https://meta.discourse.org/u/Pramvir_Rathee)\
**Post date:** [October 10, 2019, 5:44pm UTC](https://meta.discourse.org/t/how-to-serve-xml-files-directly-from-uploads-default-original/130708/1 "2019-10-10T17:44:52Z")

</div>

My discourse site is very big and I had created custom sitemaps for my site. The traditional discourse sitemap plugin is crashing because the topics query is too big and is timing out for my Database. It is exceeding all kinds of big resources. Thus i made my own static xml sitemaps. Now i need to upload somewhere to serve.  
But discourse only serves images directly uploaded in this folder, not xml. What should I do? Adding xml extension in file upload settings is not helping either.

i want to serve my files as /uploads/default/original/2X/1.xml /uploads/default/original/2X/2.xml like this

---

_[View the full topic](https://meta.discourse.org/t/how-to-serve-xml-files-directly-from-uploads-default-original/130708)._
