Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.

Change URL to lose the zencart at end

Locked

Started by amacole on 1 Nov 2007, 2:14 PM · Views: 5,666

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
1 Nov 2007, 2:14 PM
#1
amacole avatar

amacole

New Zenner

Join Date:
Oct 2007
Posts:
32
Plugin Contributions:
0

Post #1 by amacole

Hi all,
I've searched the forums for the past half hour and can't figure this out.
I want my site to be https://www.4kidzpartyz.com rather than the domain /zencart at the end. Is there a tutorial or quick fix for this? I'm sure there is, I'm not searching correctly I guess. Thanks,
Kathy

1 Nov 2007, 2:43 PM
#2
andrewclarke avatar

andrewclarke

New Zenner

Join Date:
May 2006
Location:
Isle of Wight, UK
Posts:
77
Plugin Contributions:
1

Post #2 by andrewclarke

amacole:

Hi all,
I've searched the forums for the past half hour and can't figure this out.
I want my site to be https://www.4kidzpartyz.com rather than the domain /zencart at the end. Is there a tutorial or quick fix for this? I'm sure there is, I'm not searching correctly I guess. Thanks,
Kathy

See this post, they wanted to do the same:

http://www.zen-cart.com/forum/showthread.php?t=78667

Andrew

Gloss Black Vista Buttons | FREE DOWNLOAD

1 Nov 2007, 9:02 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #3 by drbyte

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

1 Nov 2007, 11:30 PM
#4
amacole avatar

amacole

New Zenner

Join Date:
Oct 2007
Posts:
32
Plugin Contributions:
0

Post #4 by amacole

ok, I'm being told that to change the URL i would have to change it in the entire site, so everything I put up that has /zencart at the end would have to be changed to reflect this. If this is the case, they are saying it would be easier to just reinstall and start over.

my stomach hurts.

is this the case?

2 Nov 2007, 12:29 AM
#5
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Post #5 by merlinpa1969

unless you hardcoded a bunch of things, all you have to change are the includes/configure.php and the admin/includes/configure.php

and if you hard coded lots of things then you will have to manually change them no matter what you do

Zen cart PCI compliant Hosting

13 Nov 2007, 2:06 PM
#6
sotpshop avatar

sotpshop

New Zenner

Join Date:
Nov 2007
Posts:
3
Plugin Contributions:
0

Post #6 by sotpshop

I'm looking at the same thing, getting rid the "zencart" at the end of the url.
When ZC was installed, it went into a "zencart" sub-directory under the "public_html" on my host.
Can I just change the name of the zencart sub-directory and edit where ever "zencart" is referenced in the configur.php files?
thanks
rodgw

13 Nov 2007, 2:40 PM
#7
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Post #7 by afo

sotpshop:

I'm looking at the same thing, getting rid the "zencart" at the end of the url.
When ZC was installed, it went into a "zencart" sub-directory under the "public_html" on my host.
Can I just change the name of the zencart sub-directory and edit where ever "zencart" is referenced in the configur.php files?
thanks
rodgw

Yes, but whatever you name the sub-directory is going to show up at the end of the url.

For example, if the url is now mydomain.com/zencart and you change the name of the zencart subdirectory to shop, the url will be mydomain.com/shop.

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

13 Nov 2007, 2:42 PM
#8
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Post #8 by afo

amacole:

ok, I'm being told that to change the URL i would have to change it in the entire site, so everything I put up that has /zencart at the end would have to be changed to reflect this. If this is the case, they are saying it would be easier to just reinstall and start over.

my stomach hurts.

is this the case?

No, it won't be easier to reinstall and start over. Merlin's right. You just have move all the folders and files into the root and edit the two config files. I did this recently in the Fan Odyssey site in my sig.

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

13 Nov 2007, 3:53 PM
#9
sotpshop avatar

sotpshop

New Zenner

Join Date:
Nov 2007
Posts:
3
Plugin Contributions:
0

Post #9 by sotpshop

Thanks,
so one more questions.
If I change the zencart directory name to say "store" what happens with future ZC updates? Do they bounce off because the update can't find the zencart directory?
rodgw

13 Nov 2007, 4:33 PM
#10
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Post #10 by afo

It shouldn't make a difference because you should be telling it where your Zen Cart is installed. The best way to update/upgrade Zen Cart is to download the latest version from this site and then FTP the changes to your website. I'm not sure about doing it from Fantastico or any other installer.

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

13 Nov 2007, 10:06 PM
#11
sotpshop avatar

sotpshop

New Zenner

Join Date:
Nov 2007
Posts:
3
Plugin Contributions:
0

Post #11 by sotpshop

Great, thanks.
rodgw