Home page not visible...
Permalink
Hi there. I created my new website using concrete5, while keeping the old version up for public display until I was ready. Today I deleted information for the old site, and thought that when I clicked on 'publish my edits' it would all be visible at my domain. However, all that is showing is the standard 'Index of...' page.
If I type in 'www.mydomain.com/concrete5' my new site appears. How do I set it up so that my new homepage will show up athttp://www.mydomain.com?
Thanks for your help.
If I type in 'www.mydomain.com/concrete5' my new site appears. How do I set it up so that my new homepage will show up athttp://www.mydomain.com?
Thanks for your help.
... for that great advice. I made the html page as you suggested, and ta da! Instant success. Thank you!
However, it has made me realise that I probably installed concrete5 in the wrong place. It was under public_html/concrete5. Should it actually be in the root directory, and should it be not under /concrete5 at all but should I just have copied all the contents of the concrete5 parent folder instead? All my urls have 'concrete5' in them, which won't look so good in links. I'm wondering whether moving the files would change the urls as well.
Thanks again for your help, okhayat - that was genius!
However, it has made me realise that I probably installed concrete5 in the wrong place. It was under public_html/concrete5. Should it actually be in the root directory, and should it be not under /concrete5 at all but should I just have copied all the contents of the concrete5 parent folder instead? All my urls have 'concrete5' in them, which won't look so good in links. I'm wondering whether moving the files would change the urls as well.
Thanks again for your help, okhayat - that was genius!
Hi Kathleen
I did just this same thing this past weekend.
What you do is this:
- make sure your site is the way you want it
- download yourwww.www.domainname/concrete5/config/site.php... and change your REL_DIR to '' (getting rid of the /
- put ur c5 site into maint, back up site, and through your control panel or what ever your domain provider provides and move your concrete5 contents to your root.
That worked for me.
I did just this same thing this past weekend.
What you do is this:
- make sure your site is the way you want it
- download yourwww.www.domainname/concrete5/config/site.php... and change your REL_DIR to '' (getting rid of the /
- put ur c5 site into maint, back up site, and through your control panel or what ever your domain provider provides and move your concrete5 contents to your root.
That worked for me.
You're right, but from what I noticed is sometimes the links and image paths have /path (/cocnrete5 in this case) hardcorded with them, so you might want to check those.
Glad you solved the issue.
Glad you solved the issue.
Hi again. I did get the site working with the index.html file (thank you okhayat!), but I would like to figure out why the index.php file is not working.
It is in the public_html folder; is this the right place? (I had not actually deleted it after all.)
It is very short and only says this: <?php
require('concrete/dispatcher.php'); Is that correct for this file?
Many thanks.
It is in the public_html folder; is this the right place? (I had not actually deleted it after all.)
It is very short and only says this: <?php
require('concrete/dispatcher.php'); Is that correct for this file?
Many thanks.
Can you please post a link to your site so I can test it?
If not, did you move your site to the root? under /public_html or still under /public_html/concrete5?
Did you try adding index.php to the URL? like domain.com/index.php or domain.com/concrete5/index.php?
If it works this way and you have index.html and index.php in the same folder, simply remove the .html file as the web server might read it before and display instead of the .php
If not, did you move your site to the root? under /public_html or still under /public_html/concrete5?
Did you try adding index.php to the URL? like domain.com/index.php or domain.com/concrete5/index.php?
If it works this way and you have index.html and index.php in the same folder, simply remove the .html file as the web server might read it before and display instead of the .php
Thanks - that link is [not needed any more].
From what I can see, the site is working fine under /concrete/ which means (I guess) you only moved the index.php to the /public_html folder.
If you want your site to work directly from the root (/public_html or domain.com) without the /concrete, simply move all file and directories under /public_html/concrete5 to /public_html.
Then modify site/config.php as bcarone mentioned above.
If you want your site to work directly from the root (/public_html or domain.com) without the /concrete, simply move all file and directories under /public_html/concrete5 to /public_html.
Then modify site/config.php as bcarone mentioned above.
Yes, I did move all the files. You might have caught the version with the index.html re-installed.
However, all is sorted! Something you said made me realise I was accessing the dashboard via the old location (ie /concrete5/index.php/dashboard). Once I logged in under the new location (ie just index.php/dashboard) and checked a few pages there, I found many pages that were not 'published'. Once I published them, everything worked beautifully.
Many thanks for your help on this, and you too, bcarone!
However, all is sorted! Something you said made me realise I was accessing the dashboard via the old location (ie /concrete5/index.php/dashboard). Once I logged in under the new location (ie just index.php/dashboard) and checked a few pages there, I found many pages that were not 'published'. Once I published them, everything worked beautifully.
Many thanks for your help on this, and you too, bcarone!
Glad your problem is solved!
If your installation is under /concrete5 and you deleted the files at the root of your site, you can simply create a home page, like index.html, and add a link to the new site or simply redirect the user automatically to the new site by adding this line to your main page: