I need some help redirecting a url with particular parameter value to a new url. For example how can i redirect these two urls with id 123 and 345 to a new url?
Redirect
http://testserver.xyz.com/abc/content/content.jsp?contentId=123
http://testserver.xyz.com/abc/content/content.jsp?contentId=345
to
Any help will be greatly appreciated
TIA
Using mod_rewrite, add these rules in either your htaccess file in your document root, or your vhost/server config: