The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Page ID in permalink (1 post)

  1. Nikk
    Posted 3 years ago #

    Hi there,

    My current permalink structure is:


    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/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/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?

Topic Closed

This topic has been closed to new replies.

About this Topic