Is it ok to rename the index.php
Permalink 2 users found helpful
Is it ok to rename the index.php to something else while I get the site content working then switch back to index.php. I did notice that when I did this the installation pages had no style, I don't know why.
Thanks, I can't seem to find the
/config/site.php file as mentioned in that post
/config/site.php file as mentioned in that post
try an s after config
configs/site.php
ill fix that :)
configs/site.php
ill fix that :)
opps my mistake, there was that folder, just that it appeared after you install :)
I have the same issue.
I want to rename index.php with concrete.php, but if i do that concrete5 desplays a page not found.
Where are the configuration places where I can do this?
Thanks
Paolo
I want to rename index.php with concrete.php, but if i do that concrete5 desplays a page not found.
Where are the configuration places where I can do this?
Thanks
Paolo
config/site.php does not contain such information.
Do you have a reason for doing this? I do NOT suggest doing this as it could effect later concrete5 upgrades.
I have not done this, but you could try changing the following file:
concrete/config/base.php
there are a few lines in there that refer to the index.php file
I have not done this, but you could try changing the following file:
concrete/config/base.php
there are a few lines in there that refer to the index.php file
My suggestion is to create a sub directory and make your changes there, leaving your current site alone. For example, mysite.com/new
Disable pretty url's in your current site.
Copy all of your files and directories to the sub directory.
Create a new mysql database and export/import the data from the original site. You will then need to change the following file in the sub directory "new"
/new/config/site.php
In this file you will need to change the following:
Once you are done copying everything from your regular site to the /new site, you can re-enable pretty urls in your current site.
Once you are done updating your "new" site you will have to do the same thing, disable pretty urls, move your "new" site to the root, change the config/site.php - the only line that needs to change here is:
Once all is done, don't forget to go to system maintenance in the dashboard and run all three of the items in the jobs tab.
Disable pretty url's in your current site.
Copy all of your files and directories to the sub directory.
Create a new mysql database and export/import the data from the original site. You will then need to change the following file in the sub directory "new"
/new/config/site.php
In this file you will need to change the following:
Once you are done copying everything from your regular site to the /new site, you can re-enable pretty urls in your current site.
Once you are done updating your "new" site you will have to do the same thing, disable pretty urls, move your "new" site to the root, change the config/site.php - the only line that needs to change here is:
define('DIR_REL', '');
Once all is done, don't forget to go to system maintenance in the dashboard and run all three of the items in the jobs tab.
you can always move it, i suggest you read this:
http://www.concrete5.org/index.php?cID=22638...
Mike