Canonical URL's not capturing QueryString values

Posted by Community Admin on 04-Aug-2018 12:50

Canonical URL's not capturing QueryString values

All Replies

Posted by Community Admin on 22-Jan-2016 00:00

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

10.64.1.4:8080/.../2

10.64.1.4:8080/.../3

10.64.1.4:8080/.../4

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

 

 

 

 

 

 

Posted by Community Admin on 25-Jan-2016 00:00

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

 
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
 

This thread is closed