Permalink issue with custom post types
-
Dear all,
Firstly the custom post types work perfectly. Regular pages however only work when the permalink setting is /archive/%post_id%/ (‘archive’ can be replaced with anything)
I solely wish to use /%post_id%, however, this results in a 404 error for pages only, custom post types are unaffected.
example:
With permalinks set to /archive/%post_id%:
https://www.sitename.com/landing works perfect, along with the rest of the siteWith permalinks set to /%post_id%:
All pages, including https://www.sitename.com/building result in 404 error. Custom post types however (example url: https://www.sitename.com/building/house/fifth_street are unaffected.I am using custom post types and custom taxonomies and I have a feeling this may be affecting.
I would also like to use custom taxonomy terms in the rewrite rules.
Any solutions for either problems?
Thanks
- The topic ‘Permalink issue with custom post types’ is closed to new replies.