I have a url like http://exmple.com/company/?n=Brunswick%20&%20Sons.
First, i have read this post. https://serverfault.com/questions/214512/redirect-change-urls-or-redirect-http-to-https-in-apache-everything-you-ever
But i cant understand rewrite rule easily. I want the query as like http://exmple.com/company/Brunswick%20&%20Sons.
Can anyone help to understand this thing do this work 100%.
Try the following code in root/.htaccess: