Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WordPress 3.5.1 missing parent in permalink for child page

My site is currently running WordPress 3.5.1

I have created a page (not post) called "Child" with a parent page called "Parent". The child page does not appear to be inheriting the parent page within the permalink structure.

The parent permalink is http://site.com/parent/ and the child page is showing as http://site.com/child/

What I want to happen is for the child page permalink to be http://site.com/parent/child/

I haven't made any changes to the basic structure of the site. It is running the standard "Twenty Twelve" theme.

Any help will be greatly appreciated.

like image 584
andrewjackson123 Avatar asked Dec 05 '25 15:12

andrewjackson123


1 Answers

While creating a page you need to select parent page from page attributes column in the right hand side

Under Settings-> Permalink tab

create custom structure like - /%postname%/

FYI - Tested at my end and URL created like - http://localhost/wordpress/sample-page/page-2/

like image 74
swapnesh Avatar answered Dec 07 '25 17:12

swapnesh