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)
-   -   Directly go to home.php (https://forum.x-cart.com/showthread.php?t=42495)

carreraecommerce 09-21-2008 07:47 AM

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

gotpump 09-21-2008 12:35 PM

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

dalmuti 09-21-2008 01:38 PM

Re: Directly go to home.php
 
Change .htacccess file in x-cart root to:

DirectoryIndex home.php

balinor 09-21-2008 04:40 PM

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 :)

shan 10-21-2008 08:38 AM

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

balinor 10-21-2008 08:41 AM

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.

shan 10-21-2008 08:59 AM

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 :-)

balinor 10-21-2008 09:02 AM

Re: Directly go to home.php
 
Yea, we'll see what they have done with 4.2 :)


All times are GMT -8. The time now is 01:57 AM.

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