save both name and value of path parameter in URL