Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.