I have setup a WordPress under a dev.example.com domain and then after developing changed the document root of the top level domain example.com to the WordPress installation.
Now some links are on dev. and when I login to admin, I get redirected to dev. as well. I changed all the links manually but the language switcher still remains on dev.
How do I solve this?