Welcome to WebmasterWorld Guest from 3.228.21.186

Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

Multiple values for single url parameter

     
10:51 am on Jul 8, 2016 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Feb 3, 2003
posts:963
votes: 0


Hello,

I am looking at allowing only certain url parameters via Google Webmaster Tools > Url Parameters.

Basically, I want to allow a few chosen multiple values of a single parameter and block any other.

Allowed: (Single Color)

colors=blue
colors=black
colors=silver

Disallow: (Multiple Colors Combination)

colors=blue-black
colors=black-silver-gold

To set these parameters via GWT, I will have to add the parameter along with its different values separated by comma. I will have to use the following setting "Only URLs with value".

So assuming that I want to allow only 50 single colors type urls, I will have to add them comma separated. Is that ok and fine? So something like colour = red,blue,green

I have also handled it via canonical tags in the page head, but I also want to handle it via the URL Parameters in GWT.
6:04 pm on July 8, 2016 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month

joined:Apr 9, 2011
posts:15867
votes: 869


Before you go any further:

What happens if a random passing human (or an overly inquisitive robot) requests one of those multi-color-hyphenated forms? Is this hypothetical, or does it actually happen on a regular basis?