linux - 301 redirect urls -
i'm trying redirect old url new 1 using 301
i need example of rewritequerystring following 301? http://www .example.com/search/?depid=1&typecatid=1 following http://www.example.com/mens/clothing
so when type in long url in browser, redirected new, shorter url
any ideas?
rewriteengine on rewriterule ^search/\?depid=1&typecatid=1$ /mens/clothing [r=301]
^ try that.
Comments
Post a Comment