I don’t think so. Why not try something like this:
-
A permalink structure like this:
/%category%/%postname%/
-
Category: Windows
Sub-Category: Serenity
Create a post and assign it to “Serenity” (sub-category), and publish it.
The post’s URL would now look just the way you want it to: http://site.com/windows/serenity/post-name/
and most importantly it should work the way you want it to as well.
Related Posts:
- How to Check if a Page Exists by URL?
- Changing my permalink structure – will new layout conflict with existing page?
- Switch to page template when using post permalink
- How to handle broken links created by permalink/slug changes?
- When changing pages to posts, how do you set up 301 redirects for the page URLs?
- Custom Permalink Structure for Pages & Posts
- Unabled to Change Permalinks – Even Using the “Edit” (Resets to Original Permalink on “Update”)
- Post/page title to permalink transformation – what is behind the scenes?
- How to link post titles on page A to its posts on page B?
- Changing permalink of WordPress
- Please help a newbie with blog page issue?
- Custom permalink for wordpress page / post
- Category URL to use same string as Post URL Permalink
- Permalink base only for posts
- How to give priority to page than to posts permalink structure?
- Precedence of page permalinks over woocommerce product category links?
- Posts in Page – How to customize the URL?
- One of my posts is displayed as page
- Blog posts are not appearing as subs of Blog Page
- Determine if page is the Posts Page
- Where is the old post permalink slug stored?
- Keyboard shortcut for updating a page or post?
- Apply the_title() filter in post & page title, but not in menu title
- Difference between an archive and a page listing posts
- The next_posts_link() works only with original $wp_query
- How to display the page title/content in the Posts page?
- Callback for wp.autosave.server.triggerSave();
- disable password protected page for logged users
- RSS for Pages Instead of Posts?
- Why can posts never have a number as the link?
- Set number of article per number of page
- Pagination for Pages and Posts
- Some posts returning 404 instead of displaying post
- Why does `url_to_postid` return 0 when testing `page_for_posts` Page?
- get_permalink executes link without https
- Create pretty permalink for a post knowing the permalink structure
- Link post permalinks to subdirectory /post
- Remove permalink from images when inserting into post
- Remove the Edit button in posts for permalinks on certain user roles? WP 3.3
- Private Posts/Pages & Search
- White Blank Page when Updating and Publishing Page/Post
- Posts vs. Pages
- Can’t get the_content of the parent page from its single post?
- Plain permalinks not working!
- Why content_arr[‘extended’] removes paragraph tags?
- Changing Permalinks for Default Post type to reflect navigation
- How should I add links to other pages/posts from my post?
- Add Word Limit to Posts
- How to check a post exist when the permalink has post id in it?
- How to do set post permalinks using 6 digit random unique function?
- Post categories to pages
- Any way for get_next_post() to use the actual post order instead of publish order?
- Second comments section for one post/page
- 404 error on default post type and default taxonomy fronted page
- hiding permalink in admin if the user is subscriber
- Why does WP_Post not contain its permalink?
- 2 dynamic sidebars registered, not showing up
- How to make default “Privacy Policy Page” a normal page?
- How to detect when admin user is on the All Posts page?
- Total number of posts in query (category/tag/author/search results/main page…)
- Getting a “404 Not Found” error when “Preview Changes” is clicked
- My Custom Post Type Still Using index.php
- Would a “hub” page work better as a page or a post?
- Making posts permalinks consistent numbers
- Page of posts made to look like homepage
- Permanently deleted posts still exist
- Added a ACF field to custom page and want the results to show as a column in admin
- Deleted page still shows and is showing posts archive
- How to add a ‘News’ section to specific posts in WordPress
- How to create page with post content in it?
- Add a url parameter to the current post and read it in a shortcode
- How can I set the permalink of an article / page equal to the permalink of an existing article / page?
- post and page and custom post type
- Single Sidebar; multiple templates! How?
- How to add category base prefix to wordpress permalink
- WordPress for business site
- Change the URL of posts by category
- Point users to a specific url directory for some posts
- post_name is not stored until post is published… where should I store my slug until it goes live then?
- Any difference betweenn posts and pages for one page?
- Show only top 3 posts from 3 categories in order on home page
- My blog “page” used to show a list of posts, but now it’s just showing the page content?
- Bulk replacing content of multiple pages/posts?
- how to change the permalink to a specific location?
- get next/previous post name
- Get post title of faulty link on 404 error page
- Get current post’s child page?
- The next_posts_link() works only with original $wp_query
- Change posts URL [duplicate]
- how to show all type of author posts in author page (SOLVED)
- How can we pass a value from the_permalink() at WordPress?
- custom post type single page template not working
- WordPress Page Column Problem [closed]
- What function does the loop of displaying posts?
- How to change Permalinks only for Blogposts
- wordpress category Description not allowed tag
- Permalink structure for two separate blogs
- Header and Footer options in pages and posts
- How to add paraent in Blog post URL in wordpress
- Change permalinks in posts via SQL