Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I would like to know, using wordpress, how to replace the category name with the article id in the url ? For example, I have a url of this kind :

http://mywebsite.com/css/the-name-of-my-css-article

And I would like to change it into :

http://mywebsite.com/article-id/the-name-of-my-css-article

Is there anybody who know to do it ?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Try turning on Pretty Permalinks and setting it to %post_id%/%postname%.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.