URL

Permalink
I am a newbie with concrete5, I will appreciate your help on this. I have created a sub folder called 'concrete' in my root folder, just so that I can develop the site. Now, I am ready to take the site live. Do I move all the files from concrete folder to the root folder or is there a way I can have the domain pick the files from the sub folder (for example when you enter the domain in the browser, it can grab the index file from the concrete folder).

 
globalnerds replied on at Permalink Reply
globalnerds
First, turn off pretty urls.

Back up your site - including your mysql database.

Move all of the files from the concrete directory that you created for testing purposes (not the one for c5 itself) to your site's root directory.

Go into /config and edit your site.php

It should have a line (I can't recall if it will have the forward slash in front of it)

define('DIR_REL', 'concrete');


change it to - note that there is no slash and those are two single quotes and not one double quote.

define('DIR_REL', '');


Go back into your site's dashboard via the site's root url (i.e. mysite.com/dashboard) you can then turn on pretty urls and back up your site again.
snagy replied on at Permalink Reply
I do not have the code you suggested in my config file. All I see is -
define('DB_SERVER', '.....com');
define('DB_USERNAME', '....');
define('DB_PASSWORD', '....');
define('DB_DATABASE', '.....');
define('PASSWORD_SALT', '.......');
define('PERMISSIONS_MODEL', 'advanced');
globalnerds replied on at Permalink Reply
globalnerds
What version of c5 are you using?

do you have anything in your .htaccess file in either the site's root directory or in your concrete (not the concrete supporting files) directory?
globalnerds replied on at Permalink Reply
globalnerds
What is your site's url?
snagy replied on at Permalink Reply
Rhodesgardenfresh.com

Sent from my iPhone
Please ignore my spelling mistakes, it's my iPhone which does it.
globalnerds replied on at Permalink Reply
globalnerds
Your issue is that you attempted to create your concrete website your main c5 directory. The concrete directory is for your concrete5 base install and should not be touched.

If you wanted to install your site in a temp directory this is what you need to do

In your root directory, create a directory - I will call it newsite

Copy the zipped c5 file you downloaded from the c5 website. Uncompress this file. You will now have a directory (under newsite) called concrete5.5.2.1 (assuming you are installing the latest version). Move everything under this directory (newsite/concrete5.5.2.1) to newsite/

Now do your install.

Once you have developed your site, you can then move it to your root directory via my previous directions
snagy replied on at Permalink Reply
but, I do not see the line define('DIR_REL', 'concrete'); in the config file. do I add it?
globalnerds replied on at Permalink Reply
globalnerds
No your install is completely wrong. Remove all of the tables in your database and remove the concrete directory and start from scratch.
snagy replied on at Permalink Reply
do you have a direct email I can communicate and explain how i have it setup?
globalnerds replied on at Permalink Reply
globalnerds
Send me a PM
snagy replied on at Permalink Reply
I downloaded and installed the concrete5.5.2.1 in my root directory. All I did is renamed that directory to concrete (simplified just so that I can test it with out writing 5.5.2.1 in the browser), and then I developed the site.
Now that the site is ready, I want to take this live and that is where I am stuck.
What you wanted me to do was create a temp directory and then install concrete5. I had directly installed the concrete5 under the root directory. Please help as to what I need to do (I just hope I do not have to go reinstall and go thru everything). Please help.
globalnerds replied on at Permalink Reply
globalnerds
I don't see a site when I go to Rhodesgardenfresh.com/concrete - it is just files

When I go to Rhodesgardenfresh.com - I see the start of a site.
snagy replied on at Permalink Reply
Please, I really need help. It would be helpful(,

Sent from my iPhone
Please ignore my spelling mistakes, it's my iPhone which does it.
mnakalay replied on at Permalink Reply
mnakalay
I just sent you a pm.