• Resolved Norke

    (@norke)


    Hi chaps,

    I would like to have the following urlformat:
    url.com/slug-ID

    I’m working on a website that will have many similar titles so instead of slug-1, slug-2 and slug-3 I would like to have the POST-ID.

    It should only do that for posts, not pages.
    Can you help me on my way?

    Thx for the help guys ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Norke

    (@norke)

    Hi esmi,

    that was indeed the first thing I tried:

    /%category%/%postname%-%post_id%

    It gave me these results:

    site.com/burp-15 [post-ID = 15]
    site.com/burp-2-16 [post-ID = 16]
    ...
    site.com/burp-5-32 [post-ID = 32]

    Is there a possibility that the number of the page isn’t showing?

    Thanks for keeping me posted ??

    I would like to have the following url format:
    url.com/slug-ID

    Try just using /%post_id%.

    Thread Starter Norke

    (@norke)

    ha, ok ?? thx again!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add post-ID to slug automaticly’ is closed to new replies.