For my permalink structure, I currently have the “Post name” button selected, where URLs are displayed as mysite.com/postname.
The site I am building has parent pages with child pages. I noticed that if I type in a child page’s URL, I am automatically taken to the page, without me having to reference the parent page. (So mysite.com/child will automatically direct me to mysite.com/parent/child). This is good. This is what I want.
I also have a blog section on the site. Right now, all of my post URLs look like mysite.com/postname … which of course is what I am telling it to do with my permalink setting. HOWEVER, for the blog content only, I want “/blog” to precede each post (mysite.com/blog/postname).
I can’t seem to make both of these work. I tried using a custom Permalink setting: /blog//%postname%/ and this worked for my blog content BUT then I discovered that it breaks those direct links for my child pages… I can no longer access mysite.com/child. Doing that gives me a 404 page. Instead I would have to use the full link mysite.com/parent/child.
So. Seems I can only have one or the other, but I need both. I know there has to be a way. Can anybody guide me on how I can achieve this?