• Welcome to Sitemap Generator Forum.
 

Sitemap Generator is ignoring canonical links

Started by jknauff, August 09, 2016, 05:55:30 PM

Previous topic - Next topic

jknauff

So in my sitemap genertor , i have clicked detect canonical links.
My website generates a canonical tag.
e.g. we have attribute navigation turned on. e.g
if the visited page is
[ External links are visible to forum administrators only ]
canonical tag will be always be (even for page 2, page 3, page 4)
[ External links are visible to forum administrators only ]

It basically takes it to a view all page for that category. But its not working.
Its not putting the canonical tag in the sitemap.
Instead it puts something like this
[ External links are visible to forum administrators only ] = 2 Pagesize=30*Sort=1*ava=0]

[ External links are visible to forum administrators only ] = 2 Pagesize=30*Sort=2*ava=0]

etc.
So why isn't canonical working?

XML-Sitemaps Support

Hello,

the part of the link after "#" is not a part of "URL" hence it's stripped before being added in sitemap.

jknauff

Why is it ignoring it. We need to have that url as canonical. Because it tells google that you can view all products for that link. Can it be fixed so it doesn't ignore #

XML-Sitemaps Support

Hello,

the part after "#" is meaningful for the sitemap only in case if different content is served with different parameters after the "anchor". And that is only supported when page is served with ajax and according with "ajax crawling specs":
[ External links are visible to logged in users only ]