Moving to the root directory

Permalink 2 users found helpful
Hi,

I developed a website underwww.www.jkgroupllc.com/concrete5/...
Can it be moved to the roothttp://www.jkgroupllc.com?
If so, how?

Thanks,
John

johnribar
 
glockops replied on at Permalink Reply
glockops
First create a backup of the site and database.
Next move everything out of the /concrete5 folder and into the root folder.
Open up /config/site.php and change the DIR_REL to blank
define('DIR_REL','');



Cross fingers open up your domain.

Keep in mind that if you referenced files in the /concrete5 folder through links / themes / etc they will break - you'll have to update those manually. Anything down within concrete5 or using the "Insert Link to Page" function shouldn't have a problem.

Hope that helps.

*Edit for clarity