swap pathname w. href