Wordpress tagging question

Discussion in 'WordPress' started by Citizen, Oct 25, 2007.

  1. #1
    If I use the format

    domain.com/category/post-title

    What happens if I create two posts with the same title?
     
    Citizen, Oct 25, 2007 IP
  2. zacdavis

    zacdavis Well-Known Member

    Messages:
    653
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    170
    #2
    I'm pretty sure WordPress will throw an exception and tell you that you already have a post named that. But, I'm not 100% sure.
     
    zacdavis, Oct 25, 2007 IP
  3. Fash

    Fash Peon

    Messages:
    37
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    It adds a -2 to the end of the URL.
     
    Fash, Oct 25, 2007 IP
    Analyst likes this.
  4. Analyst

    Analyst Well-Known Member

    Messages:
    623
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    155
    #4
    Rightly said by Fash! WP automatically discriminates the two.
     
    Analyst, Oct 26, 2007 IP
  5. Minterest

    Minterest Well-Known Member

    Messages:
    2,694
    Likes Received:
    39
    Best Answers:
    0
    Trophy Points:
    180
    #5
    NO problem if it have same title... wordpress will change the slug automatically... if u use domain.com/post-name type perma then wordpress will name the 2nd post with a "-2" as the the end of the post's slug...
     
    Minterest, Oct 31, 2007 IP