How do I replace my old website with new Concrete5 website?
Permalink
I am having problems changing my website from the exisiting one built using HostGator's SiteBuilder (which didn't work very well) to one made with Concrete5, which is way better, except... I can't figure out how to get it to publish tohttp://www.mydomain.com and notwww.www.mydomain.com/concrete5.... I used HostGators auto-installer, and all the files were placed in a subdirectory under the root folder called Concrete5. I found others with this problem on the forum, and I tried to move all the folders out of the Concrete5 folder into the root folder and then rewrite the config/site.php by deleting the [define('DIR_REL', '/concrete5');] line, as per instructions. The old website still showed up, so I deleted it (yes I backed up first). But now I'm getting HostGator's standard page saying there is no website. When I try to access my C5 page usingwww.www.domainname.com/concrete5... it doesn't work, of course, unless I move all the folders back into the concrete5 subdirectory and revert to the old site.php file.
I did disable pretty urls and disable caching before I did all this. Also, I saw something about the MySql database. In site.php it says [define('DB_SERVER', 'localhost');] and then lists the database name and password. One discussion suggested it should say 'mysql.mydomain.com'. That didn't seem to work, though I may have done it wrong.
Any ideas what is going wrong?? Please be very detailed in instructions because I really have no idea what I'm doing.
I did disable pretty urls and disable caching before I did all this. Also, I saw something about the MySql database. In site.php it says [define('DB_SERVER', 'localhost');] and then lists the database name and password. One discussion suggested it should say 'mysql.mydomain.com'. That didn't seem to work, though I may have done it wrong.
Any ideas what is going wrong?? Please be very detailed in instructions because I really have no idea what I'm doing.

If you are seeing the default hosting page for hostgator then it means that the concrete5 files are not present in the root dir. Would be better if you provide a screen shot of the file manager in the cpanel, would be much easier to help you.
Thanks for the quick response! You were partly right, I went back to the file manager and realized while I had transfered all of the folders, there were a few loose files left in the Concrete5 subdirectory. So I moved those into the root directory, but it still doesn't work. What part of the File Manager would be helpful to see?
The 3 files that seem to be important:
index.php is in root directory
dispatcher.php is in root/concrete
site.php is in root/config
The 3 files that seem to be important:
index.php is in root directory
dispatcher.php is in root/concrete
site.php is in root/config
I am attaching a screen shot to show you the director structure that a concrete5 site has to have,please compare this with yours also notice the dir permissions in the image.
IT WORKS!!!
I just tried deleting the [define('DIR_REL', '/concrete5');] line altogether from the site.php and ta-da, my site appeared! I'd tried that before but since all the files weren't moved it didn't work.
THANK YOU!!
I just tried deleting the [define('DIR_REL', '/concrete5');] line altogether from the site.php and ta-da, my site appeared! I'd tried that before but since all the files weren't moved it didn't work.
THANK YOU!!