Adding a static element also before PAGES in permalinks
-
Hi all,
I’m trying to optimize the permalink structure of my website following the advice I’ve found on a good article (https://ottopress.com/2010/category-in-permalinks-considered-harmful/).
As far as I understand it’s a good idea to put something static, like a number, before anything else in the permalink.
The problem is that my website is made of pages because it’s not time sensitive data. I have created custom taxonomies and the menu gets populated very easily because it falls back to wp_page_menu(). Now, tags like /%year%/%postname%/ or /%post_id%/%postname%/ or /%page_id%/%postname%/ are not working in the permalinks settings. The pages just keep coming up like mydomain.com/name-of-the-page/. No number… ??
I would really mind to change the structure of my contents and move to posts or custom post types, just for this rewrite rule optimization issue. There must be a way to get a number before the names of the pages as well?
Big thanks in advance for any help!
- The topic ‘Adding a static element also before PAGES in permalinks’ is closed to new replies.