Philster Posted March 31, 2003 Share Posted March 31, 2003 Hi, I'm almost finished my project, and want to move the admin folder from www.winecharm.co.uk/admin/ to a sub domain, along the lines of subdomain.winecharm.co.uk. However, when I do this, none of the links work. The default page loads up fine, but the links are pointing to http://winecharm.co.uk as opposed to http://subdomain.winecharm.co.uk. The config file for admin is as follows: define('HTTP_SERVER', 'http://subdomain.winecharm.co.uk'); define('HTTPS_SERVER', ''); define('HTTP_CATALOG_SERVER', 'http://www.winecharm.co.uk'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL', 'false'); define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); define('DIR_WS_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); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_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_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); Using these settings, NONE of the links point to http://subdomain.winecharm.co.uk. Any ideas how to fix this? Is there another file that controls such variables? Any help would be VERY MUCH appreciated!! :D Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.