Maybe someone has a hint for this problem I have:


I'd like to move an existing wiki to another place in my filestructure.
Used to be:
/pages/mainsite (is entry point for 'domain.de')


Should be changed to


My goal: calling the wiki through 'domain.de/wiki'


Mediawiki Version is 1.31.5.
I copied files and directories to the subdirectory. Copied Database Tables to a new Database. Changed the IP path and database variables in localsettings.
I executed update.php on the new copy.


Now when I use the new url path 'domain.de/wiki' the browser will change the url to http://www.domain.de/index.php?title=Hauptseite  (removing the subfolder 'wiki' from the path),
and show an error message: "The requested URL was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."


I then created a new subdomain 'wikinew.domain.de' aiming at the path 'domain.de/wiki'
Now when using this subdomain, the copied wiki opens without error, everything looks fine, login works, page editing works, images are correctly displayed.


Maybe someone can explain the behavior when calling domain.de/wiki?
Did I forget some kind of configuration?


Thanks for your help,