Simple Machines Community Forum

SMF Support => Server Performance and Configuration => Topic started by: cluaudiuzz on October 21, 2012, 06:03:44 AM

Title: technical problem
Post by: cluaudiuzz on October 21, 2012, 06:03:44 AM
I installed the forum on a folder in order to have a link like this www.miosito.com / forum now after a few months I would like to remove the folder from the forum for a link that says only: www.miosito.com.
I'm afraid I have to do this because there are operations of subscribers and there are also incorporated post with attachments. You may succere that the database does not recognize the new links as I moved the files and folders?
Appearance hear from you before you do something ...
claudio
Title: Re: technical problem
Post by: Hj Ahmad Rasyid Hj Ismail on October 21, 2012, 07:12:29 AM
May be you can enter your cPanel and redirect from yoursitename.tld/forum to yoursitename.tld? Then use repair_settings.php (http://wiki.simplemachines.org/smf/Repair_settings.php) to change your forum default to without /forum.
Title: Re: technical problem
Post by: cluaudiuzz on October 21, 2012, 09:37:51 AM
Thanks for the answer
I upload via FTP my forum in a folder called "forum".
To enter in my forum I  click on a link like this: www.mysite.com/ forum.
Now I would see my forum by clicking on a link like this: www.mysite.com.
To do this I need to do:
1) Remove the folder and unpacked the contents directly in the www folder.
2) Go to Cpanell , Domains section, click on Redirects, select www.mysite.com / forum to redirect traffic on www.miosito.com
3) After that I use repair_settings.php?
Is true?
For the images attached to the post. I have to do something in particular?
thank you very much
Title: Re: technical problem
Post by: LiroyvH on October 21, 2012, 09:44:57 AM
You can probably better use FTP to move all the files "Up" one folder. (Eg to parent directory)
Then run repair_settings.php. No particular need for a redirect, but it might be easy for your current users :)

If you are going to upload all SMF files again, make very sure to keep a copy of "Settings.php" :)
Or at least write down the details, then you can indeed put it back in with repair_settings.
Title: Re: technical problem
Post by: cluaudiuzz on October 23, 2012, 05:18:41 AM
Hello to all,
thanks for the replies
I inform you of the progress.
I did copy and paste the contents of the folder "forum" to place it in the root folder "www"
The images and attachments are not seen as well as the database can not connect because the addresses are changed
In the same folder I uploaded the file repair_settings.php. I put in my browser www.mysite.com / repair_settings.php
Now there are various options, what I have to do?
Title: Re: technical problem
Post by: Colin on October 29, 2012, 02:31:13 AM
Input the correct paths, values, and settings for your hosting account.