Jump to content

HTML Redirect


oceans

Recommended Posts

Dear People,

 

Can any one help me in redirect.

 

I have an Index.php, in it i have a redirect instruction pointing else where.

 

I am trying a new server, in it they have Index.html, I removed it and placed my Index.php, but the server is not "seeing" my Index.php.

 

How can I make the server "see" this Index.php despite of the original Index.html.

 

Thanks..

 

Link to comment
https://forums.phpfreaks.com/topic/57515-html-redirect/
Share on other sites

this is a servr configuration - the server is instructed to find the default file in a directory normally index.htm or index.html.

 

if you have .htaccess ability to alter this setting then simply place the following line in your .htaccess file

 

DirectoryIndex index.php index.html index.htm

 

if you don't then you need to ask your server people to add index.php to the list. If they are running apache then ask them change the

'DirectoryIndex' setting to:

 

DirectoryIndex index.php index.html index.htm

Link to comment
https://forums.phpfreaks.com/topic/57515-html-redirect/#findComment-284765
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.