Hello, dear forum members!
I recently discovered that search engines began to download many such links, i.e. with two extensions *.php and *.png :
Домен/centr.php/hgfj/ghkgh/ghkghk/khgkg/foto1.pngДомен/doc.php/hjf/hkgkg/gkhghk/foto2.pngДомен/karta.php/ljhl/khgkgh/ghkg/adress.png- ...
There are normal direct links:
домен/*.phpдомен/kartinka/foto.png
Moreover, these pages are created from other domains, but from the same ip address, as it’s spinning on one server. It turns out the domain and the final image or document satisfies the requirement, but here the folders are taken from another site домен**/папка/папка/**foto1.png .
If you translate into ip, then the page is well glued together, like:
00.00.00.00/doc.php/gfhfgj/jfgjfg/jfgj/price.xlsx How to forbid links like this: domain / *. Php / /kartinka/foto.png ?
I apologize in advance if the essence of my problem was stated incorrectly.

Домен/centr.php/hgfj/ghkgh/ghkghk/khgkg/foto1.png. And atДомен/hgfj/ghkgh/ghkghk/khgkg/foto1.pngthere is a real map? Or are these parts of the url after.phpgenerated randomly? - Visman