Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,227
    Plugin Contributions
    6

    red flag chnage name of index.php

    Does anybody know if its possible to change the name of index.php which forms the homepage and pages below it?

    The reason I need to do this is because I need to upload an older version of a website I'm rebuilding under the same directory. This relies on html files rather than php, so the homepage will be index.htm. I don't want any confusion between the two when someone logs onto the site.

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: chnage name of index.php

    There shouldn't be any confusion - the index.html will load first on most server configfurations, assuming that's what you want.

    You could also move Zencart to a subdirectory.

    To answer your question, though, I'm sure it can be done, but with some difficulty.

  3. #3
    Join Date
    Mar 2006
    Location
    Fresno, California
    Posts
    620
    Plugin Contributions
    0

    Default Re: chnage name of index.php

    Find the .htaccess file in the root directory. Look for an entry called DirectoryIndex and change it to:

    DirectoryIndex index.html

  4. #4
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,227
    Plugin Contributions
    6

    red flag Re: chnage name of index.php

    Thanks for that. Will look at both options. Its only temporary anyway until I get the new site live. the old sites server is being switched off tomorrow so I need to be hasty about moving it.

 

 

Similar Threads

  1. The document name you requested (/index.php) could not be found on this server
    By Heather Ghillyer in forum Built-in Shipping and Payment Modules
    Replies: 8
    Last Post: 25 Jul 2013, 08:49 AM
  2. Replies: 2
    Last Post: 25 Sep 2011, 12:18 PM
  3. How do i change the index.php page name?
    By tyankee in forum General Questions
    Replies: 13
    Last Post: 15 Sep 2010, 03:00 AM
  4. uploaded index.php to wrong index php HELP!
    By janiceM in forum General Questions
    Replies: 2
    Last Post: 3 Jul 2007, 08:45 PM
  5. Blank index.php and /admin/index.php page after install
    By gsummerlin in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 14 Jul 2006, 10:04 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