Hi All
I want to know, if this possible index.php change to home.php on CMS made simple?
its possible change index.php to home.php?
Re: its possible change index.php to home.php?
yes and no. 
Yes, if you use mod rewrite you could redirect calls to home.php to index.php. But them I think you'd better set assume_mod_rewrite in the config to true.
No, if you don't want to rely on mod_rewrite or other external solutions, you cannot do that. Here is a list of all files that reference index.php:
Which leads me to the obvious question: Why would you want that?

Yes, if you use mod rewrite you could redirect calls to home.php to index.php. But them I think you'd better set assume_mod_rewrite in the config to true.
No, if you don't want to rely on mod_rewrite or other external solutions, you cannot do that. Here is a list of all files that reference index.php:
I guess you have to change at least all of those if you really need it.$ find . -type f -exec grep -l index.php {} /dev/null \;
./plugins/function.cms_selflink.php
./plugins/function.embed.php
./plugins/function.print.php
./admin/editconfig.php
./admin/themes/default/defaultTheme.php
./admin/menu.php
./admin/listcontent.php
./admin/index.php
./admin/siteprefs.php
./admin/moduleinterface.php
./admin/login.php
./admin/makebookmark.php
./admin/editprefs.php
./index.php
./moduleinterface.php
./doc/htaccess.txt
./lib/smarty/Smarty.class.php
./lib/classes/class.module.inc.php
./lib/classes/class.content.inc.php
./lib/classes/class.admintheme.inc.php
./lib/contenttypes/Content.inc.php
./lib/config.functions.php
./lib/content.functions.php
./lib/page.functions.php
./lib/config.functions.php~
./lib/content.functions.php~
./install/upgrade.php
./modules/News/News.module.php
./modules/FCKeditorX/FCKeditor/editor/plugins/CMSContent/fck_cmscontent.php
Which leads me to the obvious question: Why would you want that?
Re: its possible change index.php to home.php?
Hi
thnx. Because I have Index.php that use my subdomain script. And my hompepage need another startpage like home.php not index.php
thnx. Because I have Index.php that use my subdomain script. And my hompepage need another startpage like home.php not index.php

Re: its possible change index.php to home.php?
If you have access to your apache-konfiguration, why not set .html also parsed by php and use index.html for your subdomain-script?
Re: its possible change index.php to home.php?
use a tool like search and replace (funduc.com) and replace all index.php to what_you_want.php in the cms related php - files automatically.
Re: its possible change index.php to home.php?
oh you mean like
Code: Select all
find . -type f -exec sed 's/index.php/otherpage.php/g' -i {} \;
But then with pretty pictures?
The chances that such a blind search & replace will work is pretty low, but you might never know indeed...