changing port and removing # from url