Only pathname check for / to allow params