Accepting index.shtml or index.php as a folder homepage

Asked By 0 points N/A Posted on -
qa-featured

I want my site to accept index.shtml or index.php as a folder homepage but it's not allowing me to do so. How do I configure my site for that?

SHARE
Best Answer by Gideon Yasti
Best Answer
Best Answer
Answered By 0 points N/A #145777

Accepting index.shtml or index.php as a folder homepage

qa-featured

Hy

Generally index.php, index.html, index.xml, index.aspx etc type file are using as a homepage. You can run any file by include this type of file in your destination folder. Then you will get your index page as you homepage of your website. Basically index.php and index.html is a common file for run any homepage for website. Your index file did not support for the problem of your hosting provider service. It may happen for the problem of index page structure. You should recheck your page source code again and then try again. Hope your problem will might be solve.

Thanks

Answered By 0 points N/A #145778

Accepting index.shtml or index.php as a folder homepage

qa-featured

Basically index.html or index.php file is the default file that is accessed when a site is accessed. If you are having problems, then please check Apachi configuration in .htaccess file in the root directory. If .htaccess file is not created then first create it inside your root directory and add the following line inside it.

DirectoryIndex index.php index.html index.htm index.shtml

Hope this helps

Login/Register to Answer

Related Questions