• Resolved vinem

    (@vinem)


    Hello,

    Thank you for this great plugin, I was desperately trying to find a solution to override the permalink rewrite rule of a plugin I use and the job is done perfectly.
    There seems to be an issue, though. I found no documentation for your plugin so I don’t know exactly how it works but I looked at the files and my guess is it uses the term name to get the term tree.
    After some tests, it seems like the child term is not displayed in the URL if its first letter comes after the first letter of its parent.
    For example :

    Parent “Shows” / Child “Improv” >> domain.com/shows/improv/postname >> works
    Parent “Shows” / Child “Theatre” >> domain.com/shows/theatre/postname >> doesn’t work, result >> domain.com/shows/postname
    Parent “Shows” / Child “aTheatre” (slug still “theatre” with no “a”) >> domain.com/shows/theatre/postname >> works

    I don’t know if it’s an issue on my side or with your plugin or if I’m supposed to add something somewhere or use a different approach.
    I will add a first letter to my terms for now because I need this part of my website to be done by tomorrow but I’d like your opinion and help on the matter.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Hi @vinem,

    Thank you for your message.

    Have you changed anything in the URL structure? I have a suggestion – deactivate the plugin, uninstall it via the WordPress panel and reinstall it. This will reset your saved URLs.

    Best,
    Mateusz

    Thread Starter vinem

    (@vinem)

    Hi,
    Thank you for your response!

    I tried to deactivate, uninstall and reinstall but the issue remains.
    The only thing I changed in the URL structure is that I set it to custom /%category%/%postname%/ in the WordPress settings so that my default WP posts have the same structure.
    Could it be a conflict with the plugin URL structure I’m trying to override with yours? If it helps, it’s Events Manager and there is a rewrite rule to make the structure static with a default CPT tree /event/postname for posts and /event/category-or-tag for archives but in the settings you can set your own slug to replace the default ‘event’, ‘category’ and ‘tag’.

    Adding a letter to get around it works fine but it becomes a problem when I want to generate an archive page with a title or use the post meta to display its categories because the extra letter is in the name so…

    Any ideas?
    Thank you!

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @vinem I’m sorry, but I can’t reproduce this issue in my own testing environment. Therefore, I am unable to help you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Alphabetical issue with terms hierarchy’ is closed to new replies.