Support both link with traditional param or with slash (part of the path).