<![CDATA[ SEOPro: Sitemap generation issue - MODX Community Forums]]> https://forums.modx.com/thread/?thread=104956 <![CDATA[SEOPro: Sitemap generation issue]]> https://forums.modx.com/thread/104956/seopro-sitemap-generation-issue#dis-post-564365
I'm using Revo 2.7.1 with Sterc SEOPro 1.3.0-pl Extra. On some MODX sites I'm having issues when generating the sitemap.

I'm using the snippet call

[[!StercSeoSiteMap]]
in a XML type document with template set to empty.

The XML code is including html and body tags:

<?xml version="1.0" encoding="UTF-8"?><html><body><urlset xmlns="https://www.sitemaps.org/schemas/sitemap/0.9"><url><loc>.....


This of course is resulting in an error.

Is it possible that it has to do with the core folder / path being outside of the site root (which is recommended security hardening)?

Thanks!
Guenter

]]>
hgw7m Mar 11, 2019, 10:33 AM https://forums.modx.com/thread/104956/seopro-sitemap-generation-issue#dis-post-564365
<![CDATA[Re: SEOPro: Sitemap generation issue]]> https://forums.modx.com/thread/104956/seopro-sitemap-generation-issue#dis-post-564394
Also, if the extra calls any of the MODX regClient...() methods to load JS or CSS code, not having head and body tags will defeat that.]]>
BobRay Mar 12, 2019, 07:13 PM https://forums.modx.com/thread/104956/seopro-sitemap-generation-issue#dis-post-564394
<![CDATA[Re: SEOPro: Sitemap generation issue]]> https://forums.modx.com/thread/104956/seopro-sitemap-generation-issue#dis-post-564381 Quote from: markh at Mar 12, 2019, 04:29 AM
If your template and resource content truly are empty then I'm not sure where the html and body tag might be coming from, but..

Is it possible that it has to do with the core folder / path being outside of the site root (which is recommended security hardening)?

.. that's a definite no, hardening your site does not impact how your site is rendered one bit.

Hello Mark,
that's good to know, thanks. Any other idea or suggestion for the issue?
Thx again]]>
hgw7m Mar 12, 2019, 07:45 AM https://forums.modx.com/thread/104956/seopro-sitemap-generation-issue#dis-post-564381
<![CDATA[Re: SEOPro: Sitemap generation issue]]> https://forums.modx.com/thread/104956/seopro-sitemap-generation-issue#dis-post-564374
Is it possible that it has to do with the core folder / path being outside of the site root (which is recommended security hardening)?

.. that's a definite no, hardening your site does not impact how your site is rendered one bit.]]>
markh Mar 12, 2019, 04:29 AM https://forums.modx.com/thread/104956/seopro-sitemap-generation-issue#dis-post-564374