Right now I have pages like "about", "resources", etc and the urls are /about and /resources with a custom permalink structure as /%postname%. For "news" section it's the posts and it's at /news and that's great. The problem is I want the new stories to be /news/the-name-of-the-story not /the-name-of-the-story. Can that be accomplished in the wp admin area? Or is that a custom .htaccess trick? Also, news is in categories and /category/category-name lists the posts in that category and the story for those should be at /category/category-name/the-name-of-the-story. Is this even possible?

1 Answer 1


The custom permalink field on the settings->permalink screen only applies to Posts. Not to Pages.

WordPress Pages always live at the "top" of the URL tree. /about /whatever /etc. Posts live wherever the custom permalink string defines them to be.

So, in your case, your permalinks custom structure would be "/news/%postname%/" and would not affect your Pages permalinks of "/about" and "/resources".

For instance, to put all Posts under the sub-directory "/blog", your permalinks custom structure would be "/blog/%postname%/".

  • Turns out MAJOR modifications were made to posts.php and index.php and that's why none of the changes I tried were working. This reaffirms how it's supposed to work!
    – tooshel
    Commented Jul 15, 2011 at 14:40
  • I created a new site using DesktopServer, created a page and checked. It wasn't using /about, but rather /?id=2143. If I changed the permalink setting to Post Name, then it was /about. The structure affects both, it is just that pages have no category and hence this part isn't included
    – Casebash
    Commented Aug 28, 2012 at 2:57
  • A non-default case turns on "pretty" permalinks, true, but it doesn't change the way the links work for anything but Posts. Pages always live at the top hierarchy.
    – Otto
    Commented Aug 28, 2012 at 15:47
  • Is it possible to have a different structure for pages? I really need that too.. I asked a question here: stackoverflow.com/questions/27432586/wordpress-page-link-filter/… but I got a couple of wrong answers..
    – Rounds
    Commented Dec 12, 2014 at 7:43
  • You would need to modify the rewrite rules to account for your modified structure and redirect them to the pages. How complex this would be would depend on what you want your new rule to be and how it needs to fit into the existing structure.
    – Otto
    Commented Dec 12, 2014 at 22:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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