Publishing C5 site?
I made a C5 version of my site in a subdirectory --http://www.example.com/c5
So everything is in this c5 folder. I would now like to move it up, so that whenhttp://www.example.com is accessed, it goes to c5's index.php
What is the proper procedure for doing this? Do I need to copy/paste everything out of this folder? to the main? Do I need to change settings somewhere? Anything that will probably mess up?
Any input appreciated! Thank you.
In case you have pretty URL's enabled and a .htaccess in your root, look for RewriteBase /. You should change the slash (/) into the directory you are placing it into. If it's domain.com/my_folder, you should make it RewriteBase /my_folder/. Or if it's domain.com/my_folder/another, make it RewriteBase /my_folder/another/
Thanks for the reply!
Also, after you've moved it, log in and do these things:
1) Dashboard -> Sitewide Settings: Click the "Clear Cache" button
2) Dashboard -> Sitewide Settings -> Debug: Set Debug Level to "Production", click "Set Debug Level" button.
3) Dashboard -> System & Maintenance: click the "Run Checked" button in top-right corner.
In my config folder site.php exists but there's no options to change the directory inside of it. Please advise.
That should ask you to log in and then send you directly to the 'Clear Cache' page so you can clear your cache. I would also suggest going to the dashboard immediately and turning Pretty URL's off and back on again to get that to reflect the new structure.
Also, version 5.6 doesn't need the DIR_REL values in config.php so you're fine without those lines.