Support » Installing WordPress » can i have page permalinks different from post permalinks?

  • i’m using wp as a cms-with-blog, so i’d like to have my pages take the format

    domain.com/page-slug

    while my posts look like this

    domain.com/2009/07/post-slug

    is this possible? i’m sure i’m not the first person to think of this….

Viewing 3 replies - 1 through 3 (of 3 total)
  • Douglas

    (@douglashanna)

    That’s exactly what will happen by default. 🙂

    no it’s not. default is to use ugly numerics for everything, eg:

    domain.com/?p=123

    when i change it to ‘pretty permalinks’, ie, give it a value like

    /%postname%

    it works for pages, but WP still generates posts like this:

    domain.com/2009/7/?p=123

    and then generates broken links to them that look like

    domain.com/page-slug

    (and NOT like the following, which is what i really want….:)

    domain.com/2009/07/page-slug

    in other words, it’s pretty broken right now. i know that if i just want to use simple pretty permalinks on everything, with no date, i could fix it. but again what i really want is:
    a) pretty perms on everything
    b) posts a prepended by date

    anyone?

    correct format
    /%postname%/
    this gives you what you want
    http://codex.wordpress.org/Using_Permalinks#Choosing_your_permalink_structure

    personally, I would delete the wp .htaccess file, then regenerate permalinks with desired structure
    admin – settings – permalinks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘can i have page permalinks different from post permalinks?’ is closed to new replies.