Storing Generator Folder not in root
« on: May 13, 2016, 09:57:39 AM »
Hi

Just downloaded and started using this software.

I would like to put the generator folder a level down from the root, so instead of accessing it from...

[ External links are visible to forum administrators only ]

I want it from

[ External links are visible to forum administrators only ]

I put the folder here, and adjusted the config file to point to the correct locations to store the sitemap.xml file in the root (where I want it).

The xml seems to be written, but doesn't display. Checking the console log, it appears it cannot find the .xsl file.


[ External links are visible to forum administrators only ]
Failed to load resource: the server responded with a status of 404 (Not Found)

As can be seen above, it appears to be looking for generator/pages/mods within the root, but it actually resides in the /tools folder.

In conclusion, I can't get it to run correctly when the generator folder is not in the root.

Where is this changed in the config?

Thanks
Re: Storing Generator Folder not in root
« Reply #1 on: May 13, 2016, 10:14:20 AM »
Hello,

you can modify generator/pages/mods/sitemap_xml_tpl.xml file to hardcode the link to xsl file in this case, or disable "Use xslt stylesheet" setting in generator configuration.
Re: Storing Generator Folder not in root
« Reply #2 on: May 16, 2016, 09:16:57 AM »
OK, Thanks. I'll try that.