I put a personalized taxonomy with a plugin in the permalink of Wordpress. This taxonomy is hierarchical. The child has two levels above him. I just want to leave my son. Example: Africa/Algeria/Algeri I just want: Algeri
My current URL is as follows: www.example.com/guide/africa/algeria/algeri/nome/ID
I want it to be like this: www.example.com/guide/algeri/nome/ID that is, you just leave your son
The URL (www.example.com/guide/algeri/nome/ID) is working but is not changed in the back office and Wordpress front office despite being "False" in the Rewrite of the Taxonomy (use CPT UI plugin). I always see the original URL.
In the Wordpress permalink I wrote: guide/%taxonomy%/%postname%/%post_id%
How can I fix it?