Use replaceState for the when replacing the intial url.