Different canonical depending on query string
-
Hi there,
I don’t think this is possible but I just wanted to check.
Is it possible to change which URL is canonicalised depending on the value of a query string?
For example, we have a search page:
/property-search/When you search, complex querstrings may be generated which canonicalise back to /property-search/ e.g.
/property-search/?orderby=price_desc&instruction_type=sale&place=Bar+Hill%2C+Cambridge%2C+UK&bounds=%7B”south”%3A52.245372275973914%2C”west”%3A0.008389726855343296%2C”north”%3A52.25967467036036%2C”east”%3A0.03699444171009975%7D&radius=3&showstc=onHowever depending on the content in the string, very different content can be loaded on the page. I would like to make it so that rather than canonicalising everything to /search/ some URLs can have a different canonical depending on what is in the query string.
e.g. this:
/property-search/?orderby=price_desc&instruction_type=sale&place=Bar+Hill%2C+Cambridge%2C+UK&bounds=%7B”south”%3A52.245372275973914%2C”west”%3A0.008389726855343296%2C”north”%3A52.25967467036036%2C”east”%3A0.03699444171009975%7D&radius=3&showstc=on
Would canonicalise to this:
/property-search/?place=Bar+Hill
Rather than to just /search/
Is there any way to do this?The page I need help with: [log in to see the link]
You must be logged in to reply to this topic.