I just want 301 redirect rule for multiple query string to make it SEO friendly url.
Internal Url: www.example.com?p=54&p1=ABC XYZ&p2=XXX45767 and so on.
301 Redirect Url: www.example.com/54-ABC-XYZ-XXX45767?p=54&p1=ABC XYZ&p2=XXX45767
So, the redirect url must contain the old query parameters too.