Forums

Custom URL structure (1 post)

  1. heycam
    Member
    Posted 4 years ago #

    Hi everyone.

    I've recently installed WordPress, and don't really know any PHP (although I know Perl and have found that I can stumble along with PHP if I have to).

    I would like my site to have URLs structured as follows:

    • / - index page showing last few posts
    • /blog/ - list of monthly archive links (December 2007, January 2008, February 2008, etc.)
    • /blog/yyyy/ - list of all posts from that year
    • /blog/yyyy/mm/ - list of all posts from that month
    • /blog/yyyy/mm/post-slug - a single post
    • /contact - a contact details page

    I followed the instructions in Creating an Archive Index, by creating a new Page for /blog/ and assigning it the Archives template. However, /blog/ always redirects to /blog, and I want to have the slash on the end. Note however that I do not want the slash on the end of my single post URLs.

    Is there a way I can achieve the above?

    Thanks,

    Cameron

Topic Closed

This topic has been closed to new replies.

About this Topic