Forums / General Questions / What Unique Name Did You Name Your Cart? www.MyDomain.com/??

What Unique Name Did You Name Your Cart? www.MyDomain.com/??

Views: 1,153

Results 1 to 14 of 14
6 Jun 2013, 6:51 PM
#1
powrwrap avatar

powrwrap

New Zenner

Join Date:
Mar 2011
Posts:
39
Plugin Contributions:
0

What Unique Name Did You Name Your Cart? www.MyDomain.com/??

I just upgraded from 1.38a to 1.51 and am about to rename my test site. Currently it is in folder ZenCartUpgrade. Of course I don't want customers to go to my site and see https://www.MyDomainName.com/ZenCartUpgrade/ when they visit the store. So I'm trying to come up with a catchy, clever name to use for the URL of my store. I think most people probably use zencart, as in www.MyDomain.com./zencart/

What unique name did you name the zen cart shopping cart?

6 Jun 2013, 7:00 PM
#2
allthingsidleroy avatar

allthingsidleroy

New Zenner

Join Date:
May 2013
Posts:
38
Plugin Contributions:
0

Re: What Unique Name Did You Name Your Cart? www.MyDomain.com/??

Your site root isn't the zencart folder itself? So, your homepage is https://www.example.com/zencart instead of https://www.example.com?

Anyway, why aren't you doing this on a development server, or a test server, or somewhere that cannot potentially mess with your website?

I suppose I would name it "willnevertypethisin" because I suppose no one will ever type that in.

6 Jun 2013, 7:15 PM
#3
powrwrap avatar

powrwrap

New Zenner

Join Date:
Mar 2011
Posts:
39
Plugin Contributions:
0

Re: What Unique Name Did You Name Your Cart? www.MyDomain.com/??

allthingsidLeroy:

Your site root isn't the zencart folder itself? So, your homepage is https://www.example.com/zencart instead of https://www.example.com?

Anyway, why aren't you doing this on a development server, or a test server, or somewhere that cannot potentially mess with your website?

I suppose I would name it "willnevertypethisin" because I suppose no one will ever type that in.

My home page is https://www.MyDomain.com. My store is at MyDomain.com/zencart

I am doing it on a test server. My live site cart is at MyDomain.com/zencart. My test site cart is at MyDomain.com/ZenCartUpgrade.

So, I'm going to have to swap out the URL where my website points to the shopping cart. Which means (I think) I'm going to have to rename some folders. So I might name my shopping cart:

MyDomain.com/shop
or
MyDomain.com/store
or
MyDomain.com/cart
or
MyDomain.com/ShopTilDrop
or
MyDomain.com/bargains

etc.

In other words, it need not be
MyDomain.com/zencart
does it?

6 Jun 2013, 8:37 PM
#5
powrwrap avatar

powrwrap

New Zenner

Join Date:
Mar 2011
Posts:
39
Plugin Contributions:
0

Re: What Unique Name Did You Name Your Cart? www.MyDomain.com/??

stevesh:

No it doesn't, but many here, including me, believe that your store should be in the root (mydomain.com) of your site and not in a subdirectory.

http://www.zen-cart.com/content.php?160-i-have-installed-zen-cart-to-a-directory-how-do-i-rename-or-move-that-directory

I'm such a rookie. Upon further review my store is in my root directory, not in a subdirectory. I just assumed when I type https://www.mydomain.com/ZenCartUpgrade in my browser's address bar that it meant ZenCartUpgrade was a subdirectory.

6 Jun 2013, 9:56 PM
#6
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: What Unique Name Did You Name Your Cart? www.MyDomain.com/??

powrwrap:

I'm such a rookie. Upon further review my store is in my root directory, not in a subdirectory. I just assumed when I type https://www.mydomain.com/ZenCartUpgrade in my browser's address bar that it meant ZenCartUpgrade was a subdirectory.
That's exactly what it means, unless you have some sort of redirect set up. When you look at your folders and files with your FTP program, what directory (folder) are your Zencart files in ?

6 Jun 2013, 10:20 PM
#7
powrwrap avatar

powrwrap

New Zenner

Join Date:
Mar 2011
Posts:
39
Plugin Contributions:
0

Re: What Unique Name Did You Name Your Cart? www.MyDomain.com/??

stevesh:

That's exactly what it means, unless you have some sort of redirect set up. When you look at your folders and files with your FTP program, what directory (folder) are your Zencart files in ?

My live site is in a folder named zencart
My test site is in a folder named ZenCartUpgrade

These folders are on the same level as these folders
hcc.thumbs
db_backups
assets
cgi
images
local
manager
slides
stats
templates

the next level up is simply /

6 Jun 2013, 10:45 PM
#8
drbyte avatar

drbyte

Sensei

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

