Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Nov 2010
    Posts
    4
    Plugin Contributions
    0

    Default 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 (www.muddywatercreations.net/store) and then just shows all the files within the store directory. THe home link should point to www.muddywatercreations.net/store/index.php. How do I correct this?

  2. #2
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default 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.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  3. #3
    Join Date
    Nov 2010
    Posts
    4
    Plugin Contributions
    0

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

    I did that but now I get page can't be displayed when going to www.muddywatercreations.net/store. It should default to www.muddywatercreations.net/store/index.php. Please help. Thanks.

  4. #4

    Default 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 /.

  5. #5
    Join Date
    Nov 2010
    Posts
    4
    Plugin Contributions
    0

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

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

  6. #6
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default 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?
    Last edited by Website Rob; 17 Nov 2010 at 04:22 AM.

  7. #7
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

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

    Quote Originally Posted by muddywa2 View Post
    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:

    www.muddywatercreations.net/catalog/index.php , which tells me that it's NOT installed in a folder named "Store", but in one named "Catalog".
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  8. #8
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default 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.

  9. #9
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

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

    Quote Originally Posted by Website Rob View Post

    Oops......you're right rob........I should have looked a little closer. Sorry about that.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  10. #10
    Join Date
    Nov 2010
    Posts
    4
    Plugin Contributions
    0

    Default 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
    Last edited by swguy; 18 Nov 2010 at 02:59 AM.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139h How to Make the LOGO link point to the website home page in parent folder.
    By lynbor in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 5 Jan 2016, 10:04 PM
  2. Home links point to .../catalog/ but don't display .../catalog/index.php
    By double-happiness in forum General Questions
    Replies: 3
    Last Post: 29 Nov 2011, 03:21 PM
  3. Point breadcrumbs "Home" link to different URL
    By DivaVocals in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Oct 2008, 08:24 PM
  4. index link doesn't always work
    By fish-in-a tree in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 29 Jul 2008, 11:47 AM
  5. Replies: 3
    Last Post: 9 Oct 2007, 04:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg