I want a permalink with slashes : e.g. http://mysite.com/keyword1/keyword2/mypage.html
I have put it in the param "post_name" in wp_insert_post but the slashes are stripped, so the result is http://mysite.com/keyword1keywordmypage-html (the dot is also replaced by -)
the keyword1, keyword2 are arbitrary values extracted from the post's content
how can i also add the .html without it being replaced