Flexible URL links based on post id (1 post)

  1. RyanKent
    Posted 5 years ago #

    I recently installed WP and have setup my Permalink as follows:

    The thought is to include the post id so PHP and the database can sort efficiently, but otherwise offer a clean, friendly URL for SEO.

    Is there a way to set up a site so linking URLs will be keyed solely on the post id?

    For example, if an article's URL is http://www.example.com/1.hello-world/ then that linking URL will take a user to the article. But what I would like is any URL that begins with http://www.example.com/1. to work and take a user to the article. This will allow sites the flexibility to change an article's title without breaking links.

    This process is widely used on forum sites, so I know it is possible. For example: http://xenforo.com/community/threads/development-update-may-2011.16084/ That same thread can be accessed by removing "development-update-may-2011 and just using http://xenforo.com/community/threads/16084/ Furthermore, ANY text can be added as long as the thread id number remains > http://xenforo.com/community/threads/hello-world.16084/

    I would love to use this same concept on a wordpress site. Has this process been worked out yet?

Topic Closed

This topic has been closed to new replies.

About this Topic