tags:

views:

22

answers:

0

In rails I can have pretty urls like

http://mydomain.com/posts/2234-the-title-of-the-post

where Rails only cares for the numeric id, 2234 in the example above.

For example,

...posts/2234-the-post and .../posts/2234-whatever

get the same page.

How can I achieve the same in Wordpress? This is:

  1. Each post has a unique numeric id

  2. Wordpress only cares for the numeric id and not the non-numeric part.

I am very new in Wordpress. Any help will be useful. Thanks.