Which permalinks structure is this?

Discussion in 'WordPress' started by psharma, Nov 21, 2011.

  1. #1
    how do I achieve this date based archives permalinks structure?

    domain.com/archive-2011-10.html

    Any plugin or .htaccess edit can do this?

    thank you in advance.
     
    psharma, Nov 21, 2011 IP
  2. atnews

    atnews Peon

    Messages:
    277
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    it is custom permalink structure. just login admin panel..click setting and then click permalinks. There will be option of "Custom Structure". click its radio button and then paste the following line. "/%postname%-%year%-%monthnum%.html"
     
    atnews, Nov 22, 2011 IP
  3. psharma

    psharma Prominent Member

    Messages:
    1,955
    Likes Received:
    85
    Best Answers:
    4
    Trophy Points:
    345
    #3
    No, because this is not permalink of a post. It is permalink of the date archive.
    Permalink of posts are something like:

    688335-this-is-the-title.html
     
    psharma, Nov 22, 2011 IP
  4. teamnirvana

    teamnirvana Active Member

    Messages:
    844
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    60
    #4
    Try this structure in the permalink settings

    /archive-%year%-%month%.html

    But, this produces same post names again and again with a number attached.

    So, the 10 in your example stated above, might be the postid, but not the month.

    Just my 2 cents.
     
    teamnirvana, Nov 22, 2011 IP
  5. psharma

    psharma Prominent Member

    Messages:
    1,955
    Likes Received:
    85
    Best Answers:
    4
    Trophy Points:
    345
    #5
    you didn't read it properly. It is permalink of the date archives and not the post.
    thanks anyways
     
    psharma, Nov 22, 2011 IP