Sorry for confusing you earlier. Let’s try this at a very basic progressive level and see if the issue can be debugged.
I’ve now created a bare test site (all plugins disabled except Redirection and Transposh, all existing redirects removed, clean HTACCESS).
To test the problem, I have created a redirection from https://test.travelnasia.com/test-rewrite/
to https://test.travelnasia.com/write-a-review/
which works just fine but fails when “/?lang=zh” is added to the source URL.
I created another regex redirect as per your instructions from
https://test.travelnasia.com/test-rewrite/(.*)
to https://test.travelnasia.com/write-a-review/$1
and that passed on the lang parameter to the destination URL.
With that working ok, I created a third test redirect from
https://test.travelnasia.com/test-rewrite/(.*)
to
https://test.travelnasia.com/destination/bangkok/don-mueang-airport-bangkok/$1
and that also works OK.
I then created a new regex redirect from
https://test.travelnasia.com/thailand/bangkok/don-mueang-airport/(.*)
to
https://test.travelnasia.com/destination/bangkok/don-mueang-airport-bangkok/$1
which also works fine.
But when I create the same redirection in my live site
https://www.travelnasia.com/thailand/bangkok/don-mueang-airport/(.*)
to
https://www.travelnasia.com/thailand/don-mueang-airport-bangkok/$1
it redirects to the home page, with the language parameter intact.
I don’t know why it does this because
https://www.travelnasia.com/test-rewrite/
to https://www.travelnasia.com/thailand/don-mueang-airport-bangkok/$1
works just fine.
I can only imagine that some other redirection is interfering with it. But I cannot find any redirects that refer to either of these URLs except the two above used for testing.
When I look in the Redirection log, I can see the call to “test-rewrite” but I cannot see the call to “thailand/bangkok/don-mueang-airport” anywhere, which suggests that the Redirection module is being bypassed on this call? Maybe something else is over-riding it?
I’ve even tried creating similar redirects in HTACCESS and they also don’t work. I really don’t know where to go from here.