Support » Plugin: Permalink Manager Lite » Permastructure tags are not being resolved correctly in URI editor anymore

  • Hi,

    I have a strange phenomenon on one of my client’s pages. For some custom post type permalinks, set in the URI editor, the permastructure tags are not resolved correctly.

    E.g. I have a custom post type with a given slug name “das-magazin”. When in the uri editor I write “%magazin_slug%/post-title” and hit save, the result is not “/das-magazin/post-title” as expected but rather “%magazin_slug%/post-title”. So, the permastructure tag doesn’t get resolved.

    Do you have an idea, why this is?

    Thanks and best

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Maciej Bis

    (@mbis)

    Hi @ninablue,

    I apologize for the inconvenience. Generally speaking, the permastructure tags are resolved only for default permalinks that could be edited via “Tools -> Permalink Mangaer -> Permastructure” settings panel.

    Therefore, even if you decide to use a raw permastructure tag (eg. %magazin_slug%) in URI Editor for an individual post, Permalink Manager will not be able to recognize it.

    If you would like to automatically use the custom post type slug, please simply use ‘%post_type%‘ tag in Permastructure settings.

    Best regards,
    Maciej

    Thread Starter ninablue

    (@ninablue)

    Hi @mbis ,

    thanks for your reply. I use the Custom Post Type Permalinks plugin of Toro_Unit. By using this plugin the magazin slug is being included in the allowed permastructure tags of your plugin, although the tags are not working. Perhaps, you can have a look at it.

    Apart from that, I will try out %post_type% tag. Thanks for the hint.

    Best regards
    Nina

    Thread Starter ninablue

    (@ninablue)

    Hi @mbis,
    also the posttype tag %post_type% is not being resolved correctly and ends up like this in the URL: /%25post_type%25/globetrotter-magazin-19-herbst-20/
    Do you have an idea why this could happen?
    Thanks for your support and best

    Plugin Author Maciej Bis

    (@mbis)

    Hi again @ninablue,

    I think I know what is the problem. I will try to explain it again with additional screenshots.

    The permastructure tags will work only in the permastructure settings. The permastructure settings (with tags) are used for default permalinks:

    It is not possible to use the permastructure tags if you would like to manually adjust individual permalink (via URI Editor). That is the reason why they are ignored in the URI editor.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Forum Moderator & Support Team Rep

    @mbis I’ve deleted your offer to login to your user’s site. I’m am 100% sure you mean well but please never ask for credentials on these forums.

    https://wordpress.org/support/guidelines/#the-bad-stuff

    Now for the why: The internet is a wonderful place full of very nice people and a few very bad ones. I’m sure everyone here is very nice however, by giving some ones keys to your house you are trusting they wont steal anything. Likewise the person who takes the keys is now responsible for the house FOREVER.

    If something was to go wrong, then you the author may well legally become liable for damages, which they would not normally have been as their software is provided without warranty.

    Please be aware that repeatedly asking for credentials will result in us escalating this to the plugins team.

    It’s never necessary to do that. Here’s why.

    There are many ways to get information you need and accessing the user’s site is not one of them. That’s going too far.

    You get the idea.

    Volunteer support is not easy. But these forums need to a safe place for all users, experienced or new. Accessing their system that way is a short cut that will get you into real trouble in these forums.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Permastructure tags are not being resolved correctly in URI editor anymore’ is closed to new replies.