XML Sitemaps Generator

Author Topic: Canonical URLs not being honored in sitemap generator?  (Read 10401 times)

rob48

  • Registered Customer
  • Approved member
  • *
  • Posts: 2
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?

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10621
Re: Canonical URLs not being honored in sitemap generator?
« Reply #1 on: December 11, 2012, 04:37:29 PM »
Hello,

what is an example URL of the page that is added incorreclty?
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.

rob48

  • Registered Customer
  • Approved member
  • *
  • Posts: 2
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 admins only]]=8" to our sitemap.

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

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

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10621
Re: Canonical URLs not being honored in sitemap generator?
« Reply #3 on: December 12, 2012, 08:52:51 PM »
Hello,

please let me know your generator URL/login in private message to check this.
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.

 

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