Zen Cart Logo
Forums / Installing on a Linux/Unix Server / How do I change the home URL?

How do I change the home URL?

Locked

Views: 3,622

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
23 Apr 2009, 2:00 AM
#1
onejimb avatar

onejimb

New Zenner

Join Date:
Apr 2009
Posts:
31
Plugin Contributions:
0

How do I change the home URL?

I am setting up zencart and need when a client presses a "Home" button it links to index.php on the root directory. The hosting company uses a priority of index.html and second index.php.

I want a client to see the index.html file when they enter my URL. The index.html file would say something like "Under Construction"

If I want to debug the program I would enter https://www.sitename.com/index.php

Since the hosting company links clients first to index.html clients will see the Under Constructions page.

Currently if I press a Home button in zencart it will link me to index.html not index.php

Welcome any thoughts****

23 Apr 2009, 2:36 AM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,793
Plugin Contributions:
15

Re: How do I change the home URL?

Since the customer would have to know to type /index.php on the end of the URL to even find the HOME button, changing it would have little effect.

Like they say, "Locks are for honest folks."

You're unable to utilize "Down for Maintenance"?

23 Apr 2009, 1:50 PM
#3
onejimb avatar

onejimb

New Zenner

Join Date:
Apr 2009
Posts:
31
Plugin Contributions:
0

Re: How do I change the home URL?

This is just for testing the site where I dont want customers to find the site during this period. During testing when customers enter the URL, the server would automatically direct them to index.html

After the site debuged I will remove the file index.html.

Then once the site is developed I would remove the index.html file. Then when customers type in just the URL, the server will automatically direct them to index.php

The problem now is that zen cart uses index.html as the home url and I want it to use index.php

Thanks, what would you suggest.

23 Apr 2009, 5:07 PM
#4
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,793
Plugin Contributions:
15

Re: How do I change the home URL?

down for maintenance

24 Apr 2009, 2:25 PM
#5
indy1307 avatar

indy1307

New Zenner

Join Date:
Jan 2009
Location:
Ireland
Posts:
19
Plugin Contributions:
0

Re: How do I change the home URL?

onejimb:

I am setting up zencart and need when a client presses a "Home" button it links to index.php on the root directory. The hosting company uses a priority of index.html and second index.php.

I want a client to see the index.html file when they enter my URL. The index.html file would say something like "Under Construction"

If I want to debug the program I would enter https://www.sitename.com/index.php

Since the hosting company links clients first to index.html clients will see the Under Constructions page.

Currently if I press a Home button in zencart it will link me to index.html not index.php

Welcome any thoughts****
hi.

you have to change the rewrite mode in .htaccess file, index.html to index.php.

Indy

http://www.webdesign-creative.com

27 Apr 2009, 10:45 AM
#6
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Re: How do I change the home URL?

Go into the site's admin section...

Select, under the Configuration menu, Website Maintenance.

Make your choices there. No need for any fiddling at the server level.

27 Apr 2009, 8:26 PM
#7
onejimb avatar

onejimb

New Zenner

Join Date:
Apr 2009
Posts:
31
Plugin Contributions:
0

Re: How do I change the home URL?

Thanks for your help.

28 Apr 2009, 4:47 AM
#8
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,793
Plugin Contributions:
15

Re: How do I change the home URL?

Tyrell,
?!?

31 May 2009, 12:18 AM
#9
danilyn22 avatar

danilyn22

Zen Follower

Join Date:
Dec 2008
Location:
California
Posts:
102
Plugin Contributions:
0

Re: How do I change the home URL?

I have the store set up in a sub-directory and would like the viewer to go back to the main site and not to the home page of the store. I read the above thread and it did not really make much sense. I was not able to find a "more Actions" button

Can anyone tell me where to change the URL of the Home Link

31 May 2009, 12:31 AM
#10
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,793
Plugin Contributions:
15

Re: How do I change the home URL?

You can hard-code a link to yourwebiste.com from the nav in yourwebsite.com/shop BUT.....

Let's say the customer has picked out $375 of your product. However, just before adding that big ticket $975 item, they decide to take a look at the website's "home". If you don't have it set to open in a new window, their existing $375 cart will disappear.:ohmy:

Got to be careful not to lose that session id.:yes:

31 May 2009, 1:40 AM
#11
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: How do I change the home URL?

The "more actions" and all the other buttons mentioned are part of some unknown (to us) program that Tyrrell is using (maybe an SEO mod?), and have nothing to do with standard Zen Cart.