How can I make every url unique?

  • Unknown's avatar

    For example if there is 2 article with same title example.com/test and for second wordpress will automatically put -2 at the end example.com/test-2 How can I make it stop doing this?

    Is it possible to post id like this example.com/123/test and so the next article with same title will be example.com/124/test? only the number changes but the title stays the same

    I hope I am explaining it properly.

    Thanks

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi soccerfullmatch,

    for second wordpress will automatically put -2 at the end example.com/test-2 How can I make it stop doing this?

    Titles are used to create the slug for each post or page and if there are two with the same name, a “2” is automatically added to the end. While it’s not possible to change this behaviour, it is possible to change the slug with these steps:

    1. Go to the post editor
    2. Click the link icon to the left of the post title
    3. Remove the 2 and change the slug

    There should also be an option to change it from the More Options section to the right of the editor.

    Hopefully that will do what you are looking for.

  • The topic ‘How can I make every url unique?’ is closed to new replies.