added single page params to searh input based on url/pathname