XML Sitemaps Generator

Author Topic: Storing Generator Folder not in root  (Read 2073 times)

jallen1

  • Registered Customer
  • Approved member
  • *
  • Posts: 2
Storing Generator Folder not in root
« on: May 13, 2016, 08: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 admins only]

I want it from

[external links are visible to admins 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 admins 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

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Storing Generator Folder not in root
« Reply #1 on: May 13, 2016, 09: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.

jallen1

  • Registered Customer
  • Approved member
  • *
  • Posts: 2
Re: Storing Generator Folder not in root
« Reply #2 on: May 16, 2016, 08:16:57 AM »
OK, Thanks. I'll try that.

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2