Concrete5 site as main site

Permalink
This may be a little confusing, but here it goes:
Before I installed C5 on my web site's server I had a temporary home page up that just gave the clients contact info while I was building the C5 site. Now I am ready for the C5 site to become active, but I have no idea how to do this. Please help!!

hawkman4188
 
frz replied on at Permalink Reply
frz
this is a host specific issue.. ask them or whoever put that placeholder page up how they did it.
hawkman4188 replied on at Permalink Reply
hawkman4188
Well I was the one who put up the temporary home page. I just need to know how to make it to where the C5 is called up when the URL is pulled up. Do I just move everything that is in the C5 folder into the root folder with my FTP? Or do I just move the index.php file to the root file? Or am I completely off my rocker?
frz replied on at Permalink Reply
frz
if you put all of concrete5 in a subdirectory, you will first need to move it all up a level with out corrupting any file, and then edit /config/site.php to reflect the new base URL.
hawkman4188 replied on at Permalink Reply
hawkman4188
Do I need to change
define('DIR_REL', '/concrete5');
to
define('DIR_REL', 'html/concrete5');
kutis replied on at Permalink Reply
kutis
the one above the concrete directory,

insert
<?php header("Location:http://yoursite.com/concrete5/",... TRUE, 301); ?>

for permanent redirection...

more advance attempt on this please readhttp://www.concrete5.org/community/forums/customizing_c5/domain_roo...

edit: the [[code]] breaks the script
hawkman4188 replied on at Permalink Reply
hawkman4188
Thanks I'll try it out and let you know if it works... Thanks for the help kutis and frz!
hawkman4188 replied on at Permalink Reply
hawkman4188
Thanks again for all the help! But one problem which is not huge but I would like to get it fixed. Whenever I used the [code]<?php header("Location:http://yoursite.com/concrete5/",...... TRUE, 301); ?>[code] it did what it was supposed to, but the url becomeshttp://www.example.com/concrete5.... Is there a way to change that?
frz replied on at Permalink Reply
frz
i think that's one of the things we're changing in the next rev for SEO
hawkman4188 replied on at Permalink Reply
hawkman4188
That will be great! By the way, I love C5 and I am for sure going to be using it from now on. I do alot of work on church websites so I will also be referring other site builders to C5. Keep up the good work!