XML Sitemaps Generator

Author Topic: Setting a new location for XSL stylesheet  (Read 8831 times)

dwoolley

  • Registered Customer
  • Approved member
  • *
  • Posts: 7
Setting a new location for XSL stylesheet
« on: June 06, 2012, 06:23:09 PM »
Greetings,
In my environment, I must host the XML Sitemap Generator on a non-public subdomain which is hidden from public access.  The sitemaps get saved to the public TLD, but all the admin stuff happens on a non-public subdomain.
  • admin.example.com - hosts the xml sitemap generator system, which saves to /home/user/public_html/example.com
  • example.com/sitemap.xml (for example) is publicly accessible, but is trying to access the stylesheet located at admin.example.com/[whatever], which it cannot access since it is only an internal subdomain
XML Sitemap Generator automatically grabs the XSL Stylesheet from the folder of the admin installation, when activated.

Therefore, my XML Sitemap breaks because the end user's system is unable to access the stylesheet.

Ideally, I would like to be able to host public files on the public server, and set it up in my settings to point to those files.  That way, I can keep the actual admin stuff separate, in the non-public area of our site, and not worry about it breaking.

For now, I have no choice but to disable XSL Stylesheets on my sitemap.

Any chance of this getting resolved?

Thanks!

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Setting a new location for XSL stylesheet
« Reply #1 on: June 07, 2012, 03:59:17 PM »
Hello,

you can specify a hardcoded stylesheet link in generator/pages/mods/sitemap_xml_tpl.xml file.
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.

dwoolley

  • Registered Customer
  • Approved member
  • *
  • Posts: 7
Re: Setting a new location for XSL stylesheet
« Reply #2 on: June 07, 2012, 04:00:31 PM »
Ahh; I was looking for the setting within the admin panel.

Thank you.

 

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