regex - Writing regular expressions for a Asp.Net website -
we have lot of duplicate pages on our website , of course effecting our search engine rankings. duplicate pages old pages not redirecting. have figured out how redirect need writing regular expression i'm struggling with.
examples of duplicate pages:
/language-communication/nursery-rhymes/people-puppets-packs/?ev=search
/maths-numeracy/dyscalculia/bus-stop/?ev=search
/sale/inclusion/harvest-rings/?ev=search
how write regular expression pick above 3 urls?
this should work above:
\/([a-za-z0-9_\-]+\/){3}\?ev=search
Comments
Post a Comment