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

How to make your home page home.php and not the splash intro page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-07-2008, 05:44 AM
 
screeny screeny is offline
 

Advanced Member
  
Join Date: May 2008
Posts: 31
 

Lightbulb How to make your home page home.php and not the splash intro page

Disclaimer: This is a tip I received from tech support that my designer asked, and I'm simply passing it on to the forums. If you want to know why I'm doing this, read here: http://forum.x-cart.com/showthread.php?t=42824. I'm not a web designer/developer, and I don't know anything about programming the back-end of X-Cart. My version of X-Cart is 4.1.10, so this tip may not work if you use a different version. If you have any questions about this tip, I can't answer them, but reply anyway and hopefully someone more knowledgeable will respond.

=======

Rename or remove the 'index.html' file in order to direct customers straight to the 'home.php' script.
__________________
4.1.10
Reply With Quote
  #2  
Old 10-07-2008, 09:46 AM
 
balinor balinor is offline
 

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

Default Re: How to make your home page home.php and not the splash intro page

That method is bad for search engine optimization and it also adds a session id to your url. The correct method is to use this in your .htaccess file:

DirectoryIndex home.php
__________________
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 07:10 AM.

   

 
X-Cart forums © 2001-2020