Forums / General Questions / Website not appearing when I enter the url but appears when I enter url + /index.php

Website not appearing when I enter the url but appears when I enter url + /index.php

Locked

Views: 1,575

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
5 Jun 2010, 6:54 PM
#1
rrzc avatar

rrzc

New Zenner

Join Date:
May 2010
Posts:
52
Plugin Contributions:
0

Website not appearing when I enter the url but appears when I enter url + /index.php

I just transferred my website to a new host and followed this tutorial https://www.zen-cart.com/tutorials/index.php?article=100.
The website transferred properly except that when i enter the url, the website doesn't appear, but when I enter the url + /index.php, the website appears.
My only guess is that maybe I didn't do step 6 of the 'fix_cache_key' tutorial properly.
Is the purpose of this 'fix_cache_key' utility to fix a problem like this?
Any idea of what could cause this problem?
Thank you.

5 Jun 2010, 7:02 PM
#2
louis avatar

louis

Zen Follower

Join Date:
Jul 2006
Location:
Johannesburg
Posts:
408
Plugin Contributions:
0

Re: Website not appearing when I enter the url but appears when I enter url + /index.php

rrzc, You need to add index.php to your default files list on your host package. (Cpanel )

The server will then automatically look for and find index.php just the same as it automatically finds default.htm etc.

5 Jun 2010, 7:10 PM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Website not appearing when I enter the url but appears when I enter url + /index.php

Does anything appear with just the base URL? You may have an index.html file in the root of your site. That would load first.

5 Jun 2010, 9:26 PM
#4
g1smd avatar

g1smd

Zen Follower

Join Date:
Mar 2010
Location:
UK
Posts:
449
Plugin Contributions:
0

Re: Website not appearing when I enter the url but appears when I enter url + /index.php

Make sure there is no index.html or index.htm file in the root, and if it still doesn't work, add ```
DirectoryIndex index.php

Online since 1995.

5 Jun 2010, 9:30 PM
#5
rrzc avatar

rrzc

New Zenner

Join Date:
May 2010
Posts:
52
Plugin Contributions:
0

Re: Website not appearing when I enter the url but appears when I enter url + /index.php

Thank you for your replies so far. I'm going to try your suggestions.
What is happening right now is when I enter just the base url, the host's "under construction" page appears, but when I enter url/index.php, the website will appear properly.
I've installed zencart a few times before and this has never happened and I'm trying to figure out what would have caused this.

5 Jun 2010, 10:18 PM
#6
rrzc avatar

rrzc

New Zenner

Join Date:
May 2010
Posts:
52
Plugin Contributions:
0

Re: Website not appearing when I enter the url but appears when I enter url + /index.php

That worked. There was a index.html file in there that needed to be deleted. Thank you for your help.