Installation on a pre-existing website.

Permalink
Hello everyone,

I would like to install C5 on a website that already exist. The website was done wtih basic HTML. The problem is that the client does not want to take it down, not even for one day. I have been going back and forth trying to think of a way to install C5 without taking the website down.

I thought of:

* redirecting the website to a file called index2.html and when I was installing C5 always having to log index.html, once C5 was installed I could take of the redirect and it should just hit index.html where C5 was installed.

Any other suggestions?

 
Mnkras replied on at Permalink Reply
Mnkras
you can install Concrete5 in a subdirectory and when your done move it :)

for example install it in site.com/dev
psarmiento replied on at Permalink Reply
Hello Mnkras,

I did try this but when I moved all of the files over, everything stopped working. I tried to logon to the dashboard and it wouldn't recognize the address, it kept giving me a 404 page not found error. I figuered it could have been because when setting up C5 it somehows programs the mysql database with the site.com/dev address and will not be linked anymore if you move them to another address.

Im not sure if that is correct though.
LucasAnderson replied on at Permalink Reply
LucasAnderson
When you move the files, you'll also need to edit your /config/site.php file and remove the value in

define('DIR_REL', '/dev');

to be empty so it reads:

define('DIR_REL', '');
psarmiento replied on at Permalink Reply
Thanks guys, that did the trick.
chunksmurray replied on at Permalink Best Answer Reply
chunksmurray
Further to what LucasAnderson said, check out
http://www.concrete5.org/documentation/installation/moving_a_site/...
Mnkras replied on at Permalink Reply
Mnkras
i wrote that! :P
LucasAnderson replied on at Permalink Reply
LucasAnderson
Well, then you should have linked it in your first reply! ;p