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...

www.mysite.com/generator

I want it from

www.mysite.com/tools/generator

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.


https://www.mysite.com/generator/pages/mods/https://www.mysite.com/tools/generator/pages/mods/sitemap.xsl
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.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.
Re: Storing Generator Folder not in root
« Reply #2 on: May 16, 2016, 09:16:57 AM »
OK, Thanks. I'll try that.