Title: Page ID in permalink
Last modified: August 20, 2016

---

# Page ID in permalink

 *  [Nikk](https://wordpress.org/support/users/nikk/)
 * (@nikk)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/page-id-in-permalink/)
 * Hi there,
 * My current permalink structure is:
 * `/%postname%/%post_id%/`
 * This works for posts, but I’d like to make it work for pages too. I’m making 
   a website in multiple languages with the Polylang plugin. And with for example
   the contact page, I get now: [http://www.website.com/contact](http://www.website.com/contact),
   [http://www.website.com/en/contact-2](http://www.website.com/en/contact-2)
 * To make better permalinks I thought of putting the page-id in the permalink: 
   so i will get for example: [http://www.website.com/contact/94](http://www.website.com/contact/94),
   [http://www.website.com/en/contact/96](http://www.website.com/en/contact/96)
 * This would be easier to work with in combination with the Polylang plugin.
 * Any ideas how to get the page-id in the page-url? Some modifications of the .
   htaccess file perhaps?

The topic ‘Page ID in permalink’ is closed to new replies.

## Tags

 * [$post->id](https://wordpress.org/support/topic-tag/post-id/)
 * [Page ID](https://wordpress.org/support/topic-tag/page-id/)
 * [permalinks](https://wordpress.org/support/topic-tag/permalinks/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [Nikk](https://wordpress.org/support/users/nikk/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/page-id-in-permalink/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
