Canonical URL's not capturing QueryString values
Hi, We are working on Sitefinity8.1 and are having issues working with canonical url for querystring values. The canonical URL seems to be working fine for static pages but not for dynamic and querystring values even though we have enabled the querystring for canonical URL's. We have created a querystring parameter call 'page' but still for URL's like mentioned below
if i look at the view source of page i can only see 10.64.1.4:8080/.../news not the complete URL
How can i make it work. Please suggest.
Also it doesnot seems to work for pages which are using dynamically created content. Examples of URL's are given below
10.64.1.4:8080/.../is-your-business-ready-for-this-tax-year-end-
10.64.1.4:8080/.../indexation-is-here-from-aviva
It's rendering the same canonical URL all the time which is 10.64.1.4:8080/.../detail
Hi,
The first issue you reported is indeed a bug. I've logged a bug here. I've also escalated this bug for fixing. However I was not able to reproduce the second issue on my end. Here is what I did:
1. Created a dynamic module named Cars
2. Created a widget that displays paginated Cars
3. Set the detail page to be another page which has a dynamic content view inside it
4. When I clicked on the item, the detail page opened and had the correct canonical url inside it.
The Url of the master page is http://localhost/master.
The url of the detail page is http://localhost/detail.
The generated link in the detail page is <link rel="canonical" href="http://localhost/detail/c1" />. Let me know if the steps taken at your end are the same?
Regards,
Martin Gebov
Telerik