How to set C5 to my web address

Permalink
I'm Not sure exactly what I need to do to set the C5 index.php file to be the landing page for my current web address. I am using BlueHost and just placing the index.php under the public_html is not enough. Any help is greatly appreciated.
Thanks

TreeBones
 
chunksmurray replied on at Permalink Reply
chunksmurray
Hi TreeBones,

Assuming you have your DNS setup properly and any other hosting issues are sorted, you should double check that in the file config/site.php, that the BASE_URL reflects your actual URL.

So if your domain ishttp://www.example.com then the BASE_URL should be the same.

Hope that helps!
TreeBones replied on at Permalink Reply
TreeBones
Thanks. I checked and the proper address is there. This is the message I get when trying to go to my address.

Warning: require(concrete/dispatcher.php) [function.require]: failed to open stream: No such file or directory in /home/portabm7/public_html/index.php on line 2

Fatal error: require() [function.require]: Failed opening required 'concrete/dispatcher.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/portabm7/public_html/index.php on line 2
marcM replied on at Permalink Reply 1 Attachment
marcM
problem is once you move index.php out of the C5 install directory it cannot find the files it needs to operate. But otherwise your urls are mydomain.com/c5/page instead of mydomain.com/page, right?

the following solution almost works, perhaps someone can fill in the gap. The part that doesn't work is when you go to mydomain.com if you goto mydomain.com/page it works fine as well as all the links and images.

with this solution, the index.php file stays in the C5 install directory. No need to move it.

first, in the root directory for the domain i added the attached root_htaccess.html (update the placeholders for your domain)

then in config/site.php set define('DIR_REL', '');

then in the directory where you installed C5 create an htaccess file as instructed by the pretty urls setting in the admin and modify the RewriteBase to /

there's probably a better way but this gets close. Any body that can help clean and polish this?