Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: randommaker on April 02, 2009, 06:55:04 PM

Title: How can I transfer this way?
Post by: randommaker on April 02, 2009, 06:55:04 PM
I want to transfer my forum from /forum to the root directory.
How can I do this?
Title: Transfer forums from /forum to root directory.
Post by: randommaker on April 02, 2009, 07:53:05 PM
I want to transfer my forum from /forum to the root directory.
How can I do this?
Title: Re: How can I transfer this way?
Post by: shadow82x on April 02, 2009, 08:04:57 PM
In short,
Using FTP just create a new folder called "forum" (in your root FTP directory) and move all your current SMF files to that folder.
Than use a tool like repair_settings.php to correct your forum URL and paths.

Helpful Resources
What is repair_settings.php? (http://www.simplemachines.org/community/index.php?topic=18096.0)
How do I use FTP? / What is FTP? (http://docs.simplemachines.org/index.php?topic=480)
Title: Re: How can I transfer this way?
Post by: randommaker on April 02, 2009, 09:17:00 PM
Oh its really that easy?
Title: Re: How can I transfer this way?
Post by: JBlaze on April 02, 2009, 09:21:12 PM
Yes, it is really easy.

Also, don't forget to make sure all your themes/smilies/attachments are pointing to the correct path afterwards
Title: Re: Transfer forums from /forum to root directory.
Post by: Tiribulus on April 02, 2009, 10:47:04 PM
I moved mine a while back and all I did was copy the files there and make sure the paths/urls are correct. the repair_settings.php (http://www.simplemachines.org/community/index.php?topic=18096.0) deal can be very helpful with that. Everything needs to point to the new location.
Title: Re: Transfer forums from /forum to root directory.
Post by: Yigal on April 02, 2009, 10:48:25 PM
Also you might need to make some new Usernames in MYSQL.
Title: Re: Transfer forums from /forum to root directory.
Post by: JBlaze on April 02, 2009, 10:52:43 PM
Move all forum files to the new directory, then run repair_settings.php

What is repair_settings.php? (http://www.simplemachines.org/community/index.php?topic=18096.0)

Also, make sure that you reset all themes, attachments and smilies to the new path.
Title: Re: Transfer forums from /forum to root directory.
Post by: Yigal on April 02, 2009, 10:55:04 PM
And Avatars :P
Title: Re: Transfer forums from /forum to root directory.
Post by: JBlaze on April 02, 2009, 10:55:55 PM
Quote from: Yigal on April 02, 2009, 10:55:04 PM
And Avatars :P

Only if you have made a separate directory for avatars :P
Title: Re: Transfer forums from /forum to root directory.
Post by: Tyrsson on April 02, 2009, 11:29:51 PM
To redirect a subdomained forum to the root domain name do this:

You don't really have to move it.  You can do this.

If you don't already have a index.php file in your root directory


<?php
header
("Location:http://mysite.com/smf");
?>


Save this as index.php in the root. If course change the url to point to the correct place ;)
Title: Re: Transfer forums from /forum to root directory.
Post by: mashby on April 02, 2009, 11:36:44 PM
Duplicate post... (http://www.simplemachines.org/community/index.php?topic=302687.0)
Title: Re: How can I transfer this way?
Post by: Tyrsson on April 03, 2009, 12:26:01 AM
Topics merged.