thecustomshop Posted April 24, 2008 Share Posted April 24, 2008 The hosting company moved our root directory, and now I need to redirect oscommerce catalog directories to the corrected URL. How can I do this? Need to change: D:/clients/C3683/..... to C:/clients/C3683/..... Link to comment Share on other sites More sharing options...
ruizerwin Posted April 24, 2008 Share Posted April 24, 2008 edit your index home directory. <?php header('Location: http://your domain/your file/'); ?> Hope it help Erwin D. Padilla Web Developer and Linux Admin Link to comment Share on other sites More sharing options...
thecustomshop Posted April 24, 2008 Author Share Posted April 24, 2008 edit your index home directory. <?php header('Location: http://your domain/your file/'); ?> Hope it help Which file should I be editing? I cant seem to find the correct index file. Link to comment Share on other sites More sharing options...
youcool51 Posted April 24, 2008 Share Posted April 24, 2008 hi, open includes/configure.php find define('DIR_FS_CATALOG','your root directory'); replace with define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])); hope it helpful Link to comment Share on other sites More sharing options...
thecustomshop Posted April 28, 2008 Author Share Posted April 28, 2008 Im still getting an error message in the admin panel about the image directory not pointing towards the correct location. Link to comment Share on other sites More sharing options...
thecustomshop Posted April 28, 2008 Author Share Posted April 28, 2008 No one? Link to comment Share on other sites More sharing options...
thecustomshop Posted April 29, 2008 Author Share Posted April 29, 2008 Still looking for suggestions on this one... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.