This project is read-only.

Hand Writte Sitemap.xml and Sitemap.html at root level?

Topics: Administration, Customizing Orchard, Troubleshooting
May 2, 2012 at 5:35 AM

Hi Team, I'm trying to upload a manually writting sitemap.html and .xml to the root level and Orchard appears to not want to allow the site to pick up those files.  

I guess I understand why but what is the alternative exactly?  I'd prefer to not use the modules built into orchard as I want a little bit of flexibility in terms of what is shown beyond what the current modules allow.

May 2, 2012 at 5:42 AM

What do you mean by "allow the site the pick up those files?" You can create a sitemap.xml. The only thing is, in order to serve it from the site root you have to enter some settings in the web.config to allow the file to be served to the public.

See here for info on how to do the web.config part (adjust the instructions for sitemap.xml and any other files you want to serve from root):