Zen Cart Logo
Forums / General Questions / Changing address to store

Changing address to store

Views: 642

Results 1 to 6 of 6
26 Jan 2016, 3:37 AM
#1
parseraider avatar

parseraider

New Zenner

Join Date:
Oct 2015
Location:
Port Lavaca, Texas USA
Posts:
29
Plugin Contributions:
0

Changing address to store

Hello,
I was advised to change the name of my store to something other than zen-cart... I used /zen-cart6/

I am using : v1.5.4

I think I will make static page for all main level pages for current address to not lose people who bookmarked the pages. Actually I only have a dozen or so products so I could actually make static pages for all? Redirect pages is what I mean.

Then I will hopefully rename the zencart folder to new name /Pickle_Jar_101/

What else would I have to change to make this a smooth transition?
I am thinking paypal payment info and UPS/USPS/FEDX/ etc too.......... and external affiliate program and main info website but those last ones are ez for me.

Anything else come to mind? Database or config stuff?

Sincerely,
Mike

ultimatepicklejar.com/zen-cart6/

26 Jan 2016, 5:30 AM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Changing address to store

ParseRaider:

Hello,
I was advised to change the name of my store to something other than zen-cart... I used /zen-cart6/

I am using : v1.5.4

I think I will make static page for all main level pages for current address to not lose people who bookmarked the pages. Actually I only have a dozen or so products so I could actually make static pages for all? Redirect pages is what I mean.

Then I will hopefully rename the zencart folder to new name /Pickle_Jar_101/

What else would I have to change to make this a smooth transition?
I am thinking paypal payment info and UPS/USPS/FEDX/ etc too.......... and external affiliate program and main info website but those last ones are ez for me.

Anything else come to mind? Database or config stuff?

Sincerely,
Mike

ultimatepicklejar.com/zen-cart6/

With a stock ZC install only 2 files need to be modified: includes/configure.php and admin/includes/configure.php to reflect the new folder name as seen on the WS paths as well as the FS paths...

As for the redirects you could have your server do redirect the sub-folder from the old to the new sub-folder... Or if necessary perform the redirect via .htaccess... Everything else about the store would be the same as before...

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

27 Jan 2016, 7:56 AM
#3
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Changing address to store

ParseRaider:

Hello,
I was advised to change the name of my store to something other than zen-cart... I used /zen-cart6/

By whom? and Why?

Also, it is a little unclear from the above as to exactly what it is you are needing/wanting to change. The folder name and the store name are totally different and unrelated.

ParseRaider:

Then I will hopefully rename the zencart folder to new name /Pickle_Jar_101/

Ahah, so it is the folder name you wish to rename - again, why? If your configurations have been performed correctly no one will ever see the name of your zencart folder - and it really wouldn't matter if they did, because lets face it - you are running a store designed for public access - so this folder, and most folders underneath it actually need to be publically accessible. There is no point or purpose in trying to hide it.

The /admin/ folder is a different story of course - you don't want the public to access this folder, and ZenCart forces it to be remained and the guise of 'security' (although almost everyone with a clue knows that 'security by obscurity' isn't too much of a hinderance). It does stop many 'script kiddies' from hogging server resources though, so its not a bad thing.

Again, this doesn't apply to the store folder itself though, that needs to be publically accessible - and therefore easy for people to find/identify no matter what you decide to call it.

ParseRaider:

What else would I have to change to make this a smooth transition?

Seriously, if the store is currently working and is residing in a folder called /zencart/ just leave it.

Hmmm... just had a thought though, if the URL for your store is something like https://www.mydomain.com/zencart/ and your plan is to change it to https://www.mydomain.com/zen-cart6/ or ultimately https://www.mydomain.com/Pickle_Jar_101/ I again have to ask/wonder why? Isn't this just going to make user UNfriendly URL's (I've never heard of anyone wanting that before) ;-)

If this IS the format of your store URL then your best option would be to change the 'document root' (as well as the two zencart config file) so that it is accessible @ https://www.mydomain.com/ (no folder path name needed).

You can also achieve the same thing by moving all your files out of /public_html/zen-cart/ and placing them directly into the /public_html/ folder (which is probably your current 'document root'. Again, you'll need to edit the 2 zencart config files to reflect this change.

As I stated at the outset though, with the little information you have given it is a little unclear as to what it is you are wanting to do, and why.

Cheers
RodG

27 Jan 2016, 9:43 PM
#4
parseraider avatar

parseraider

New Zenner

Join Date:
Oct 2015
Location:
Port Lavaca, Texas USA
Posts:
29
Plugin Contributions:
0

Re: Changing address to store

So sorry for late responce. I was waiting for an email and never got one.

Yes it is not the store name I want to change but the address name or the folder name.

The reason for the redirects is an attempt to not lose any customers who may have bookmarked the old address or arriving from old links already out on the web.

I will try to do the suggestions you gave and see what happens.

Thanks for the replys and information.
Mike

27 Jan 2016, 9:47 PM
#5
parseraider avatar

parseraider

New Zenner

Join Date:
Oct 2015
Location:
Port Lavaca, Texas USA
Posts:
29
Plugin Contributions:
0

Re: Changing address to store

I have a pretty good IT department at my server. I will see how the .htaccess thing would work as it sounds like the less stressful idea so far. I have had a terrible night and and am not thinking real clear today :) I will be glad when this product launch is underway and I am just handling customer requests and complaints.
Thanks much for information shared and time it took to share it. I had thought no one would answer as I was expecting email telling me of a responce. and I never got one.
Sincerely,
Mike

28 Jan 2016, 6:37 AM
#6
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Changing address to store

ParseRaider:

Yes it is not the store name I want to change but the address name or the folder name.

The question still remains WHY? Exactly what is it that you are trying to achieve? Why create work for yourself that probably isn't needed?

ParseRaider:

The reason for the redirects is an attempt to not lose any customers who may have bookmarked the old address or arriving from old links already out on the web.

Thanks. Until now I thought redirects were only used to create 'pretty URL's. <grin>

ParseRaider:

I will try to do the suggestions you gave and see what happens.

Bearing in mind that I made no suggestions whatsoever - I simply don't have the information needed to make one.

I gave a couple of scenarios that I was hoping you would tell me/us which applies in your particular situation, and from there I was going to make my suggestions.

Cheers
Rod.

ps. Not impressed that your "pretty good IT department" is going to take the 'htaccess' route when the 'document root' method is probably a better solution (depending on the scenario). However I can't say I'm surprised, nothing gets abused as much these days as the .htaccess file. <sigh>. I know nothing though.