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

Splash Page Alternatives

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #31  
Old 04-15-2004, 05:37 AM
 
ShopinHK ShopinHK is offline
 

Member
  
Join Date: Mar 2004
Posts: 19
 

Default

1) go to top.inc.php and change this

define ('DIR_CUSTOMER', '');


2) Copy everything from the customer directory to your root directory
Reply With Quote
  #32  
Old 04-27-2004, 05:25 AM
 
keavy keavy is offline
 

Member
  
Join Date: Apr 2004
Posts: 27
 

Default

Quote:
Originally Posted by jordan0
I changed the line in my index.php from:
Code:
header("Location: index.html");
to
Code:
header("Location: customer/home.php");
and that just goes straight to my catalog page with no redirect when the site is loaded. I have no index.html of course.

i have no idea if this is bad for search engine ranking or what. my site is not completely "live" yet, although we are filling orders. I am curious to hear about whether or not this is a good idea.

that's what I did too - seems to be a nice and simple solution to avoid the splash page.

I was going to try the above suggestion - but for some reason couldn't spot where the top.inc.php file lived on the server My site isn't live yet, so not sure if the address being /store/customer/home.php bothers me much yet. I guess it would be nicer to just be /store/home.php
Reply With Quote
  #33  
Old 04-27-2004, 06:08 AM
  lyncca's Avatar 
lyncca lyncca is offline
 

X-Adept
  
Join Date: Nov 2003
Location: Fort Worth, Texas
Posts: 455
 

Default

I'm doing the above now too. The only problem is that our google ranking of 6, went slowly back down to 0 and then had to work its way back up again. We are happily back to a 6 again but it took 6 weeks or so.
Reply With Quote
  #34  
Old 05-10-2004, 02:31 PM
 
KiDD KiDD is offline
 

Member
  
Join Date: Jan 2003
Location: Sturgis, SD
Posts: 23
 

Default

Quote:
Originally Posted by leon
If you possibly try out the .htaccess version, please let us know if it actually works, since I will probably need it on my next Xcart (sounds like I need a guinea pig he, he).

I used the .htaccess method myself.

AddType application/x-httpd-php .htm
AddType application/x-httpd-php .html
AddType application/x-httpd-php .php
options followsymlinks


was all it took and i deleted the index.html file and now it just loads the index.php as if it were index.htm.

Hope this helps,

KiDD
Reply With Quote
  #35  
Old 05-10-2004, 07:11 PM
 
successful successful is offline
 

eXpert
  
Join Date: Sep 2002
Location: Brooklyn
Posts: 208
 

Default

Currently we use a java redirect for our site http://123Language.com . We want all visitors to our site to go to the index.html page in the catalog directory. We still (after all this time) have not found a solution on how to get this working correctly with a zero redirect. I copied the index page from the catalog directory and moved it into the root web directory but I'm getting some odd errors from my browser. I renamed the index page to test. You can test it out at http://123language.com/test.html . If any of you know what's causing this error......
__________________
Visit us at http://www.Successfulhosting.com
We\'ll make your web site a success!

Register your own domain name for only $14.99 at http://DiscountDomainRegistry.com
Reply With Quote
  #36  
Old 05-13-2004, 11:56 AM
 
Chris B Chris B is offline
 

eXpert
  
Join Date: Oct 2002
Posts: 226
 

Default moving customer folder contents

Hi,

Using version 3.5.6. I moved the customer folder contents into the root folder and everything appears to work fine except the secure login still points to the /customer/ folder.

Any Ideas on a fix?

Thanks,
Chris
Reply With Quote
  #37  
Old 05-13-2004, 12:59 PM
 
successful successful is offline
 

eXpert
  
Join Date: Sep 2002
Location: Brooklyn
Posts: 208
 

Default Re: moving customer folder contents

Quote:
Originally Posted by Chris B
Hi,

Using version 3.5.6. I moved the customer folder contents into the root folder and everything appears to work fine except the secure login still points to the /customer/ folder.

Any Ideas on a fix?

Thanks,
Chris

Chris,

How did you move that folder ?
__________________
Visit us at http://www.Successfulhosting.com
We\'ll make your web site a success!

Register your own domain name for only $14.99 at http://DiscountDomainRegistry.com
Reply With Quote
  #38  
Old 05-13-2004, 01:43 PM
 
Chris B Chris B is offline
 

eXpert
  
Join Date: Oct 2002
Posts: 226
 

Default Re: moving customer folder contents

I just moved the contents... Is there a config file change which has to be made?

I didn't do it during the original install...

Thanks,
Chris
Reply With Quote
  #39  
Old 05-15-2004, 08:58 AM
  adpboss's Avatar 
adpboss adpboss is offline
 

X-Man
  
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 2,389
 

Default

Quote:
Originally Posted by jordan0
I changed the line in my index.php from:
Code:
header("Location: index.html");
to
Code:
header("Location: customer/home.php");
and that just goes straight to my catalog page with no redirect when the site is loaded. I have no index.html of course.

i have no idea if this is bad for search engine ranking or what. my site is not completely "live" yet, although we are filling orders. I am curious to hear about whether or not this is a good idea.

Will this work if I change the header location to

Code:
header("Location: catalog/index.html");

For my latest project I want people in the html catalog whenever possible. This store will rarely need catalog updates or regens.

UPDATED: IT DOES WORK!! WOOHOO!
Reply With Quote
  #40  
Old 05-18-2004, 04:27 PM
 
Juliann Juliann is offline
 

Newbie
  
Join Date: May 2004
Posts: 2
 

Default Re: moving customer folder contents

Quote:
Originally Posted by successful
Quote:
Originally Posted by Chris B
Hi,

Using version 3.5.6. I moved the customer folder contents into the root folder and everything appears to work fine except the secure login still points to the /customer/ folder.

Any Ideas on a fix?

Thanks,
Chris

Chris,

How did you move that folder ?

I did the same thing that Chris did- altho I did have to make a copy of my top.inc.php file and place that at the root directory as well. Everything works & looks great until one logs in.

I am having problems when logged in as eveything is still pointing back to install/customer instead of my root directory. Any ideas on what to do to fix that?

Changing the customer directory in top.inc.php doesn't seem to work. What is the syntax for it to point to root?

I tried-
define ('DIR_CUSTOMER', '');
and that didn't fix it!

Any help would be really appreciated
-Juliann
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 12:48 PM.

   

 
X-Cart forums © 2001-2020