News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Moving an existing forum to a new path

Started by marcomilano, January 11, 2022, 03:33:27 PM

Previous topic - Next topic

marcomilano

I have the need to move an existing and working SMF to a new path on the same server (it's a virtual host).
The firse release was on /var/www/forum while the new one have to move to /var/www/new-forum.
Of course i want to use the same DB so my idea was to simply copy the /forum/* -R to new-forum/.
Will this work or the tables in the DB contain the path where the SMF has been installed? Or how can i move the whole SMF without losing any info/data? Is it possible?
Thanks

shadav

after moving all of the files to the new location
run the repair settings tool and make sure all paths/urls/etc match the new location(s)
you may need to run it twice

marcomilano

Quote from: shadav on January 11, 2022, 04:13:04 PMafter moving all of the files to the new location
run the repair settings tool and make sure all paths/urls/etc match the new location(s)
you may need to run it twice

thanks a lot, worked perfectly

Steve

DO NOT pm me for support!

Advertisement: