Sunday 19 October 2014

How to change opencart main folder name after the completion of whole website

Many of the developers just keep a random folder name while first working with Opencart, but after the completion of website they think of changing the main folder name, but we just can't change the folder name as we change the other folder's name as the old name will be linked to many other things inside the Opencart folder, 

So steps to change the main Opencart folder name after the completion of website:

1. Suppose your old folder name is 'Opencart', so open that and copy the folder named 'catalog'.
Note: catalog folder because all of your custom themes is installed in your catalog folder only.

2. Open the database linked to the Opencart folder and delete all the tables from there.
Note: You can take backup of old table and values by going to 'export' in your phpmyadmin and saving the SQL file to your computer.

3. Now go to your root folder delete Opencart folder.

4. Now copy the new Opencart installation folder from where you have downloaded and paste it into your root folder and rename it to whatever you like.

5. Go for installation and once it is installed you need to copy that old catalog folder and need to replace it with the new catalog folder.
So your custom theme will be loaded with your new folder name..!!

No comments:

Post a Comment