Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2008
    Posts
    10
    Plugin Contributions
    0

    Default Where is the "Home" url defined?

    I'm sorry this sems to be such a basic thing but I just can't find it anywhere.
    In my header are the links: "Home", "Log In", "Shopping Cart", "Checkout", etc. All the links, when moused over, show a correct url except for "Home" which just shows the root folder but not the specific file to open.
    Where is the url defined?
    Many thanks!

  2. #2
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Where is the "Home" url defined?

    You shouldn't need a specific page. Browsers will look for index.html or index.php automatically.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  3. #3
    Join Date
    Jun 2006
    Posts
    86
    Plugin Contributions
    0

    Default Re: Where is the "Home" url defined?

    yoursite/index.php

    If you are trying to place a link within a template file
    <?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?>Home page</a>

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

    Default Re: Where is the "Home" url defined?

    Quote Originally Posted by afo View Post
    You shouldn't need a specific page. Browsers will look for index.html or index.php automatically.
    I guess it only finds it if it's in the site root folder rather than the shopping cart root. I guess I can live without the "home" link. Thanks for checking this out, I appreciate it!

  5. #5
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Where is the "Home" url defined?

    It should work even if it's not in the root. If the "home" address is http://www.mydomain.com/store, browsers should look in /store for index.php or index.html. I've got Zen Cart installed in separate folders as test sites to keep from playing with the live sites.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

 

 

Similar Threads

  1. Where can I edit the URL for "Home"?
    By MarleneF in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 12 Apr 2010, 04:23 PM
  2. Change the "Home" URL
    By scottmcclean in forum General Questions
    Replies: 5
    Last Post: 5 May 2009, 12:41 PM
  3. How do I change the url for the "Home" links?
    By Phooie in forum General Questions
    Replies: 2
    Last Post: 9 Jul 2008, 09:46 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR