Use replaceState instead of pushState when a project or profile URL changes