Jump to content

www.website.com vs. www.website.com/index.php


Recommended Posts

Hi there,

 

I am just wondering if anyone knows what I might be missing ...

 

If you go to my site www.i-love-stickers.com the top part is a little distorted yet the same site on www.i-love-stickers.com/index.php shows up perfectly ... and they are supposed to be the exact same.  Does anyone know what I might do to fix this?

 

Thanks in advance for looking!

 

Krissy

Link to comment
https://forums.phpfreaks.com/topic/201572-wwwwebsitecom-vs-wwwwebsitecomindexphp/
Share on other sites

Its because you have an index.html file there as well. Rename or delete it and it will make your PHP file load instead of the HTML one.

 

http://www.i-love-stickers.com/index.html

Is the same as

http://www.i-love-stickers.com/

But is different to

http://www.i-love-stickers.com/index.php

Hi again!

 

I just did that and when I entered the URL a list of all my website files (parent directory) came up and so it seems I do need to keep the index.php file.  Any other ideas?

 

Many thanks in advance for looking and for any suggestions!

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.