Re: wordpress and add-on domain
"It's not a bug, it's a feature." No, it's a bug, even if it's designed in. Consider, if you will, the case of a Wordpress install on a machine that is accessible via both internal (network-specific) and world-facing (internet) URLs. Most orgs with anything like a security bent deliberately prohibit internal access via the external address. There are companies, as well, who have several brands under an umbrella. WP should not be coercing domain changes in the browser under any circumstances -- failing to make URLs relative to the active user access path is just plain poor programming.
“Beware of bugs in the above code; I have only proved it correct, not tried it.” --Donald Knuth
"It was as if its architects were given a perfectly good hammer and gleefully replied, 'neat! With this hammer, we can build a tool that can pound in nails.'" -- Alex Papadimoulis (on TheDailyWTF.com)