If this is your first visit, check our documentation. To post, register or login.
Forums / Basic Configuration / For some reason I have to specify "index.php" to access my admin

For some reason I have to specify "index.php" to access my admin

Started by jbnyc on 26 Jul 2012, 5:34 PM · Views: 1,494

Results 1 to 3 of 3
26 Jul 2012, 5:34 PM
#1
jbnyc avatar

jbnyc

New Zenner

Join Date:
Sep 2010
Posts:
38
Plugin Contributions:
0

For some reason I have to specify "index.php" to access my admin

Hello, for some reason, every time I want to log into my admin I have to type https://www.mystore.com/admin/index.php
I changed my admin folder but I still have to type in the index.php...
Can someone help me so that I can just type https://www.mystore.com/admin and I'd get to the admin login? Thanks!

26 Jul 2012, 5:37 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: For some reason I have to specify "index.php" to access my admin

That happens when your server is not configured to know that "index.php" is the default document name to use if one isn't specified.

Normally your hosting company will configure your server to do that for you. If they didn't, then you need to get them to fix it.

Also, if you've been editing .htaccess files to be different than what comes with Zen Cart out-of-the-box, then you may have broken the normal working operation of things.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

28 Jul 2012, 9:00 AM
#3
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: For some reason I have to specify "index.php" to access my admin

This problem can also occur if you have an empty file called 'index.htm' or 'index.html' in folder where the problem is occurring.

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.