I am trying to put the canconical tag in my .config which
<rule name="Enforce canonical hostname" stopProcessing="true">
<match url="(.*)" />
<conditions>
<add input="{HTTP_HOST}" negate="true" pattern="^www\.web/site\.co.uk$" />
</conditions>
<action type="Redirect" url="http://www.web/site.co.uk/{R:1}" redirectType="Permanent" />
</rule>
This works a treat on the home page, however on deeper pages where you want it to return /some-page/10 it returns id=10&title=some-page
is there something i have done wrong?