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

Directly go to home.php

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-21-2008, 07:47 AM
 
carreraecommerce carreraecommerce is offline
 

Newbie
  
Join Date: May 2006
Posts: 4
 

Default Directly go to home.php

Hello!! How can I make my website go directly to home.php? Right now it still uses the index.html. Anyone help!!?


Karlo
Reply With Quote
  #2  
Old 09-21-2008, 12:35 PM
 
gotpump gotpump is offline
 

eXpert
  
Join Date: Aug 2008
Posts: 272
 

Default Re: Directly go to home.php

Omg i know an answer! I think


Edit your .htaccess file and put in the following.

Code:
Redirect permanent /index.html http://www.example.com/home.php
__________________
X-Cart DB Version: 5
Reply With Quote
  #3  
Old 09-21-2008, 01:38 PM
  dalmuti's Avatar 
dalmuti dalmuti is offline
 

eXpert
  
Join Date: Oct 2004
Location: Kansas
Posts: 343
 

Default Re: Directly go to home.php

Change .htacccess file in x-cart root to:

DirectoryIndex home.php
__________________
Louise

Studio 57 Designs - X-Cart Customization
Providing X-Cart Services since 2004
Hottest Blog Directory - Submit Your Blog for a Free Listing
Reply With Quote
  #4  
Old 09-21-2008, 04:40 PM
 
balinor balinor is offline
 

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

Default Re: Directly go to home.php

DO NOT use a redirect - use dalmuti's suggestion instead Also, please be sure to update your forum signature per the forum guidelines. Thank you
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 10-21-2008, 08:38 AM
  shan's Avatar 
shan shan is offline
 

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

Default Re: Directly go to home.php

delete the index.html and it will go there anyway.

index.html is a waste of time as its basically a splash page
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #6  
Old 10-21-2008, 08:41 AM
 
balinor balinor is offline
 

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

Default Re: Directly go to home.php

Yea, but it goes through index.php if you do that and adds a session id to the url - bad for SEO. You want to go directly to home.php, bypassing both index files.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 10-21-2008, 08:59 AM
  shan's Avatar 
shan shan is offline
 

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

Default Re: Directly go to home.php

its mad isnt it that we should even be having this debate as xcart is over 7 years old and still has these basic flaws.

you would think that seo was a new thing
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #8  
Old 10-21-2008, 09:02 AM
 
balinor balinor is offline
 

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

Default Re: Directly go to home.php

Yea, we'll see what they have done with 4.2
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
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 11:09 AM.

   

 
X-Cart forums © 2001-2020