Custom permalinks
-
Hi!
I have a question about permalinks that has me crazy because I have not found a solution for a long time 🙁 So I turn to the wisdom of the hive mind to see if it sheds some light on me.
I have my WordPress permalinks activated in /%postname%/
And then I have pages with the following hierarchy:
`
– Page 1
— Page 2
— Page 3
`Those pages load dynamic content thanks to an id that passes through the url, but I would like the url to be friendly from the dynamic title field.
I explain:
Page 1 is loaded with the correct url that looks like this:
https://www.example.com/page-1/Once there, to Page 2 I pass an id whose url looks like this:
https://www.example.com/page-1/page-2/?id=6But, what I really want is for the url to be like this:
https://www.example.com/page-1/get-name-dynamically/And the same with Page 3, which now looks like this:
https://www.example.com/page-1/page-2/page-3/?id=8But I would like it to look like this:
https://www.example.com/page-1/get-name-dynamically-cooking/other-dynamic-name/I don’t know how to pass the dynamic slugs 🙁
Can somebody help me?
Thank you very much!
-
Hi there!
What’s the address of the site you’re working on?
Please note that these forums are for WordPress.com-hosted sites only. If your site is using the open-source WordPress.org software, we won’t be able to help you out, and you’ll want to seek help at these forums:
-
- The topic ‘Custom permalinks’ is closed to new replies.