don't forget base_url when updating address bar in rename