[Resolved] Nested URL for Custom Posts and Archive
This support ticket is created 2 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
Hello. Thank you for contacting the Toolset support.
Toolset offers limited URL rewrite feature. You can rewrite the single custom post URL as /learning/habitat
=> hidden link
(with the screenshot "student" is the post type slug)
Thank you. All the documentation I'm finding says to use register_post_type and modifying the url there, but this is an existing post type. How do I do that with an existing post type? Should I use get_post_type_archive_link( 'habitat-hub' ) and rewrite from there?
*** Please make a FULL BACKUP of your database and website.***
What if you edit your post type "habitat" from:
=> Toolset => Post Types => Edit your post type "habitat" and under the section "Options" navigate to "has_archive" option and in the textbox you should try to add "learning/habitat" and save the post type.
Then go to: Settings => Permalinks and click on button "save changes" and then try to visit the URL:
=> hidden link