Hi there!
I've done my first CMSMS. It's here:
http://test.ligevaerd.dk/
But naturally I want it here: (in root - where the old site now is)
http://www.ligevaerd.dk/
How do I move the whole thing without loosing data?
Can I just fiddle with config.php thus removing "test" from the many lines where it's written? Or should I do more?
Thanks in advance..
Move site to root directory
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Move site to root directory
I would move all of the files (make sure that your permissions are correct after the move)
then edit the config.php and change the root_url and root_path variables and whatever else points to the old location
and that should be it. unless you've got hard links in your pages of course.
then edit the config.php and change the root_url and root_path variables and whatever else points to the old location
and that should be it. unless you've got hard links in your pages of course.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
-
lasse
Re: Move site to root directory
And that's the "official" (read: most common) way to do it?
If so - I'll have a go..
If so - I'll have a go..
-
lasse
Re: Move site to root directory
The site is now gone.
I moved the folders and files to root - and changed all the settings in config.php so that the test-directory is not featured.
When I go to root - nothing happens.
Anyone?
I moved the folders and files to root - and changed all the settings in config.php so that the test-directory is not featured.
When I go to root - nothing happens.
Anyone?
-
lasse
Re: Move site to root directory
The site is now alive and well at root.
The solution: My PHPadmin and admin folder for the CMS were the same - thus making trouble. I moved the CMS admin to another folder and changed the name in config.php..
Yeah..
The solution: My PHPadmin and admin folder for the CMS were the same - thus making trouble. I moved the CMS admin to another folder and changed the name in config.php..
Yeah..
