• The following URL works as a monthly archive for a particular category:
    https://example.com/category/category-name/?year=2007&monthnum=10

    Can I change that to the following:
    https://example.com/category/category-name/2007/10

    ?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    I don’t know if you’re still following this thread, but I’d be really interested in how you go the first URL to work and if you have found a solution for your problem, how to convert it into a nice url.

    Thanks,
    —trice

    “Settings”, “permalinks”.

    Thanks for the reply. I’m aware of this feature of course and I’m using it actually like this:
    Custom structure: -> /%category%/%postname%.html
    The problem is, that I’d like to use a different structure for my archive views, but WP doesn’t allow me to specify more than one structure, right?
    I’d like to use
    /archives/%category%/%year%/%month%/
    for my archives but only for my archives.

    Any ideas on that?
    Thanks again,
    —trice

    I have post-id/postname and my archives come out the way you want, but then again, I don’t think you can use different permalinks for posts and archives no.

    Actually it was a misconception on my side, that caused my problem.
    I wasn’t aware that the url doesn’t always have to contain all parts of the permalink structure.
    I’m using
    /%category%/%year%/%monthnum%/%postname%.html now and it works like a charme for
    /category/2008
    as well as for /category/2008/04/post.html

    Sorry, my (pretty stupid) mistake.
    —trice

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Monthly Archive Category URL’ is closed to new replies.