The question isn’t very clear to me but i’ll attempt to answer anyway, forgive me if it’s obvious to you:
What you describe is the behavior of “custom post types” When you create custom post types you define a slug like your “suburl” and “suburl2” and all posts created under that type fall under site.com/suburl/post-title
I’m sure that if you first create the necessary post types and then change the type of each post to fall under the proper type you can achieve that structure.
Related Posts:
- How to build custom WP admin with custom URLs
- Many Rewrite Parameters/Rules
- I want to change url structure of my created archieve pages
- How to Change 404 page title
- Adding Custom Link anchors in the top menu that points to specific sections of the site home page
- Create subpage /user/ or /my-profile/ like /author/ with additional query like /user/user123
- How to change URL Custom Page?
- Passing page url into a custom field via the Press-This bookmarklet
- Add filename to attachment page url
- add_rewrite_rule won’t work
- Remove Author Slug & Replace With Username
- How can I get the page url slug when ‘post_name’ returns an id?
- open all .docs in word online
- How can I get the intended URL in a 404?
- Creating Search Engine Friendly URL’s with Word Press
- Why is my mod_rewrite not working?
- URLs and navigation in custom themes
- How to change the category url jusy show /category/%category_id% in wordpress?
- Control Content On Non-Blog Pages
- redirect post id to post full url
- change url for static files in /wp-admin with a cdn url
- WordPress 3.0.1 on IIS 6 Web Server PermaLink Issues
- How do I redirect a post url to a custom url?
- website with pretty permalinks except pagination
- add_feed rewrite overwriting standard permalinks
- Edit specific text on a static page
- Custom Post Type, post-formats associated to custom post type > 404 archives
- How do I get posts to appear at mydomain.com/blog?
- title tag function
- query variables for custom taxonomies
- How do I run a web app in my WordPress theme without the “wp-content/theme/…/webapp” in URL?
- New to WP: links on static homepage are not working
- URL issue after setting up Custom Structure in Settings >> Permalinks
- How to assign a default/priority taxonomy to be shown in url in case two taxonomy items are selected
- How to add rewrite rule for product compare page?
- Replace an URL with an new URL which has a “?” in it
- twenty seventeen customizer duplicates section content
- Url rewriting on custom post with CPT UI plugin
- Wonderflux Framework Static Homepage
- Call a duplicate registration form with other url
- wp_rewrite not working on third level url
- Show post content in two different places without redirect
- Pass query param to custom page
- How do I fix the url when clicking on portfolio item?
- Create a page for each database table entries
- WordPress Page Width Issue: Seeking Solutions
- query_posts meta_key with current date
- How to activate flash cards
- Add array of post id’s to a category?
- Transferring theme and imported post attachments
- Adding pub_Date to an RSS feed hosted on WordPress
- Get custom field value from not-current page
- Mimicking admin panel menu from wordpress 3.0.1
- RSS feed showing deleted post
- Personalized Gallery what are my options?
- saving the widgets position after drag and drop
- Custom page template, not acting as page
- Google calendar in wordpress showing events
- How can I resolve a .htaccess internal server error setting up a WordPress multisite?
- Trying to use .htaccess to redirect /profile to /login-2?action=profile
- how or where wordress collect unlogged user session
- How to create social Share Buttons Without Plugin
- Include specific category in URL automatically
- Customize Widget Navigation
- Is it possible to add custom badges to product attributes conditionally, based on custom field?
- wp_enqueue_script JS code runs too late (after user begins interacting)
- Created Custom Block – When I come back to edit post/page and change my block content – Update button stays disabled
- Can I change the URL structure for a CPT only?
- Hook before user is created and make some custom validation
- I found this code to be very useful, how can I change it to a text that display “Product versions and period of last update” rather than a button?
- How do I make Dynamic Student Admission Form?
- Make the home page’s slug visible in the browser’s URL bar
- WP Search Form Query: Add Author’s posts into search query
- How to define a rule in functions.php that ONLY disables the default wp functionality that undesirably changes ‘&’ to ‘#038;’?
- returning the currect URL for nested posts
- Prevent WordPress from automatically installing a new theme each year
- Setting Parent Page to Post
- Dynamic Sections
- Creating a “Delete”-Button for Metadata userspecific
- Change default Video Player without Plugin
- Changing update message from Newspaper child theme
- Create Custom URL structure for specific Post category using Post ID instead of post name
- Custom default settings for WP native Gallery Block
- Add custom border across footer widget area
- Weird urls after moving site from local env to a server
- Make the home page template my archive/category page template without code duplication
- Don’t update modify time post on Quick Edit
- Is it possible to auto sharing post on social network from specifc categories or tags
- How to show parent taxonomy using get_the_terms?
- wp_insert_post custom taxonomy multiple Category not added
- Custom menu not showing even though it shows as being registered?
- Open login logo URL in new tab
- Get custom text if in Category
- How to change the login page without a plugin and not only customizing logo and text around the form?
- Conditional Logic on CF7 dropdown options
- Customizing woocommerce product page
- Change admin_title of a plugin using code snippet/functions
- Change language on website and change currency with url query
- How to make WordPress search page use a relative path
- dynamic URL rewrite