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?