Add permalink implementation
Enable permalink fallback when no nid discovered