Title: Include /parent/in/permalinks
Last modified: January 19, 2017

---

# Include /parent/in/permalinks

 *  Resolved [Dawid](https://wordpress.org/support/users/davidcie/)
 * (@davidcie)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/include-parentinpermalinks/)
 * By default WordPress takes page parents into account when constructing permalinks.
   So if you have a page titled _Case Study One_ nested under _Case Studies_ nested
   under _EN_, you’d have a permalink `/en/case-studies/case-study-one/`.
 * I’ve been trying to reproduce that with Permalinks Customizer but have so far
   been unable to. First I tried to leave the box for pages empty as according to
   documentation this should use WordPress defaults. However, I once I edit (and
   publish) an existing page, its permalink gets shortened to ‘/case-study-one’.
 * I then tried to specify `%postname%/` in permalink settings but this made no 
   difference, page permalinks still get flattened upon publish.
 * How can I accomplish the `/en/case-studies/case-study-one/` aka WordPress default
   permalink structure?
    -  This topic was modified 9 years, 4 months ago by [Dawid](https://wordpress.org/support/users/davidcie/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Sami Ahmed Siddiqui](https://wordpress.org/support/users/sasiddiqui/)
 * (@sasiddiqui)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/include-parentinpermalinks/#post-8685189)
 * Hi [@davidcie](https://wordpress.org/support/users/davidcie/),
 * If you want the Parent Slugs so, you can use any of the below 2 Structure Tags.
    1. > %parent_postname%
    2.  : If you want only the immediate Parent slug with current Post slug so, you
       can use this tag.
    3. > %all_parents_postname%
    4.  : If you want all the parent slugs with current post slug as WordPress do so,
       you can use this Tag.
 * These Tags have been added in the latest version of plugin `0.3.7`.
 * I hope, this would done your job.
 * Let me know if you want to know anything else.
 * Thanks,
    Sami
 *  Thread Starter [Dawid](https://wordpress.org/support/users/davidcie/)
 * (@davidcie)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/include-parentinpermalinks/#post-8691901)
 * Works a treat! Thank you, this brings us back in line with WP defaults.
 * Thanks again,
    Dawid

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Include /parent/in/permalinks’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/permalinks-customizer_fff1d5.svg)
 * [Permalinks Customizer](https://wordpress.org/plugins/permalinks-customizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/permalinks-customizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/permalinks-customizer/)
 * [Active Topics](https://wordpress.org/support/plugin/permalinks-customizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/permalinks-customizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/permalinks-customizer/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Dawid](https://wordpress.org/support/users/davidcie/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/include-parentinpermalinks/#post-8691901)
 * Status: resolved