Get rid of post_title variable in permalink
-
Hi there,
Working with Pods, I have a custom post type named “istorie” (which is history), and a relationship field “destinatie_istorie” (which is the destination of my history article) pointing to a custom post type named “destination”.
Here’s how it looks like: https://i.imgur.com/yYgdPIt.png
Now, someone from your side helped to get custom Pods fields in the permalinks. And it works but has some serious limitations I wasn’t aware of.
For my custom post type “istorie”, I need it to be:
%__destinatie_istorie%/istorie
, which for a “destination” like “france”, should look like this “france/istorie”. Quite obvious, it’s taken the custom post type from “destination”, which is “france”, and ads the fixed value “istorie”.But it doesn’t happen.
Doesn’t matter what I do, it will insert something from the post title, although I have never specified it. The permalink has nothing to do with the post title, but with my “destination” token + a fixed value, which is “istorie”.
Here’s what I’ve tried so far:
%__destinatie_istorie%/istorie
For a destination called “france”, for example, it throws me a permalink like this: france/istorie/my-post-title.
Why? I’ve never had post title in the permastructure.
When I switched to:
%__destinatie_istorie/%post_type%
… where %post_type% is coincidentally my “istorie” needed to add, delivers the same result “france/istorie/my-post-tytle”. I can’t get rid of the post title in the permalink.
Tried also
%__destinatie_istorie_flat%/istorie
… thinking this will help, but it doesn’t work either.
I need the URL to follow the given patterns, which I respect when building the Permastructure, like in the image: https://i.imgur.com/gKO9OKX.png
The website is under construction, no available link. What can I do so I could make Permalink Manager Pro respect its own tags? It is a huge issue for me.
I don’t think keeping a simple Contact form on your website will encourage people to send their problems so you could improve the product. You need a ticketing system. But that’s another thing for another time.
- The topic ‘Get rid of post_title variable in permalink’ is closed to new replies.