I haven’t run into this particular bug, but man, I do agree that Aliexpress’s technical foundation is a cobbled-together mess made by people who don’t consider the consequences of design decisions. In particular, they either don’t test for edge cases, or don’t even think about them at all.
One issue I’ve run into repeatedly over the years is their boneheaded language selection code. Often, opening a link someone posts to Aliexpress in a different language is enough to switch yours.
But where it gets really nasty is that not all of the Aliexpress website is available in all languages (e.g. help). Somehow, you can end up with the more-restricted part set to a language it doesn’t support, so it then defaults to the alphabetically first language it knows, Arabic, and sets the language setting for the rest of the site to that. But then switching to another language (even one fully supported everywhere, like english) won’t stick, because the language setting for the more-restricted part is set wrong. And because
www.aliexpress.com always wants to redirect you to a different subdomain for any language other than English, if the language-selection settings or cookies get messed up (such that the language selection menu can’t properly set it), it then redirects to the (incorrect) language subdomain doggedly, no matter what you do. That’s my guess as to what’s happening, I don’t really know for sure. But in the end, fixing it requires a very delicate dance of logging out, clearing cookies, and setting the language in the more-restricted part of the site and in the less-restrictive part, to end up in a stable state again.
Until someone posts an Aliexpress link in a language other than your own, potentially triggering it to fail again. (That’s why I do wish people on this forum would refrain from posting language-specific aliexpress links: links to
www.aliexpress.com will redirect to their language, but ones to e.g. pt.aliexpress.com won’t redirect to
www.aliexpress.com or any other language subdomain.)