WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] URL for portfolio projects (domain.com/work/work-item) (14 posts)

  1. rosacreative
    Member
    Posted 4 years ago #

    I've set up my portfolio website using page templates to manage the projects.

    Currently my permalinks are set up as domain.com/%postname%. If each portfolio project is a post, how can I get each project to appear as domain.com/work/post-name without altering the permalink structure, since I also have a "Blog" section and I prefer to keep that permalink structure.

    There's probably a simple answer to this and I'm not seeing it! Thanks so much. WordPress noob here.

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    Currently my permalinks are set up as domain.com/%postname%.

    That's a bad choice of custom permalink structure for a page-centric site. See Using_Permalinks

  3. carlla
    Member
    Posted 4 years ago #

    You may use /%category%/%postname% instead and set your post to 'work' category.

    %category%
    A sanitized version of the category name (category slug field on New/Edit Category panel). Nested sub-categories appear as nested directories in the URI. Starting Permalinks with %category% is strongly not recommended for performance reasons.

    But is not good idea.

  4. rosacreative
    Member
    Posted 4 years ago #

    It's not too late to change the permalinks since my site is still local. If that's the only way, then I'm fine with that.

    I initially set up my permalink structure that way because I read somewhere that it's better for SEO and it was what a lot of the very popular blogs were doing.

  5. esmi
    Forum Moderator
    Posted 4 years ago #

    @carlla: No - that's still a bad choice. You ideally need a numeric at the front of the custom permalink structure so that WP can easily distinguish between Pages & Posts.

  6. rosacreative
    Member
    Posted 4 years ago #

    You ideally need a numeric at the front of the custom permalink structure so that WP can easily distinguish between Pages & Posts.

    Can you give me an example esmi?

  7. carlla
    Member
    Posted 4 years ago #

    @esmi: sorry I didn't see the other post after mine, I was looking at codex to search that comment about the bad choice.

  8. esmi
    Forum Moderator
    Posted 4 years ago #

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

  9. rosacreative
    Member
    Posted 4 years ago #

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

    I dont understand how that permalink helps me achieve my goal of domain.com/work/work-item?

  10. esmi
    Forum Moderator
    Posted 4 years ago #

    It doesn't as such. I was pointing out that the permalink structure that you are using will, almost certainly, cause problems on a site with more than a few Pages. So if you intend to create quite a few Pages, I'd suggest changing it asap.

    If you make your work-item Pages children of your work Page, you should get the url structure that you want.

  11. rosacreative
    Member
    Posted 4 years ago #

    If you make your work-item Pages children of your work Page, you should get the url structure that you want.

    Hmmm...but if the work-items are posts, how do I make them children pages?

    so sorry about all the questions. Appreciate your help!

  12. esmi
    Forum Moderator
    Posted 4 years ago #

    If you want a work/work-item url structure, you'll need to create child Pages instead.

  13. rosacreative
    Member
    Posted 4 years ago #

    Oh..I see..a child page for each project item? and will it work the same as a post essentially?

  14. esmi
    Forum Moderator
    Posted 4 years ago #

    It will display in a similar manner. Not sure what you mean by "working the same as a post".

Topic Closed

This topic has been closed to new replies.

About this Topic