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

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -