• I want to use WordPress to create static pages in the root of my website and dynamic posts in a subdirectory /blog:

    Here ‘query‘ can be any of the following:

    1. single post
    2. archive for year, month or day
    3. category
    4. tag
    5. author
    6. search

    The key point is that I want ‘/blog’ to be the base for any URL that returns posts in my blog.

    With the ‘Settings > Reading’ subpanel, I can specify a static page as my home page and ‘/blog’ as the link to recent posts. And with the ‘Settings > Permalinks’ subpanel, I can set the URLs for category and tag links to have the base ‘/blog/category’ and ‘/blog/tag’, respectively.

    But URLs for single posts, archives, authors, and searches lack the ‘blog’ base.

    Is there a good way to make URLs for posts (i.e., my blog) but not static pages appear to be in a subdirectory named ‘/blog’?

  • The topic ‘Changing base of all types of links to posts (but not pages)?’ is closed to new replies.