question can I just used slug name instead of id for this kind of add_rewrite_rule
add_rewrite_rule('news/([^/]+)/?$','index.php?page_id=$matches[1]','top');
I'm not sure if what parameters for the slug in query, what I see on several samples are page_id only and I cannot find any information for slug.
thanks