Two links to one page and If the page is deleted I am unable to delete the links from child page list

Hello,
This case is very specific, so it might be hard to understand, because it is little bit messy. Actually we have found reason and possible solution for this, but we need to do proper testing of the solution. The solution to my case might be (idk yet) provided here: Issue with reverse-proxy - #12 by pdwalker.

The particular situation - description:
I have parent page, which contains pages. One of the child pages was duplicated, especially there was duplicated a link to them, not themselves as pages. And I can’t now delete the link, because of duplication and reverse re-loading → re-creating the page implicitely by system.

The reason of this situation
We have accidentally set wrongly the domain accessing the xwiki system (my guess). And content creators used this semicolon sign “;” together with layer naming system like: Parent topic ; Concrete stuff ; More concrete stuff. Which together with wrongly set domain and accesing using that domain like: secondaryname.mainnamofdmain.com caused problem of naming, creating and maintaing these pags. The pages were duplicated because of semicolon in URL by title of page (not escaping the “;”) from URL. While I accessed, created, imported or edited these page with this naming by IP (12.34.56.78:8080/xwiki/wiki/subxwikiname) not this domain like above everything was okay. I have done proper testing of this issue if interested.

Thank you,
SVRL