osCmax v2.5 User Manual
Results 1 to 9 of 9

Home page not showing on browsers

This is a discussion on Home page not showing on browsers within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; Hi, Im a total newbie, only downloaded OSCMax yesterday. I havent started changing the template yet, but when i type ...

      
  1. #1
    Active Member niallb's Avatar
    Join Date
    Sep 2010
    Posts
    207
    Rep Power
    2


    Exclamation Home page not showing on browsers

    Hi,
    Im a total newbie, only downloaded OSCMax yesterday.
    I havent started changing the template yet, but when i type in my site url (www.martial-arts-supplies.co.uk) instead of seeing my home page I get this message

    Index of /

    Clicking on 'catalog' does take me to the home page, but thats not what I would want future customers to have to do.
    Have I done something wrong or missed something?

  2. #2
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Lightbulb Re: Home page not showing on browsers

    Create a file, called index.php in the public_html directory, containing:
    PHP Code:
    <?php
    header
    'Location: http://www.martial-arts-supplies.co.uk/catalog' ) ;
    ?>
    Turn off indexing for security ... Google it.
    Hosting plans with installation, configuration, contributions, support and maintenance.

  3. #3
    Active Member niallb's Avatar
    Join Date
    Sep 2010
    Posts
    207
    Rep Power
    2


    Default Re: Home page not showing on browsers

    problem sorted

  4. #4
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Thumbs up Re: Home page not showing on browsers

    Note the Thanks button, when people post something useful for you.
    Hosting plans with installation, configuration, contributions, support and maintenance.

  5. #5
    Active Member niallb's Avatar
    Join Date
    Sep 2010
    Posts
    207
    Rep Power
    2


    Default Re: Home page not showing on browsers

    Thanks.
    There already is a file called index.php in the public_html

  6. #6
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Default Re: Home page not showing on browsers

    What a strange setup! It appears that you may have duplicated the installation - index.php shouldn't have any reference to 'Max specific stuff at the public_html level, if installed in the default catalog directory.
    If you only have 'Max installed on that domain, then I would only expect to see something like the following in public_html, unless you have other packages installed:

    catalog (directory)
    .htaccess
    index.php (similar to the previous example)
    favicon.ico (optional)
    robots.txt (possibly)
    afgk45675vgg.txt (example Google marker file)
    Hosting plans with installation, configuration, contributions, support and maintenance.

  7. #7
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Default Re: Home page not showing on browsers

    You also need to get to grips with image use!
    Example your Category image:
    1,000px × 1,000px (scaled to 100px × 100px) !!!!

    A live example site in your field of sales
    Hosting plans with installation, configuration, contributions, support and maintenance.

  8. #8
    Active Member niallb's Avatar
    Join Date
    Sep 2010
    Posts
    207
    Rep Power
    2


    Default Re: Home page not showing on browsers

    www.martial-arts-supplies .co.uk is a subdomain, I have 2 OScommerce sites running also. But martialarts has an index.php file itself which I presume came when I downloaded from OSCMax site.
    The image I put on is only temp while I test the odd page, I will change the size later thanks.
    Ill try your index.php.weird now and see what happens, fingers crossed
    p.s. like the dragonreborn site, nice and clean

  9. #9
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Default Re: Home page not showing on browsers

    Design/colours not of my making but functionality is. As opposed to another similar site that I host which is based on the Compromise template and I had a free reign, so to speak.

    Back on subject.
    Subdomain doesn't make any odds, except (possibly) where you called the installation from - should be just www.martial-arts-supplies.co.uk/catalog/install
    In this case, there should be no 'Max specific files in public_html for this domain.
    Hosting plans with installation, configuration, contributions, support and maintenance.

Similar Threads

  1. home page; what should it be?
    By nicki-jo in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 05-03-2007, 06:02 PM
  2. Product detail page as the home/main page???
    By sukarya in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 02-17-2006, 05:21 AM
  3. how can I add a log in form to my home page...
    By fer_75 in forum osCommerce 2.2 Discussion
    Replies: 7
    Last Post: 08-11-2005, 05:14 AM
  4. Catagories on the home page!
    By pthurmond in forum osCMax v1.7 General Mods Discussion
    Replies: 3
    Last Post: 08-01-2005, 09:47 AM
  5. Where do I edit the Home Page
    By emikey24 in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 04-11-2005, 02:38 AM

Tags for this Thread

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
  •