
Originally Posted by
DH010010
Though you provided a link, I thought that I would take the liberty of posting the fix here as well..
To correct this you need to edit the following file:
/includes/modules/pages/sitemapxml/sitemapxml_ezpages.php
Find this on line 115:
Code:
$link = FILENAME_EZPAGES;
Replace with this:
Code:
$link = zen_href_link(FILENAME_EZPAGES, 'id=' . $page_query->fields['pages_id'] . ($page_query->fields['toc_chapter'] > 0 ? '&chapter=' . $page_query->fields['toc_chapter'] : ''), ($page_query->fields['page_is_ssl']=='0' ? 'NONSSL' : 'SSL'));
This will as Conor pointed out use the zen_href_link function to generate the EZ Pages URLs in the XML sitemap.
And so it's clear I have verified that as of today this fix applies to the following version of the XML Sitemap module.
SitemapXML
Version Date
==============
v 3.2.6 17.06.2012
BIG thanks again to DH010010 for getting to the bottom of a very old issue.. Kudos to you!
Bookmarks