WordPress.org

Ready to get started?Download WordPress

Forums

Page having a different URL than posts (7 posts)

  1. patrickw
    Member
    Posted 8 years ago #

    Is it possible to have the pages have a different URL than the posts? I want to have my pages structured like this:

    /%pagetitle%/

    when my posts are structured like this:

    /archives/%year%/%monthnum%/%day%/%postname%/

    Any ideas?

  2. Kafkaesqui

    Posted 8 years ago #

    Currently there's no way to provide a different permalink structure for Pages. But that aside, don't they already work the way you're trying to set them up? All my Pages (parent Pages, at least) are set up as virtual directories directly off of my blog's.

  3. patrickw
    Member
    Posted 8 years ago #

    Yeah, they work as they are. I just wanted the posts to appear under the archives section. Maybe there is a way to modify the code of wp to do this. I'll check into it.

    To the devs of the main wordpress: this is a feature that is worth looking into. I think so at least.

  4. amory
    Member
    Posted 8 years ago #

    Depending on how many pages you add and how often...couldn't you simply edit the htaccess file manually?

  5. mattfast1
    Member
    Posted 8 years ago #

    Over at my blog (http://blog.mattfast1.com), I have my pages set up to appear as virtual directories and my archives under the /archives/ virtual. If you just set up your permalink structure like so, it should work for you (I"m running 1.5.1.3):

    /archives/%year%/%monthnum%/%day%/%postname%/

  6. patrickw
    Member
    Posted 8 years ago #

    Wow, thanks matt. I dont know how I missed that one? But that is exactly what I wanted. Thank you.

  7. mattfast1
    Member
    Posted 8 years ago #

    Hey, no problem! I had to spend some time to figure that one out, and I'm always happy to help with something another person in the community is having problems with when I've already had the same problem and fixed it.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.