Not charging sales tax in a jurisdiction you have no presence in isn't a loophole, it's an intentional feature at the federal level. States can't legally tax interstate commerce.
Amazon is only starting to charge sales taxes in states because they're establishing local presences in those states.