Is there a way, I could make portfolio permalinks behave like standard pages?
Like for example I have urls like /projects/my-test-project/ but I would like it be like /my-test-project/ without ‘/projects/’
Note: projects is **Portfolio Base**
The issue here is, I have worked on a theme project, which previously was using “Pages” & “Page Templates” for portfolios.
But now I have utilized “Custom Content Portfolio” plugin for managing portfolios, which is great, but there are lots of users using old version of theme, and they will certainly be angry if they see their urls being changed once they update theme to latest version, most importantly their SEO.
I think it might not catch the name conflicts, which is fine, as it will be available only if user opt to use this url structure, and they will be responsible for the consequences if they want to have such url structure.
Sure, its not going to be forced on users, it will be offered as opt in, as some users don’t like to have project slug in url, so they want to have project name in url only.
If you have any better solution in near future, please let me know.
The issue is, above solution works fine as long as I set blog permalinks to “Post Name” : “/%postname%/” but if I change it to something like “Day and name” it breaks the logic and throws 404.
So I searched for the fix / solution but found none, except the plugin called “Simple Post Type Permalinks” which works, but I am not confident in suggesting the users to go for it, as if any issue arises because of it, I will not be able to fix as I am having hard time understanding its logic. Because I am not familiar with WordPress rewrite rules.
So is there anyway you can somehow point me in right direction, so I can implement my own solution?