misohoni Posted February 1, 2004 Share Posted February 1, 2004 I understand that I need to change the "configure" files in order to move the site out of the pre-configured catalog/ directory. However, ., There are many directories in catalog/ I don't want to move them into my root folder. Is there anyway I can keep the files and folders in that directory and only have index.php outside in the root? Link to comment Share on other sites More sharing options...
googly Posted October 25, 2005 Share Posted October 25, 2005 I understand that I need to change the "configure" files in order to move the site out of the pre-configured catalog/ directory. However, ., There are many directories in catalog/ I don't want to move them into my root folder. Is there anyway I can keep the files and folders in that directory and only have index.php outside in the root? Is this possible? Link to comment Share on other sites More sharing options...
david.stevenson Posted October 27, 2005 Share Posted October 27, 2005 Is this possible? Question, what are you trying to do? If you just want people browsing to your root to find your site. You can leave index.php in catalog and put a redirect in your root. <META HTTP-EQUIV="Refresh" CONTENT="0; URL=catalog/index.php"> works for me. David Link to comment Share on other sites More sharing options...
♥Vger Posted October 27, 2005 Share Posted October 27, 2005 Using meta refresh tags will get you heavily punished by search engines. The best option is to move all files/folders to the root. Vger Link to comment Share on other sites More sharing options...
ozstar Posted April 12, 2007 Share Posted April 12, 2007 Do you mean in essence the /catalog/ folder becomes the root, with all other folders staying the same? Changes only to catalog/configure.php or catalog/admin/configure.php as well? Thanks oz Link to comment Share on other sites More sharing options...
pulp2 Posted May 16, 2007 Share Posted May 16, 2007 Do you mean in essence the /catalog/ folder becomes the root, with all other folders staying the same? Changes only to catalog/configure.php or catalog/admin/configure.php as well? Thanks oz I am also wondering how to do this. If anyone can go into more detail it would be greatly appreciated. Link to comment Share on other sites More sharing options...
pulp2 Posted May 16, 2007 Share Posted May 16, 2007 Nevermind I just noticed there are a million posts on this. Just move all you files from catalog out into your root. Edit the configure files, includes/configure and admin/includes/configure and thats it. Link to comment Share on other sites More sharing options...
sugiartha Posted May 16, 2007 Share Posted May 16, 2007 I understand that I need to change the "configure" files in order to move the site out of the pre-configured catalog/ directory. However, ., There are many directories in catalog/ I don't want to move them into my root folder. Is there anyway I can keep the files and folders in that directory and only have index.php outside in the root? yes, possible. try to post your configure file. remove db section. Sugiartha ------------------------------------------ concept of life: enjoy aja! Link to comment Share on other sites More sharing options...
♥Vger Posted May 16, 2007 Share Posted May 16, 2007 Not possible - you need to move all of the files/folders in the 'catalog' folder down into the root of your web. You then edit both configure.php files and just remove the catalog/ entries Vger Link to comment Share on other sites More sharing options...
pulp2 Posted May 17, 2007 Share Posted May 17, 2007 When removing the catalog/entries, how do I edit lines with just the "catalog/" and no "entries"? Such as the fallowing: define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); define('DIR_WS_CATALOG', '/catalog/'); // absolute path required Or do I need to do anything to them at all? Thanks Link to comment Share on other sites More sharing options...
pulp2 Posted May 18, 2007 Share Posted May 18, 2007 When removing the catalog/entries, how do I edit lines with just the "catalog/" and no "entries"? Such as the fallowing: define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); define('DIR_WS_CATALOG', '/catalog/'); // absolute path required Or do I need to do anything to them at all? Thanks I think I figured it out, correct me if Im wrong; but if anyone else has problems with this the solution is: define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_CATALOG', '/'); // absolute path required Link to comment Share on other sites More sharing options...
Guest Posted May 13, 2008 Share Posted May 13, 2008 Will this make the index.php page now the home page and relace the index.html page? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.