SMF Support > Install and Upgrade Help
How to move SMF to another installation directory?
Antignor:
Hi,
I am very much a noob and I have a forum installed on hxxp:www.mydomain.com/messageboard [nonactive] but I want to move it to hxxp:www.mydomain.com/forum [nonactive].
I found the Repair Settings tool http://wiki.simplemachines.org/smf/Repair_settings.php, but when I look inside the script it looks like it's for SMF 1.1 while I have 2.x (the latest version) installed. Will this tool still work? How do I go about if it does, and how if it doesn't?
Do I just have to rename the message board directory from 'messageboard' into 'forum', run the script from inside the 'forum' directory and fill in the right directory-name or something like that?
And if the script is not for the latest version, is there a manual/tutorial somewhere that describes how and what to change? I've been looking around, but I haven't been able to find something like that.
Thanks
Illori:
that version of repair_settings.php does work with 2.0 as well as 1.1.1*.
just renaming your forum folder and running the script and following its options should do the trick, but you may also want to create a redirect from the old folder to the new.
Antignor:
That was really easy. I changed the directory name, ran the script from the new dir and all new/changed paths were already suggested. I just had to click them to replace the old ones. Marvelous! I was afraid of all kinds of technical stuff, but there were none to find :-)
Thanks!
Sybille Yates:
Ok, instead of opening a new thread I thought I would ask my question here:
I need to move my forum from one domain to another, but on the same hosting account.
Having read several threads about this I think I figured out the theory, but in case I got something wrong can somebody please have a look at the steps I plan to take and tell me if I got it right? Thanks!
Copy all forum files and folders from olddomain.com/forum to newdomain.com/forum
Upload http://wiki.simplemachines.org/smf/Repair_settings.php to newdomain.com/forum and run it.
Check that all is working well.
Delete forum files and folders on olddomain.com/forum
Redirect olddomain.com/forum to newdomain.com/forum
Did I get it right? Thanks!
chiragaegis:
I recommend Ben's method, it is by far the easiest. When you move SMF from one directory to the other, the only issue is when it makes references to directories and files that no longer exist, such as looking in the wrong place for the PHP include files, themes, etc.......
Navigation
[0] Message Index
[#] Next page
Go to full version