Moving c5 from sub domain to root domain

Permalink
I'm about to launch a new site. At the moment the site is in a sub directory domain.com/c5. On the moving a site instructions in Documentation step 5 states: Move your c5 directory to where you want it to go, (the place where the index.php is)

This suggests that you literally drag all of your c5 files on your ftp client from the /c5 folder and dump them in root. Is this correct? If so I can't even see how I would do that using Fetch on the Mac.

Or can I miss all of that out and just change the htaccess file as explained here –http://www.concrete5.org/community/forums/installation/installing-i...

Any ideas very much appreciated.

 
Mnkras replied on at Permalink Reply
Mnkras
I do not recommend the .htaccess hack, and yes it literally does mean move the files
JohntheFish replied on at Permalink Reply
JohntheFish
I have found changing the domain mapping to point to the server space subdirectory that is the root directory for the c5 site to work well.

By working in a subdirectory of the web server, this also allows further upgrades to be developed in parallel and the trick repeated.
harpboy929 replied on at Permalink Reply
John - that's my config exactly. I have two Aname records that point to a live and test C5 sites, both subdomains ( folders ) off my hosted web root. Everything was working a charm until I put my SSL in... Now I'm getting Apache "too many redirects" if I change config/site.php to reflect the SSL addition (BASE_URL =http://etc)... any pointers?
mesuva replied on at Permalink Best Answer Reply
mesuva
I've found that moving files with FTP can sometimes be a little slow.

If your host has cPanel, the file manager in that can be used to move the files.
You can select/highlight them all and select the move button. Then you enter/edit the path to where you want to move everything and do the move. You can drag and drop as well, but I don't feel as confident in this.

I did this the other day and it took 1 or 2 seconds to do the move and there were no problems. The difference is that ftp has to find all the files and then issue the move command for each. With Cpanel, it's the same as if you are logged directly into the server and do the move.

Make sure you backup first and remember that there is a hidden .htaccess file to move as well (not shown by default in cPanel's file manager)
You'll also need to edit your /config/site.php file to remove the DIR_REL folder and edit the .htaccess file (or regenerate it)

If Fetch on the mac is confusing for doing a move, I'd recommend Transmit (the demo will work fine) or Cyberduck.