
Originally Posted by
kobra
...
Thank you. I just reviewed the error log again and GoogleBot seems to have solved itself out. I still want to confirm that the configure.php is correct though. I do not feel comfortable writing out the urls here, but i can disguise it (call it secretive...)
To clearify (to myself mostly as I'm not 100% sure this is the way to do it)
domain.com is the actual domain the customers type to get to the shop. All the links (as i write them in relative terms) should be pointed directly to domain.com, e.g. http://domain.com/index.php?main_page=about_us.
The ftp folder structure is /public_html/domain.com/ in which where admin, includes etc reside. When I build the shop I added domain.com as an addon domain to my top domain (hereby called whatever.com), i.e. (removing language differences) a folder (domain.com) was created by cpanel. In this folder the shop is located. When I build the shop i accessed it through whatever.com/domain.com/index.php?main_page=index. When building was completed I pointed domain.com through my registrar to the new server DNS, thereby accessing the folder /public_html/domain.com by typing domain.com.
Is this a correct workflow? Everything seems to be working (people are shopping), but I the google errors make me unsure bots are indexing the site properly.
public_html/domain.com/includes/configure.php prior to pointing domain.com to the server:
Code:
// Define the webserver and path parameters
// HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
// HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
define('HTTP_SERVER', 'http://whatever.com');
define('HTTPS_SERVER', 'https://whatever.com');
// Use secure webserver for checkout procedure?
define('ENABLE_SSL', 'false');
// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_CATALOG', '/domain.com/');
define('DIR_WS_HTTPS_CATALOG', '/domain.com/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');
define('DIR_WS_PHPBB', '/');
// * DIR_FS_* = Filesystem directories (local/physical)
//the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
define('DIR_FS_CATALOG', '/home/accountname/public_html/domain.com/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
and after my edit:
Code:
// Define the webserver and path parameters
// HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
// HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
define('HTTP_SERVER', 'http://domain.com');
define('HTTPS_SERVER', 'https://domain.com');
// Use secure webserver for checkout procedure?
define('ENABLE_SSL', 'false');
// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');
define('DIR_WS_PHPBB', '/');
// * DIR_FS_* = Filesystem directories (local/physical)
//the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
define('DIR_FS_CATALOG', '/home/accountname/public_html/domain.se/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
and /admin/includes/configure.php in a similar fashion.
Google error code
Code:
[Thu Dec 09 13:57:43 2010] [error] [client 66.249.71.230] File does not exist: /home/accountname/public_html/domain.com/404.shtml
[Thu Dec 09 13:57:43 2010] [error] [client 66.249.71.230] File does not exist: /home/accountname/public_html/domain.com/domain.com
Another question out of the blue regarding this addon domain thing. Where should I put robots.txt? I've put
Code:
User-agent: *
Disallow: /bmz_cache/
in it, but should it be positioned in public_html/ or public_html/domain.com? Path to the cache folder is public_html/domain.com/bmz_cache
Thanks a bunch for reading all this, it means the world to me!