New Zenner
- Join Date:
- Oct 2006
- Posts:
- 25
- Plugin Contributions:
- 0
Change the site path/folder on my server
I have my store at /zen right now.
I would like to change it now to my home directory of just /
Where do I make that change?
Thanks.
Views: 4,839
New Zenner
I have my store at /zen right now.
I would like to change it now to my home directory of just /
Where do I make that change?
Thanks.
Totally Zenned
Better make a index.html file in the root and redirect it to zen directory!
Oba-san
Redirects are not the solution ...
If you were to use a redirect, you would do a true redirect via your Control Panel so that the Search Engines do not abandon you ...
If you really physically want to move your site up one level from:
/zen
into the root:
/
Move everything up one level into the root directory ...
WARNING: look in your root directory first, is there anything you are about to wipe out with duplicate names, directories, etc.?
Edit the files:
/includes/configure.php
/admin/includes/configure.php
Change all references to the directory /zen/ to be / in all of the defines ...
New Zenner
If I wanted to do a redirect in my control panel, what files would I need to edit in order to keep the site working properly?
Thanks!
New Zenner
I did a redirect from my control panel, edited the configure files, all works great with one hiccup.
The login buttons don't take me to the right location anymore. The domain is https://www.valleymeals.com. Any suggestions?
Totally Zenned
brownsgreens:
I did a redirect from my control panel, edited the configure files, all works great with one hiccup.
The login buttons don't take me to the right location anymore. The domain is https://www.valleymeals.com. Any suggestions?
I created a login and id and it works. Can you please elaborate more on the problem?
Also, Home link doesnt works!
http://www.valleymeals.com/
EDITED: Never, ever post the zen_id or zenAdminID (session id) in a forum, email, newsgroup, newsletter, advertisement, etc. etc. etc. or you will be doomed ... :eek:
New Zenner
Yes, it works now... :)
I think the server was just still updating.
Thanks!
I'm not sure about the home button not working, it's working for me. But we're working on the site as I type, so maybe something was being worked on right when you tried.
It should work now.
Totally Zenned
Fine, it works now! :yes:
Sensei
The URL posted by superprg doesn't look healthy.
The proper way to move your site from one folder to another is documented here:
http://www.zen-cart.com/wiki/index.php/Server_Admin_-_Change_Folders
New Zenner
DrByte:
The URL posted by superprg doesn't look healthy.
The proper way to move your site from one folder to another is documented here:
http://www.zen-cart.com/wiki/index.php/Server_Admin_-_Change_Folders
Hi all,
Newb here. I followed the directions listed in the link above, to move my cart from folder /cart to /coast, but I'm getting the following errors when I try to view the cart, or the admin section:
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/XXXXXX/public_html/coast/includes/configure.php:67) in /home/XXXXXX/public_html/coast/includes/functions/sessions.php on line 102
Any ideas?
Sensei
you have a blank line at the bottom of your includes/configure.php file.
https://www.zen-cart.com/tutorials/index.php?article=87
Chances are that your FTP program has left all your files with double-spacing. This can make life ugly. You might want to check your FTP program to be sure that it doesn't upload *.php files as binary. It needs to treat them as Ascii or Text files.
New Zenner
Thanks DrByte, I'll go check that out.
New Zenner
yep, that was it. There were two extra blank lines at the bottom of the file.
Now, I have a kind of related question...
if I have the files set up as https://www.mydomain.com/coast, will it cause problems if I make a subdomain and have users use coast.mydomain.com?
Sensei
Pitrow:
yep, that was it. There were two extra blank lines at the bottom of the file.
Now, I have a kind of related question...
if I have the files set up as https://www.mydomain.com/coast, will it cause problems if I make a subdomain and have users use coast.mydomain.com?
You can set your site up like that if you like. You'll need to ensure that your configure.php files have the proper details to support it.
Namely the HTTP_XXXXXXX_SERVER and DIR_WS_XXXXXX_CATALOG settings.
Tell staff why this post should be reviewed.