Support » Plugin: Permalink Manager Lite » Only Show Last Sub-Category in Permalink

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

    (@mbis)

    Hi Syamsul,

    it is pretty easy, please replace your current permastructure settings with:
    /wisata/%spot_flat%/%destination_flat%/%postname%/

    and regenerate the custom permalinks from “Tools -> Regenerate/reset” page.

    I described it a bit further here:
    https://permalinkmanager.pro/docs/basics/how-to-make-hierarchical-post-types-taxonomies-permalinks-flat/

    Best regards,
    Maciej

    I’m really happy for your answer mate, but somehow it doesn’t solve my problem still…

    I’m using your suggestion to use /wisata/%spot_flat%/%destination_flat%/%wisata%.html to make it show only last sub-category, but for some URL the last sub-category is missing.

    For example, it generated new URL: wisata/masjid-pusdai.html

    It should be: /wisata/masjid/bandung/masjid-pusdai.html (the /masjid [spot] & /bandung [destination] is missing)

    Some URL show [spot] only, and not showing [destination], etc…

    Take a look:
    http://prntscr.com/l9gedd <– the proper taxonomy
    http://prntscr.com/l9gfko <– the URL generated and how the URL supposed to be
    http://prntscr.com/l9ggxj <– the permastructure we need

    I really need help with this, and I’m willing to pay for premium support regarding this. Just wanted to make this right. Please contact me admin@alampintar.org (or I’m contacting you no problem). Thank you so much for your answer!

    EDIT: Oh, and I already regenerate the URL but still wrong permalink like what I just showed you.

    • This reply was modified 1 month, 2 weeks ago by  Syamsul Alam. Reason: i already regenerate the URL

    The plugin author contacted me via email and personally fixed it for me, apparently there is small bug (typo) which caused “taxonomy_flat” didn’t work as it supposed to be.

    But everything is perfect now. Thank you again for your help Maciej!

    • This reply was modified 1 month, 2 weeks ago by  Syamsul Alam.
    Plugin Author Maciej Bis

    (@mbis)

    You are welcome Syamsul 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.