How can I add a related pagename inside the post permalink structure?

I have a “London” Page and “Paris” Page
My actual link structure is: example.com/%postname%

And I would like to have depending on post: Example.com/pagename/%postname%

For example, a Post related to the London page, I would like this post look like example.com/londonpage/postname

Read more here: How can I add a related pagename inside the post permalink structure?

Leave a Reply

Your email address will not be published. Required fields are marked *