php - htaccess URL manipulation -
we have multilingual wordpress site passes parameter end of page's friendly url display translated version of page, somewhere along line update 1 of plugins causing parameter inserted in middle of url so...
http://www.example.com/?lang=es/about-us/our-team/
...whereas actual url should be...
http://www.example.com/about-us/our-team/?lang=es
there many urls affected, share same pattern (protocol://domain/parameter/page/category). knowing this, possible fix urls matching pattern, remove parameter middle of url , place on end of url belongs?
i know fixing underlying problem ideal solution, great if have "working" website in meantime.
[edit:] possible change order of url through use of htaccess rule?
Comments
Post a Comment