How much control do we have over CPT rewrite slugs? Can I create a “root” page for my CPT with out the page path, and then have paths for other pages?

Đã có trọn bộ đề thi thử THPT Quốc Gia 2022 các môn: vip.dethihsg247.com

Say I have a CPT called I dunno, "Library" which is just a set of “pages” ("has_archive" => false) and the rewrite slug is “library”. I also intend to have a set of pages like “about”, “archive”, and “new books”.

Can I do something so that I make a page called “home” and instead of its url being https://example.org/library/home could it be https://example.org/library? And then the about page would have the url of https://example.com/library/about

NOTE – I know that I could set the rewrite slug to “/” and then create a new page named “library” and then make things like the “about” or “archive” pages children of “library” but I feel like is just an extra step my users are going to be unhappy about having to do.

And if I made a second CPT, “library-books” would there be away to set its rewrite slug to "library/books" or would I need a totally different path? so I would want https://example.org/library/books to be the archive for the “library-books” CPT and then https://example.org/library/books/book-title for the individual book posts.

Xin chào các bạn và quý Thầy Cô. Hãy nhập từ khóa mình muốn vào ô tìm kiếm trên Website để tìm kiếm mọi thứ hoặc trên google các bạn hãy nhập từ khóa + dethihsg247.com để tìm kiếm các bài viết của chúng tôi nhé.
  • Hiện tại chúng tôi có hơn 25 nghìn bài văn mẫu các thể loại.
  • Kho tài liệu, đề thi học sinh giỏi các lớp vô cùng phong phú.
  • Mỗi ngày cập nhật hơn 100 đề thi chất lượng từ các website bán tài liệu lớn.

Tải đề thi VIP với giá siêu rẻ tại Vip.Dethihsg247.Com