Page 1 of 1

Canonical Links with IIS server

Posted: Mon Nov 02, 2015 8:06 pm
by Gteuk
Hi

I have just moved a website from a Linux server to a windows IIS7.5 server as I have full control over it,, I have noticed a few issues but one that is a pain is the URL redirection which is used to try and sort out the duplication of content.

For example when you click on a category it will show the category page when you click on the product it will also show the category link, not too much of an issue but if you put a product in multiple categories it will show as duplicate content. This is the same with sub categories also.

i.e. examplesite.com/category/product1.html could show the same content as examplesite.com/category1/product1.html

Is there a module out there that will set products to be canonical to the root folder,, examplesite.com/product1.html

Live example
http://www.allbriteuk.co.uk/flooring-su ... or-heating

Shows the exact same content if this is called
http://www.allbriteuk.co.uk/fiesta-lc-l ... or-heating

With multiple categories there would be a massive amount of duplication,, I am writing rewrite rules to compensate but this does not reflect in the sitemap.

Re: Canonical Links with IIS server

Posted: Mon Nov 02, 2015 10:26 pm
by VictorDrummond
Gteuk wrote:.........
Shows the exact same content if this is called
http://www.allbriteuk.co.uk/fiesta-lc-l ... or-heating
That is the canonical link... view source for the page and it tells you the canonical amongst the head scripts:

<link href="http://www.allbriteuk.co.uk/Laminate-fl ... l-oak.html" rel="canonical">

You got heaps of other errors to deal with though.