I want to transfer my forum from /forum to the root directory.
How can I do this?
I want to transfer my forum from /forum to the root directory.
How can I do this?
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)
Oh its really that easy?
Yes, it is really easy.
Also, don't forget to make sure all your themes/smilies/attachments are pointing to the correct path afterwards
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.
Also you might need to make some new Usernames in MYSQL.
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.
And Avatars :P
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
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 ;)
Duplicate post... (http://www.simplemachines.org/community/index.php?topic=302687.0)
Topics merged.