Well, I'm not finding any "setting", nor do I see anything unusual in the options-permalink.php or config.php. What should I be looking for, and if I do find something, how will the situation correct the links?
Sorry for hijacking / reviving this thread, but I ran into the very same problem and would like to know if there was a solution for this? In my case an "elementor-5" is added to the permalinks, although the wordpress permalink settings should be using the page title only. And when editing a page in wordpress (see attached screenshot),I can only change the last part of the permalink url, but the /elementor-5/ cannot be changed. There is no directory called elementor-5. Anybody experiences similar issues and found a solution?