Thread: Home button

Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2007
    Posts
    3
    Plugin Contributions
    0

    Default Home button

    When I click on the home button ( the one at the top of my main page) it takes me to the index of my store files instead back to the main page. Could someone tell Me What file needs to be changed and to what ?

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Home button

    The "what file" is includes/templates/YOUR_TEMPLATE/common/tpl_header.php but the "to what" depends upon the structure of your site about which we know nothing.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    May 2007
    Location
    SW Florida
    Posts
    1,051
    Plugin Contributions
    2

    Default Re: Home button

    Quote Originally Posted by kerrco View Post
    When I click on the home button ( the one at the top of my main page) it takes me to the index of my store files instead back to the main page. Could someone tell Me What file needs to be changed and to what ?
    How about a little more information. What is your site HOME page URL? Store URL?

    JOhn ><>
    Newest Site: ChargerPros - Stuff4Toys

  4. #4
    Join Date
    Sep 2007
    Posts
    3
    Plugin Contributions
    0

    Default Re: Home button

    I am new to all this including forums. The site is http://www.buybitsnblades.com

  5. #5
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Home button

    Your Zen Cart is working perfectly, but there is a problem with your web hosting. Normally web hosts configure folders so that an external visitor entering them will first execute any index.html file and if there isn't one any index.php file.

    Your host hasn't done this so when you go to your store's root, it just displays the directory listing instead.

    You can either:

    1. ask you web host to adjust the httpd.conf file to add index.php to the DirectoryIndex setting

    2. create a file called .htaccess file in your store folder with the line
    DirectoryIndex index.html index.php
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 

Similar Threads

  1. Home Button Question
    By Coyotee in forum General Questions
    Replies: 8
    Last Post: 12 Mar 2011, 08:42 AM
  2. Adding Home Button
    By hrsteel in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 13 Jan 2010, 09:47 PM
  3. creating a home button
    By kitcorsa in forum General Questions
    Replies: 3
    Last Post: 1 Dec 2009, 01:25 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