Difference between revisions of "Hosting - How do I move my SMF forum to a different host"

From Online Manual

Jump to: navigation, search
Line 3: Line 3:
 
*'''Step 1''' - Move the files of the forum. Usually, the best way to do this will be to download the files to your computer and then upload them again on the new host. Some hosts have a "transfer service" which will log into your old host via [[FTP_-_How_do_I_use_FTP|FTP]], grab all the files, and copy them to your new host. If your host has this feature, it is up to you to make certain that all of the files were successfully transferred.
 
*'''Step 1''' - Move the files of the forum. Usually, the best way to do this will be to download the files to your computer and then upload them again on the new host. Some hosts have a "transfer service" which will log into your old host via [[FTP_-_How_do_I_use_FTP|FTP]], grab all the files, and copy them to your new host. If your host has this feature, it is up to you to make certain that all of the files were successfully transferred.
  
*'''Step 2''' - Move your forum's database data from the old host to the new host. Use the following FAQs for moving your database structure and data: [[Backup]] and [[How do I restore the database data]]?
+
*'''Step 2''' - Move your forum's database from the old host to the new host. Taking a [[Backup|backup]] will let you transfer to the files and database to the new host. After you have the backup then you can [[Backup#Restoring_your_database|restore your database]] and [[Backup#Restoring_your_forum_files|files]] on your new host.
  
*'''Step 3''' - If the database location, URL or server path settings have changed (likely so), you will have to change the forum settings to point to the new database, new URL and new server paths. The [[repair_settings.php]] tool can do most of the work for you automatically, although, you may need to manually update the paths for some of your custom themes and/or [[Modification|mods]]. To change theme settings, go to your ''Admin panel > Themes and Layout > Theme Settings'' and, right at the bottom of the page, click ''Attempt to reset all themes''. If you have any mods which include paths or URLs in their settings, you will need to go to the settings page for each mod and update the values there.
+
*'''Step 3''' - If the database server or connection details, URL or file paths have changed, you will have to change the forum settings to point to the new database, new URL and new file paths. The [[repair_settings.php]] tool will do most of the work for you automatically. If you have any mods which include paths or URLs in their settings, you will need to go to the settings page for each mod and update the values there.
  
 
<noinclude>[[Category:FAQ]]</noinclude>
 
<noinclude>[[Category:FAQ]]</noinclude>

Revision as of 09:52, 16 August 2015

The move consists of 3 steps:

  • Step 1 - Move the files of the forum. Usually, the best way to do this will be to download the files to your computer and then upload them again on the new host. Some hosts have a "transfer service" which will log into your old host via FTP, grab all the files, and copy them to your new host. If your host has this feature, it is up to you to make certain that all of the files were successfully transferred.
  • Step 2 - Move your forum's database from the old host to the new host. Taking a backup will let you transfer to the files and database to the new host. After you have the backup then you can restore your database and files on your new host.
  • Step 3 - If the database server or connection details, URL or file paths have changed, you will have to change the forum settings to point to the new database, new URL and new file paths. The repair_settings.php tool will do most of the work for you automatically. If you have any mods which include paths or URLs in their settings, you will need to go to the settings page for each mod and update the values there.