Zen Cart Logo
Forums / General Questions / Home page link doesn't point to index.html

Home page link doesn't point to index.html

Locked

Views: 3,281

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
16 Nov 2010, 2:47 AM
#1
muddywa2 avatar

muddywa2

New Zenner

Join Date:
Nov 2010
Posts:
4
Plugin Contributions:
0

Home page link doesn't point to index.html

Sorry, it should say index.php, not index.html. I just installed Zen-cart last week and am finishing customizing it. I have no changed any links, and from the time I first launched my site, my Home Page. My home link points to my store root (https://www.muddywatercreations.net/store) and then just shows all the files within the store directory. THe home link should point to https://www.muddywatercreations.net/store/index.php. How do I correct this?

16 Nov 2010, 3:22 AM
#2
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Home page link doesn't point to index.html

Log into your cPanel at your hosting provider, find the Index Manager, click that, then choose "No Indexing" for your "public_html" and "www" folders.

16 Nov 2010, 8:45 PM
#4
cheaperbyfar avatar

cheaperbyfar

New Zenner

Join Date:
Aug 2010
Posts:
26
Plugin Contributions:
0

Re: Home page link doesn't point to index.html

Is your store installed into the subdirectory store? If it's just installed to the root you don't need the /store/ part in configs, just /.

16 Nov 2010, 9:53 PM
#5
muddywa2 avatar

muddywa2

New Zenner

Join Date:
Nov 2010
Posts:
4
Plugin Contributions:
0

Re: Home page link doesn't point to index.html

It is installed in the sirectory store, not at the root

17 Nov 2010, 3:19 AM
#6
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Home page link doesn't point to index.html

Within the 'store' dir. remove any other 'index' files so you just have one 'index.php' which is for Zen Cart.

Also, check this file: store/includes/configure.php around lines 25 or 26

define('DIR_WS_CATALOG', '/store/');
define('DIR_WS_HTTPS_CATALOG', '/store/');

Is the above what you have?

17 Nov 2010, 3:02 PM
#7
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Home page link doesn't point to index.html

muddywa2:

It is installed in the sirectory store, not at the root

Are you sure, muddy, because I can go to the address you gave in your first post:
www.muddywatercreations.net/store

and get a 403 Permission Denied. But, if I go to:

www.muddywatercreations.net

I can see your landing page. Then, if I click on "Shop" while there, I get taken to:

https://www.muddywatercreations.net/catalog/index.php , which tells me that it's NOT installed in a folder named "Store", but in one named "Catalog".

17 Nov 2010, 4:14 PM
#8
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Home page link doesn't point to index.html

www.muddywatercreations.net/catalog/index.php looks to be osCommerce.

Currently, the working link for Zen Cart is: http://www.muddywatercreations.net/store/index.php

Clicking the Home link though is where the problem starts. Hence, my suggestion to look within the config file. Could also be an .htaccess problem though.

17 Nov 2010, 6:45 PM
#9
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Home page link doesn't point to index.html

Website Rob:

www.muddywatercreations.net/catalog/index.php looks to be osCommerce.

Oops......you're right rob........I should have looked a little closer. Sorry about that.

17 Nov 2010, 6:46 PM
#10
muddywa2 avatar

muddywa2

New Zenner

Join Date:
Nov 2010
Posts:
4
Plugin Contributions:
0

Re: Home page link doesn't point to index.html

For the osCommerce response, my old cart was osCOmmerce and I haven't retired that one yet. THe config file is below. Not sure which htaccess file to look for and what to look for within it. ALso, I don't have any duplicate index.php files. It seems as if it's just not defaulting to the index.php file but don't know how to do that....

<?php /** * @package Configuration Settings circa 1.3.9 * @copyright Copyright 2003-2010 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * File Built by zc_install on 2010-11-10 05:06:45 */ /*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/ /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/ // Define the webserver and path parameters // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com define('HTTP_SERVER', 'http://www.muddywatercreations.net'); define('HTTPS_SERVER', 'https://www.muddywatercreations.net'); // Use secure webserver for checkout procedure? define('ENABLE_SSL', 'false'); // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes! // * DIR_WS_* = Webserver directories (virtual/URL) // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder) define('DIR_WS_CATALOG', '/store/'); define('DIR_WS_HTTPS_CATALOG', '/store/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/'); define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/'); define('DIR_WS_PHPBB', '/'); // * DIR_FS_* = Filesystem directories (local/physical) //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/ define('DIR_FS_CATALOG', '/home1/muddywa2/public_html/store/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/'); define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS); define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/'); // define our database connection define('DB_TYPE', 'mysql'); define('DB_PREFIX', ''); define('DB_SERVER', 'localhost'); ... credentials deleted. define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'db'); // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage // The next 2 "defines" are for SQL cache support. // For SQL_CACHE_METHOD, you can select from: none, database, or file // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash define('SQL_CACHE_METHOD', 'none'); define('DIR_FS_SQL_CACHE', '/home1/muddywa2/public_html/store/cache'); // EOF
18 Nov 2010, 4:24 AM
#11
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Home page link doesn't point to index.html

I do not see any problems within the posted config file.

You are not concerned with an extra 'index.php' file but are there any other 'index.???' files with the 'store' dir. ?

Would appear the problem is related to an .htaccess file, either in the Document Root (top dir.) or in the 'store' dir. Do you have a 'store/.htaccess' file and/or do you have a 'public_html/.htaccess' file?

I also experienced a DNS Timeout page which tells me there is a problem at the Server level; which may or may not be part of the problem. You should track it though to see how often it happens.