Hello,
Version: Dynamicweb 9.15.3
Unsure if this is the correct category, but here goes.
I experience slightly different logic in DW regarding canonical. Here are some examples:
<link rel="canonical" href="FULL_URL/da-dk/shop/klinger/haandrundsavklinger">
Absolute canonical
?GroupID=&PageNum=2 – With Query:
<link rel="canonical" href="/da-dk/shop/klinger/handrundsavklinger">
Relative canonical
Here you can see that the upper one is with a full path, and the lower one is without a full path. Why is it we have a change from absolute to relative here?
Moreover,
Regarding the lower example, when you remove the query from the main url and insert this into canonical, I have had this sent to me by the customer.
https://developers.google.com/search/docs/specialty/ecommerce/pagination-and-incremental-page-loading#use-urls-correctly
Here it says that this part should not be removed. The link above,
So in theory, this is what it should look like:
<link rel="canonical" href="FULL_URL/da-dk/shop/klinger/haandrundsavklinger?GroupID=&PageNum=2">
What are your thoughts on the above?
I can manipulate with this standard code from DW, and adjust myself to what the customer wants. I'm just curious - if it makes sense for DW to follow whats stated in the link above or not?
What are your thoughts here?
I hope this post was clear enough - and not jibberish:>
Regards
Jan