WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In order to refrain from possible duplicate URLs or conflicting URLs, I really want to use "postname" for a clean URL structure, EXCEPT for the blog ... for the blog and it's posts, I always want /blog/ to be apart of the URL. This makes total sense, and I don't quite understand why it doesn't function like this when you specifically select a Page to represent the blog.


share|improve this question
what establishes a post as being part of the blog versus a post that isn't? – Milo Jun 22 '12 at 16:41
well, 1) it's a post and 2) the fact that I have to select a specific page to represent the blog and it's posts should be reason enough to use that pages permalink for all blog posts... – dcolumbus Jun 22 '12 at 16:44
... That's the way WordPress is supposed to work if you use a specific page for the Blog and set up a different page as your Front Page. Is this how you have it set up? What permalink structure are you using? – EAMann Jun 22 '12 at 16:50
Huh? I don't see the point of telling WP that the "blog" is on a certain page, yet the blog posts don't pull in the permalink from that page? – dcolumbus Jun 22 '12 at 16:54
that's just the way it works. you can achieve what you're after via the permalink settings. – Milo Jun 22 '12 at 17:07

if your posts page is /blog/, then set your post permalinks to /blog/%postname%/

share|improve this answer
Yes, but this would make the entire site display /blog/, no? – dcolumbus Jul 2 '12 at 17:01
no, just posts. pages don't use posts permalink structure. – Milo Jul 2 '12 at 17:11
Is there a way to target JUST the generic "post" type? I mean, what about custom post types? I don't want a custom post type to display with a permalink of "/blog/" – dcolumbus Aug 1 '12 at 18:34
when you register post types, you have the option to set the 'with_front' argument of rewrite to false. – Milo Aug 1 '12 at 19:30
up vote 0 down vote accepted

I've come to accept that this is just a limit of WordPress.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.