I have switched my urls from the ?lang=xx to the seo friendly /xx/ format. However, I want to automatically 301 redirect any visitors that go to the old /?lang=xx to the new /xx/ url.
Canonical is already in the code but I would like the visitors to go to the new seo friendly language page automatically.
I have searched all over the internet for a ?lang=xx to /xx/ htaccess rule but cannot find it. If you can help me I would greatly appreciate it.
Thanks in advance.