X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   How to make your home page home.php and not the splash intro page (https://forum.x-cart.com/showthread.php?t=42819)

screeny 10-07-2008 05:44 AM

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.

balinor 10-07-2008 09:46 AM

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


All times are GMT -8. The time now is 05:02 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.