Re: What Unique Name Did You Name Your Cart? www.MyDomain.com/??

Why change it at all?

The best way to do it is to keep it in whatever location it's been at for the past several years. Otherwise you lose search-engine rankings, and break peoples' bookmarks etc.

Related: http://www.zen-cart.com/entry.php?3-How-do-I-rebuild-my-site-on-the-new-version-instead-of-upgrading

.
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.

6 Jun 2013, 10:48 PM
#9
gjh42 avatar

gjh42

Black Belt

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

Re: What Unique Name Did You Name Your Cart? www.MyDomain.com/??

Are these folders in a server folder named /public_html/ or /www/ or /htdocs/, or the like? That would indicate that your live store and your test store are both in subfolders of your main domain. The question is, why do you think it is better for your business to be insulated from visitors by another layer of web pages? Would your business benefit from being the first thing visitors to your domain see?

Of course, existing search engine rankings are a real factor to consider. If your store is now at /Zencart/, perhaps best to keep it there even if that is not the finest possible part of your address.

7 Jun 2013, 2:38 PM
#10
powrwrap avatar

powrwrap

New Zenner

Join Date:
Mar 2011
Posts:
39
Plugin Contributions:
0

Re: What Unique Name Did You Name Your Cart? www.MyDomain.com/??

DrByte:

Why change it at all?

The best way to do it is to keep it in whatever location it's been at for the past several years. Otherwise you lose search-engine rankings, and break peoples' bookmarks etc.

This is a compelling argument. If I go this route, and I think I will, this means that I will need to take down my live site currently in folder /zencart, rename that folder zencart_old (or something similar) rename my test site's ZenCartUpgrade folder to zencart and then find every instance of ZenCartUpgrade in the test site and rename it zencart (as in /includes/configure.php and others). Is this correct?

If this is the correct way to proceed, I can use the Developers Tool Kit in the admin area to search for usages of ZenCartUpgrade. Is there a FAQ on globally renaming folders?

7 Jun 2013, 2:47 PM
#11
powrwrap avatar

powrwrap

New Zenner

Join Date:
Mar 2011
Posts:
39
Plugin Contributions:
0

Re: What Unique Name Did You Name Your Cart? www.MyDomain.com/??

gjh42:

Are these folders in a server folder named /public_html/ or /www/ or /htdocs/, or the like? That would indicate that your live store and your test store are both in subfolders of your main domain.

I don't think the live and test stores are in subfolders. Here is my root folder of my website, as seen in FileZilla:

Attachment 12628

/zencart is my live store
/ZenCartDemo is v1.51 with demo files which I used to play around with (I will delete that)
/ZenCartUpgradeTest is my test store that is ready to go live.

7 Jun 2013, 2:59 PM
#12
gjh42 avatar

gjh42

Black Belt

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

Re: What Unique Name Did You Name Your Cart? www.MyDomain.com/??

They are definitely in subfolders. If one were in the domain root, you would get to it just by entering https://www.mydomain.com.

You should not need to change any links or folder names aside from the two configure.php files, unless you have improperly hard-coded complete URLs in custom text/code.

7 Jun 2013, 3:59 PM
#13
powrwrap avatar

powrwrap

New Zenner

Join Date:
Mar 2011
Posts:
39
Plugin Contributions:
0

Re: What Unique Name Did You Name Your Cart? www.MyDomain.com/??

gjh42:

They are definitely in subfolders. If one were in the domain root, you would get to it just by entering https://www.mydomain.com.

You should not need to change any links or folder names aside from the two configure.php files, unless you have improperly hard-coded complete URLs in custom text/code.

The way it's set up now if I go to my web site, MyDomain.com and surf around there and then decide I want to buy something I click on the Shop Now button or the various Buy Now buttons. That takes me to the Zen shopping cart. The URL in the address bar now shows MyDomain.com/zencart/.

If I want to replace my live site (which is in folder /zencart) with my test site (which is in folder /ZenCartUpgradeTest) AND once completed I want the URL to show MyDomain.com/zencart/ how do I accomplish this? Don't I need to rename these two folders and alter the configure.php files?

7 Jun 2013, 4:11 PM
#14
allthingsidleroy avatar

allthingsidleroy

New Zenner

Join Date:
May 2013
Posts:
38
Plugin Contributions:
0

Re: What Unique Name Did You Name Your Cart? www.MyDomain.com/??

powrwrap:

If I want to replace my live site (which is in folder /zencart) with my test site (which is in folder /ZenCartUpgradeTest) AND once completed I want the URL to show MyDomain.com/zencart/ how do I accomplish this? Don't I need to rename these two folders and alter the configure.php files?

Assuming everything is setup correctly and you are absolutely sure you want this to go 'live', then, yes, that's what you need to do.