Pages don’t have a base in the URL unless you are associating the page with a parent in the “Page Attributes” section. Example:
Page 1 – “Contact Us” (no parent)
Page 2 – “Directions” (Contact Us as parent)
Page 1 URL – domain.com/contact-us
Page 2 URL – domain.com/contact-us/directions
Also, are you sure you’re dealing with actual pages and not posts in a category?
Related Posts:
- Need help with add_rewrite_rule
- How to get pretty URLs with add_query_arg in permalinks
- Prevent WordPress from abbreviating-long-slugs…-in-the-admin
- Page begins with number, WordPress adds 2
- Permalinks to Custom does not work (out of box)
- Why don’t WordPress post slugs allow accents?
- Multi-language permalink in qtranslate
- How to make draft posts or posts in review accessible via full url / slug?
- Modify get_permalink with a specific filter
- Include Taxonomy slug in post url
- How to set permalink to fetch all children custom posts with parent post in wordpress?
- Rewrite url / permalink for default archive – yearly / monthly
- How to change the link structure of the homepage?
- WordPress on VirtualBox – no pretty permalinks
- permalinks has -2 with post name structure. why?
- How can I change permalinks to use a different domain and path from where the blog is hosted?
- Child pages with same slug
- Permalinks, Rewrites, Get Variables, Oh My!
- Remove words from permalink when saving post automatically?
- Permalink problem
- Rewrite my default post URL
- Removing leading zeros from custom permalink structure
- When is it a good idea to build a permalink structure from scratch?
- Get permalink to page?
- Parent Category link to its sub categories on different page
- How to reset canonical URLs / fix redirect loop
- Permalinks: Page Not Found
- Trailing slash at the end of permalink loads faster / better SEO?
- WordPress blog posts permalinks giving 404 on nginx
- Permalinks by page/post name returning 404
- how to add rewrite rule to wordpress default post type
- Is a permastruct possible on pages?
- Custom WordPress user permalink
- Changing the post date without causing 404 error
- WPML – how to get the permalinks to display also the default language
- Why does the ‘Month and Name’ Permalink Format not Work on my new WordPress Site (running on IIS7)?
- How do I add /blog/ as a prefix to permalink structure for posts, categories & tags?
- Custom permalink structure for posts in specific category
- force permalink slug for page vs post_type slug parent
- WordPress url ingore permalinks setting [closed]
- Rewrite URLs for LeadPages due to subdirectory installation
- After updage wordpress 4.4 to 4.5 nginx config works not properly
- Let me choose permalinks
- Custom rewrite rule ignored
- Stop Images Linking to Themselves?
- Resolve 404 on posts without category
- Remove parent page from url
- Remove “attachment/” from the URL of attachment pages
- Inserting a string in the middle of page’s permalink?
- When I click on a single post my browser goes to about:blank#blocked and the page is white
- 404 on internal pages, in all sites in my local server
- how to alter permalink in wordpress?
- Pagination using paginate_links
- add_rewrite_rule – Page Slug from “/foo-bar/” to “/foo/bar/”
- Permalink will not change – it wants to have -2 slug [duplicate]
- Permalinks 404 after Subdirectory to Root Migration
- Access or edit custom generated permalinks with WP_Rewrite
- Add custom query vars to pretty permalinks
- Redirect after permalink changes
- Custom permalink structure only saves with index.php inserted
- the_permalink() not working
- Permalinks and page store
- All in One Seo and Permalinks
- Already have htaccess but permalink settings not working. Getting 404
- Add .html permalink to post if specific category
- rewrite based slug standar post wp
- How to update wordpress permalink structure with author role?
- How to turn a custom query string into permalink?
- How can i fix my permalinks?
- Adding custom query var to a single post without redirecting to its root slug
- Custom structure permalink preventing 404
- Flush rewrite rules with scheduled event (cron)
- I have a 404 error on all my pages! What do I do?
- All files in public_html, Cannot launch WordPress site via wp-admin
- Add slug to default post permalinks ONLY
- Getting 400 Bad request Error when trying to open posts after updating to wordpress 5.0
- Category Base permalinks
- Propper way to set anchor and url param
- Do shortcodes in title before permalink is generated
- Pretty Filter URL
- How to change dynamic link to relevant post
- Auto-generated pretty permalink not using title since 4.4 update
- Pretty permalinks returning “not found” on localhost and server
- Problems with permalinks after update wordpress 4.2
- WordPress Permalink Problem
- Customize category permalinks
- Latin character conversion
- Update permalinks
- Losing the original URL when using add_rewrite_rule
- broken permalinks in responsive layout
- Permalink issues with Ubuntu Server – Infinite loop & Wrong pages
- permalinks url with woocommerce
- How to get the perfect WordPress, WooCommerce, Custom Post Type pretty permalinks?
- WordPress keep redirecting me to random URLs
- Not recognizing my custom templates in hierarchy
- How to make a permalink variable %year% become two digits instead of four digits?
- Add additional URL variations for a Post
- How to use ‘blogs.dir’ as media upload instead of ‘uploads’ directory in WordPress multisite setup
- How to make my custom permalink pull up the correct post
- How to Set Both Category and Sub-Category Level at Root. It should also obey post rule as /category/sample-post and /sub-catgeory/sample-post?