• Resolved lomoseb

    (@lomoseb)


    Hi,

    Wondering if your plugin can solve my issue :
    Url of my pages are too long. I want to remove parent slug from child page url and redirect.

    Is it possible ? And wpml compatible ?

    Thank you

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

    (@mbis)

    Hi @lomoseb,

    yes, it is possible and the plugin is compatible with WPML. The old permalinks will be redirected to the new shorter ones (this feature can be also disabled in future).

    You can manually customize each of the permalinks or adjust the permastructures:

    • you will need to select “Pages” in “Disable slug appendix” option in Permalink Manager settings:
      wp-admin/tools.php?page=permalink-manager&section=settings
    • the permastructure field for “Pages” will be empty, but because the slug will no longer be appended and you want to keep it “flat” (use only child slug), please use %postname_flat% and save the permastructures:
      wp-admin/tools.php?page=permalink-manager&section=permastructs
    • after the new permastructure is saved, you will need to apply the new settings to old pages using “Tools -> Regenerate/rest”:

    Best regards,
    Maciej

    Thread Starter lomoseb

    (@lomoseb)

    Hi,

    I finally find time to deal with that.
    I manually update too long permalinks with permalink manager.
    Disable slug for pages, update permastructures for pages with %postname_flat%
    I publish a new page but permalink is now domain/postname-flat …

    I must have missed something…

    Plugin Author Maciej Bis

    (@mbis)

    Hi @lomoseb,

    could you send me the screenshots with your permastructure settings and sample permalinks settings for single page (with Permalink Manger box opened) to contact /at/ maciejbis.net?

    Thread Starter lomoseb

    (@lomoseb)

    My brains have started again. i switch to %postname%. and it’s perfect !

    Paul

    (@pawelszroeder)

    Hi, I don’t see option Disable slug appendix, is it only in pro version?

    Plugin Author Maciej Bis

    (@mbis)

    Hi Pawe?,

    no, it is no longer needed – the slug is automatically appended.

    Best regards,
    Maciej

    Paul

    (@pawelszroeder)

    Hmm but I want to remove parent slug from URL (with my custom post type) – how to do it?

    • This reply was modified 7 years, 3 months ago by Paul.
    Paul

    (@pawelszroeder)

    Ok, I change permastructure for my own post type and added only %postname_flat% in the end, after that I updated all urls. Now it works great!

    i also want to show only sub-category in a custom post type url
    but when using %category% it is also showing parent category which is not required.
    and %postname_flat% is only giving post name

    Sir i am using your plugin, and i have a custom post type named mobiles. and for single page url is below on this setting
    mobiles/%category%/%postname%
    https://www.mobilesjin.com/mobiles/brands/nokia/nokia-7
    where mobiles is custom post type slug
    brands is parent category

    nokia is sub-category
    and nokia-7 is post name
    is want to exlude brands from this url.

    Really thanks for fast and great personal support.
    working perfectly.

    Plugin Author Maciej Bis

    (@mbis)

    You are welcome @ghufransiddiqui2k

    Regards,
    Maciej

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Remove parent in child pages permalink’ is closed to new replies.