Nested permalink without dummy parent page

Question

I want a permalink example.com/foo/bar without plugins.

So I create the bar page using wp_insert_post(). I’m supposed to set the post_parent argument to the ID of the foo page.

But I don’t want to create a dummy page foo.

Can I do this without dummy intermediate pages?

0
, , lonix 2 years 2020-01-06T08:39:11-05:00 0 Answers 94 views 0

Leave an answer

Browse
Browse