Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

index.html

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-06-2006, 03:30 AM
 
ephesians525 ephesians525 is offline
 

Advanced Member
  
Join Date: May 2005
Location: Sydney Australia
Posts: 42
 

Default index.html

Hi,
How can I get the domain to show the storefront immediately and not the default X-Cart welcome to the store / enter store default page?
__________________
Caroline
Version 4.1.3
Reply With Quote
  #2  
Old 07-06-2006, 03:36 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Change your .htaccess file (in the root directory) to read:

DirectoryIndex home.php
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 07-06-2006, 03:47 AM
 
ephesians525 ephesians525 is offline
 

Advanced Member
  
Join Date: May 2005
Location: Sydney Australia
Posts: 42
 

Default Thanks Padraic

I can find this file on my server (in Plesk) but I cannot seem to edit it. Do I edit it through X-Cart admin or on the server or how. At the moment it points to index and not home.php as you suggest it should.
__________________
Caroline
Version 4.1.3
Reply With Quote
  #4  
Old 07-06-2006, 03:48 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Easiest to edit it via FTP. Download it, edit it with a text editor, and re-upload it.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 07-06-2006, 04:05 AM
 
ephesians525 ephesians525 is offline
 

Advanced Member
  
Join Date: May 2005
Location: Sydney Australia
Posts: 42
 

Default .htaccess

Thanks - I have renamed the file to open it in Notepad and have edited it as suggested but it wont let me rename it .htaccess - what should I do?
__________________
Caroline
Version 4.1.3
Reply With Quote
  #6  
Old 07-06-2006, 04:19 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

You can't rename it that on your local machine...you need to upload it and then change it on the server.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 07-06-2006, 04:26 AM
 
ephesians525 ephesians525 is offline
 

Advanced Member
  
Join Date: May 2005
Location: Sydney Australia
Posts: 42
 

Default Many thanks

Success - at last.
__________________
Caroline
Version 4.1.3
Reply With Quote
  #8  
Old 07-06-2006, 06:05 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

or just delete the index.html file
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:44 PM.

   

 
X-Cart forums © 2001-2020