Moving Installation Directory...

Permalink
Hi,

I've been building my Concrete5 website in a subdirectory and today I decided to move everything to the root folders. Edited site.php and the website seems to load fine. However i'm getting an error saying

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/user/public_html/config/site.php:1) in /home/user/public_html/concrete/startup/session.php on line 18

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/user/public_html/config/site.php:1) in /home/user/public_html/concrete/startup/session.php on line 18

Can anyone help me please?

Thanks

 
myregistration replied on at Permalink Reply
I changed the directory structure, searched for any reference to the old directory path in files and database, changed the DIR_REL value in config/site.php script, but still getting error message because it's trying to reference scripts in old cms path. I believe it's due to cache but I'm not sure which files and folders are OK to delete. Please advise. Thanks!
mannesto replied on at Permalink Reply
Anyone know how to pull this off successfully? I need to move my site from a subdirectory to the root. Any help would be greatly appreciated
frz replied on at Permalink Reply
frz
move the files, update config/site.php to reflect where they now live.
76West replied on at Permalink Reply
76West
If you have had pretty URLs enabled during testing/development don't forget to turn them off and clear out .htaccess before you start.