Canonical URLs not being honored in sitemap generator?
« on: December 10, 2012, 03:53:01 PM »
We use friendly page names to reference all of our pages with htaccess rewrites, and use a canonical tag in each page to provide the search engines the friendly name of the page.

In areas with pagination, the proceeding page names are dynamically generated by the CMS. For example, our link to the first page of the series is a friendly name: 
“southeast-utah-real-estate-residential-listings-8.html”.
But on the proceeding page links at the bottom of the page, the CMS assigns unfriendly names like:
“index.php?cur_page=1&action=searchresults”.

Our canonical tags correctly identify the friendly name for each proceeding page like: “southeast-utah-real-estate-residential-listings-8.html?cur_page=2”

But when we run sitemap-generator with “Enable Canonical URLs” checked, it creates the sitemap using the unfriendly names, instead of the canonical tag. Shouldn’t the program replace the url with the canonical url? How can we resolve this?
Re: Canonical URLs not being honored in sitemap generator?
« Reply #2 on: December 11, 2012, 06:06:43 PM »
Here is one example:
sitemap-generator adds the url "[ External links are visible to forum administrators only ]]=8" to our sitemap.

But the canonical url for this page as referenced in the canonical tag is: "[ External links are visible to forum administrators only ]"

It does this for all of our paginated search results pages, regardless of the canonical tag.