Forums / General Questions / Putting all files from catalog folder straight into public_html folder!

Putting all files from catalog folder straight into public_html folder!

Views: 990

Results 1 to 5 of 5
11 Mar 2016, 7:20 PM
#1
man_from_mars avatar

man_from_mars

New Zenner

Join Date:
Mar 2015
Location:
Broadchurch
Posts:
77
Plugin Contributions:
0

Putting all files from catalog folder straight into public_html folder!

I'm having a problem (and customers) accessing my site using *.co.uk and not a full URL https://www..co.uk/catalog/index.php (which works fine). I have moved my site to its own hosting package and I am told by my hosting company, the only way that a short URL will work is to move all the contents of the catalog folder into the public_html folder. In the old package a web forwarding instruction and DNS setting adjustment was all that was needed to make my site work as it should. My question is, how would this work? I am worried that there will be loads of files that would need to be changed. Is this correct. I am not going to touch any file or folders until I'm absolutely sure of the consequence.
Be glad of any input. :unsure:

11 Mar 2016, 7:41 PM
#2
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: Putting all files from catalog folder straight into public_html folder!

If you have maintained your site as suggested (ie, not used hard coded links to the version stored in a sub-directory) then need only follow the following FAQ instruction: https://www.zen-cart.com/content.php?160-i-have-installed-zen-cart-to-a-directory-how-do-i-rename-or-move-that-directory

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

11 Mar 2016, 9:31 PM
#3
man_from_mars avatar

man_from_mars

New Zenner

Join Date:
Mar 2015
Location:
Broadchurch
Posts:
77
Plugin Contributions:
0

Re: Putting all files from catalog folder straight into public_html folder!

Thanks for the link https://www.zen-cart.com/content.php...that-directory.

My actual catalog folder resides in the servers public_html. What my host provider is suggesting that I remove all the files out of 'catalog folder' and just drop them in public_html, so there will be NO catalog named folder. I think the link you gave me is for renaming 'catalog' is that correct?

11 Mar 2016, 10:28 PM
#4
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: Putting all files from catalog folder straight into public_html folder!

Man from Mars:

Thanks for the link https://www.zen-cart.com/content.php...that-directory.

My actual catalog folder resides in the servers public_html. What my host provider is suggesting that I remove all the files out of 'catalog folder' and just drop them in public_html, so there will be NO catalog named folder. I think the link you gave me is for renaming 'catalog' is that correct?

Use the process you wish, but if unable through your site's cpanel to move the contents and subfolders from /catalog/ to /, then I would at least keep the files. In the catalog directory until verified that everything existed in the root directory before deleting the catalog directory.

The instructions provided are for relocating the store to whatever directory, whether renamed say from /catalog/ to /store/ or in this case from /catalog/ to /.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

12 Mar 2016, 1:29 AM
#5
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Putting all files from catalog folder straight into public_html folder!

Bear in mind that the configure.php files also state the paths.

20 years a Zencart User