forcing api urls to go to www