publish blog cause the url to change with replaceState