francisbay Posted October 5, 2005 Posted October 5, 2005 I searched the board before thinking of posting this question. I also searched the contribution lists. Can you give me a tip or guide? I want to rename the folder "catalog" to "store". so that it will appear as www.domain.com/store What is the best way of doing this and the fast way so that all files will read the new folder name "store" rather than "catalog"? Please point me to the right answer. Thank you in advance. :) _____________________________________________________________________________ I manage to combine (products tab, review, xsell, prod attrib with a little change on the code i made to sweet enough the multi images i created) into products_info.php xsell_v2.3 --> 80% working only. The cache folder does not update and no one can answer it. CCGV Certapay Fancier_Invoice_&_Packingslip_v6.1 Header Tags LoginboxV5.4_in_header osCommerce-PayPal_IPN-v1.1 Products_Sold_v1.2 Registry Registry Manager Site Map MS2 - 2.3
241 Posted October 5, 2005 Posted October 5, 2005 rename the directory catalog to store and then in both admin and catalog includes/configure.php files change the paths to be store instead of catalog, however do not change the initial define example define('DIR_WS_HTTP_CATALOG', '/catalog/'); would become define('DIR_WS_HTTP_CATALOG', '/store/'); No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
tmgrood Posted October 6, 2005 Posted October 6, 2005 rename the directory catalog to store and then in both admin and catalog includes/configure.php files change the paths to be store instead of catalog, however do not change the initial define example define('DIR_WS_HTTP_CATALOG', '/catalog/'); would become define('DIR_WS_HTTP_CATALOG', '/store/'); So are you saying that within both configure files I would need to change anything pertaining to or pointing to the /catalog/ file be changed to /store/, or just the two that you showed? thanks. I'm a victim of circumstance
241 Posted October 6, 2005 Posted October 6, 2005 The former not the later I have only shown ONE example of what to do. Yes you will need to change each instance :-" No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
francisbay Posted October 7, 2005 Author Posted October 7, 2005 The former not the later I have only shown ONE example of what to do. Yes you will need to change each instance :-" Thank you for your help. That was a fast reply.. _____________________________________________________________________________ I manage to combine (products tab, review, xsell, prod attrib with a little change on the code i made to sweet enough the multi images i created) into products_info.php xsell_v2.3 --> 80% working only. The cache folder does not update and no one can answer it. CCGV Certapay Fancier_Invoice_&_Packingslip_v6.1 Header Tags LoginboxV5.4_in_header osCommerce-PayPal_IPN-v1.1 Products_Sold_v1.2 Registry Registry Manager Site Map MS2 - 2.3
Jes1FromFL Posted October 7, 2005 Posted October 7, 2005 Can someone list all the files that define that? Or is it just those two files?
Jes1FromFL Posted October 10, 2005 Posted October 10, 2005 Ok. I did this, but for the osCommerce directory. But now I can't log in to my admin. User name and/or pw is incorrect..?? Is there another step?
Guest Posted October 31, 2005 Posted October 31, 2005 Hi thre How could I achive this once the configuration files have been deleted? Or even better, is there any way of having the index.php homepage on the top level of my server (mainwebsite_html/)rather than within catalog/ My customer has decided to delete his intro page so I need to have everything that originally lived in catalog/ one level up, as mentioned before the configuration file have already been deleted. Many thanks in advance
Guest Posted November 2, 2005 Posted November 2, 2005 Hi thre How could I achive this once the configuration files have been deleted? Or even better, is there any way of having the index.php homepage on the top level of my server (mainwebsite_html/)rather than within catalog/ My customer has decided to delete his intro page so I need to have everything that originally lived in catalog/ one level up, as mentioned before the configuration file have already been deleted. Many thanks in advance what you need is an .htaccess file in the root folder. this file will re-direct to your index.php page (or whichever you choose to direct to). here's what i have in my .htaccess file.... # always add www. RewriteEngine On RewriteCond %{HTTP_HOST} ^domain-name\.com RewriteRule ^(.*)$ http://www.domain-name.com/$1 [R=permanent,L] DirectoryIndex catalog/index.php
Guest Posted November 8, 2005 Posted November 8, 2005 what you need is an .htaccess file in the root folder. this file will re-direct to your index.php page (or whichever you choose to direct to). here's what i have in my .htaccess file.... # always add www. RewriteEngine On RewriteCond %{HTTP_HOST} ^domain-name\.com RewriteRule ^(.*)$ http://www.domain-name.com/$1 [R=permanent,L] DirectoryIndex catalog/index.php Many thanks for that, I shall try it right away!!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.