Move wiki to subfolder

Marcus Buss <[email protected]>
Newsgroups gmane.org.wikimedia.mediawiki
Message-ID <[email protected]>
Hello!
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/wiki
/pages/mainsite (is entry point for 'domain.de')
 
Should be changed to
/pages/mainsite/wiki
 
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 <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,
Marcus

_______________________________________________
MediaWiki-l mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.