Jump to content

index.php and index.htm


sssh

Recommended Posts

Can someone please help! I have been searching the net for about 4 days now non-stop. What I would like to know is on my server I have a index.php file but no index.htm file. I want to edit my site and when I import the home page to a web edititor I get the page index.htm come up. I can modify this but have tried to upload it to my server over 50 times now and no luck. Do I put it in the public_html file on my server. I have tried this and left the index.php there as well but still the same. I have even tried removing the index.php and uploading the index.htm file only that doesnt work. Could someone please help me with this. I think I have gained a few grey hairs in all this. Any help would be most appreciated.

 

Thankyou!

Link to comment
Share on other sites

you only need one or the other per directory. Which will be the default webpage the user goes to when going to a directory or your domain name on your website.

 

Your best to use the index.php one.

 

with the text editor, you open index.php, make the neccesary changes, and you could copy and paste the whole code into notepad and save it as .php their. Then upload it.  ;)

 

note: its much easier just using a editor that works with PHP in the first place, such as Notepad++(free to download)

 

Regards ACE

Link to comment
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.