harry2008 Posted October 18, 2008 Share Posted October 18, 2008 Hi everyone, My website was installed on the root, but i moved it under catalog file. Everything is working fine, except when i try to enter my website by typing www.mydomain.com it is giving 404 page error. But when i type as www.mydomain.com/catalog it is working fine but when i click on the categories it is resulting 404 page error again. However,,when i click on top menu like (home page, new products, specials.) and then click on categories, all categories working and displaying the products. Can anyone please help!! Many thanks in advance peeps. Have all great weekend Link to comment Share on other sites More sharing options...
Guest Posted October 18, 2008 Share Posted October 18, 2008 you just need to update your admin/includes/configure.php and includes/configure.php and add catalog so change this / to this /catalog or the like Link to comment Share on other sites More sharing options...
harry2008 Posted October 18, 2008 Author Share Posted October 18, 2008 you just need to update your admin/includes/configure.php and includes/configure.php and add catalog so change this / to this /catalog or the like Hi Simon, This is my catalog/includes/configure.php define('HTTP_SERVER', 'http://www.bijoux-elegancia.com/catalog'); define('HTTPS_SERVER', 'https://www.bijoux-elegancia.com/catalog'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', '.bijoux-elegancia.com'); define('HTTPS_COOKIE_DOMAIN', '.bijoux-elegancia.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/catalog'); // absolute path required (only catalog if not installed in root directory); define('DIR_WS_HTTPS_CATALOG', '/catalog'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); 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', 'pub/'); define('DIR_FS_CATALOG', '/home/bijoux-elegancia/public_html/catalog'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); And this is my catalog/admin/includes/configure.php define('HTTP_SERVER', 'http://bijoux-elegancia.com/catalog'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTPS_SERVER', 'https://bijoux-elegancia.com/catalog'); // eg, https://localhost - should not be NULL for productive servers define('ENABLE_SSL', false); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); // absolute path required define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'catalog/images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); 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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_PAYMENT_MODULES', DIR_FS_CATALOG . 'includes/modules/payment/'); define('DIR_FS_SHIPPING_MODULES', DIR_FS_CATALOG . 'includes/modules/shipping/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); define('DIR_FS_CACHE_XSELL', '/home/bijoux-elegancia/public_html/cache/'); Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.