Finding the root directory is a basic need for many installations that may be required for OpenCart.  The root directory is the directory in which your installation is based.  The following screenshot shows it from the perspective of the File Manager application from Cpanel:

rootdir-file-manager

Based on the screenshot above, you can see that the easiest way to find the root directory is to simply find the folder where your OPENCART files and folders are setup.  Here the steps using File Manager in Cpanel to find the directory:

  1. Login to Cpanel then open the File Manager application.  You will see the following screen come up when you first click on File Manager:

    file-manager-open

    Select the directory you wish to open (if you you're not sure, then leave it on HOME DIRECTORY), click on show hidden files (if the option appears as per above), and then click on GO.


  2. The file manager will then open into the main screen of the File Manager (same as initially displayed at the beginning of the article). Make sure to choose the folder that contains your OpenCart installation files.  If you're not sure of the folder, you can verify by looking for the CONFIG.PHP file.  Each PHP file can be selected and then opened with either the EDIT or CODE EDIT option in the top right of the File Manager.

    root-directory-config.php-example


    The main thing to note in the example of the CONFIG.PHP above is that you can identify the OPENCART installation because one of the directories uses the name OPENCART.  This may not always be the same on your server.  If you do not know the installation for your OPENCART installation, then you may need to consult with your developer or contact technical support so that they can help you find it immediately.


  3. Once you have identified the directory of the installation, make sure to make a note of it for future reference.  This information will aid you in installing future third-party applications.



Locating the ROOT DIRECTORY of your installation is typically an easy matter, but an important one if you are involved in adding installations or making adjustments to files for your OpenCart installation. Once you have found this information, make sure you save it so that you can reference it in future updates to your OpenCart 1.5 installation.

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve our Help Center:
Email Address
Optional, but our team may contact you for more information.
Did you find this article helpful?

Post a Comment

Name:
Email Address:
Comment:
Are you a bot?
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

News / Announcements

Update to SSL Certificates - Certificate Warnings
1969-12-31 11:00 am EST
Hits: 678

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.