| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Splash Page Alternatives | ||||
|
|
Thread Tools | Search this Thread |
#21
|
|||||||||
|
|||||||||
http://shop.mpartworks.com
we just put the store in the root directory of the subdomain we created for our store... therefore, no splash page, no redirect, etc etc... pretty easy mod too!
__________________
~jaime* shop.mpartworks.com ~~~~~~~~~~~~~~ xcart pro 3.5.5 heavily modified freeBSD 4.8 php 4.3.3 |
|||||||||
#22
|
|||||||
|
|||||||
Quote:
http://shop.mpartworks.com still redirects to http://shop.mpartworks.com/home.php so what do you mean by "no redirect"? |
|||||||
#23
|
|||||||||
|
|||||||||
Quote:
Meaning that there isnt a PHP file in the root that redirects to www.sitename.com/xcart/customer/home.php Every site needs a root page. For their site the page is home.php putting the store in the root directory of the subdomain is a great idea.
__________________
Site 1 > XCART LIVE 3.4.12 Site 2 > XCART LIVE 4.0.17 |
|||||||||
#24
|
|||||||
|
|||||||
Quote:
Not correct. http://shop.mpartworks.com/ actually loads http://shop.mpartworks.com/index.php which then redirects to http://shop.mpartworks.com/home.php - try entering http://shop.mpartworks.com/ here: http://www.rexswain.com/httpview.html |
|||||||
#25
|
|||||||||
|
|||||||||
Sorry. This discussion exhausts me. Would someone else like to offer their assistance?
Im setting my preference as "unwatch topic" so no more replies from me...
__________________
Site 1 > XCART LIVE 3.4.12 Site 2 > XCART LIVE 4.0.17 |
|||||||||
#26
|
|||||||
|
|||||||
Quote:
The question remains unaswered which I agree is exhausting. In the above site there is a redirect going on, but my question of how one sets the option mentioned of... "starting from X-Cart version 3.5.* you can rename customer/ directory as you want and even put it to your root directory (and cart URLs will look like www.shop.com, www.shop.com/home.php, www.shop.com/product.php, not as www.shop.com/customer/home.php)..." ...remains unaswered. |
|||||||
#27
|
|||||||
|
|||||||
Quote:
I see this topic got sidelined. There's an easy solution for you. Each server has a list of pages that it will go to first when your page is called for. It usually goes in this order: index.htm, index.php, home.htm, home.php. Try deleting index.php and see if your site will automatically go to home.php. If it doesn't, call your host and ask them to change your index file to home.php. |
|||||||
#28
|
|||||||||
|
|||||||||
Here is some more information on the redirects and what you should and should not do.
First, you should not use the page that installs with X-Cart. It used a header redirect that generates a 302 error code. A 302 is a temporary redirect and some search engines do not like that. The reason that they do not like it is that it is a common thing for people to do to try to get better listings. They will register multiple domain names, create redirect pages to one single site and then register all the domain names with the search. Google "frowns" on this. What you should have your site do is generate a 301 code for a redirect. This is a permanent redirect. The best way to do this is through the .htaccess file. You should create entries like this: Code:
This assumes that this is the path to your catalog. It also covers all three instances of standard index pages that are configured with *NIX servers. It is important that you precede each listing with Redirect permanent and not just Redirect. The former generates a 301 code and the later will still generate a 302 code. |
|||||||||
#29
|
|||||||||
|
|||||||||
the answer
Thanks TelaFirma - thats some good advice!
Yes, temporarily, my index.php file redirects to home.php. OMG! i'll have to remake my index to be home.php - the tragedy - my point was, it was not redirecting to some subdirectory, which IMO sucks... there was no need for the exhausting discussion, just a typing error on my part anyhow, the answer to how to change the customer or any other directory lies in the top.inc.php file - Quote:
__________________
~jaime* shop.mpartworks.com ~~~~~~~~~~~~~~ xcart pro 3.5.5 heavily modified freeBSD 4.8 php 4.3.3 |
|||||||||
#30
|
|||||||||
|
|||||||||
I looked through the html_catalog.php and I think I have an idea of how to generate the catalog index in the site root but I don't have time or the abililty to test right now.
It would be darn helpful for someone to post that information if they were willing to share. |
|||||||||
|
|||
X-Cart forums © 2001-2020
|