Home REGEX Code for URL redirect from paramter to direcory
Reply: 0

REGEX Code for URL redirect from paramter to direcory

user690
1#
user690 Published in June 20, 2018, 7:23 am

Im using Wordpress Redirection Plugin and WPML Multi Langue Plugin for my Website. Unfortunatley until today i was using URL Parameters for different languages like "https://example.com/some-permlink-dir/?lang=en" was for for the english version. now i would like to change it to "https://example.com/en/some-permlink-dir/" since i got a lot of subpages on my website and the redirection plugin offers regex im wondering how i can tell the plugin that i would love to redirect all the traffic from the url parameters to the directiry version because in dont want to add redirections rules for every single subpage. any idea how i could write the right regex statement ?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.370684 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO