How to Find the Joomla Root Directory

The Joomla root directory is the top-level folder that contains the files for a specific Joomla installation. Finding the correct root matters before editing configuration.php, replacing core files, reviewing .htaccess, or working with paths and permissions.

Recognize the Joomla root by its contents

Open your hosting file manager, SFTP client, SSH session, or local project folder and look for a directory containing Joomla's main application files and folders. A normal Joomla root includes items such as:

administrator/
api/
components/
images/
includes/
language/
modules/
plugins/
templates/
configuration.php
index.php

The exact list varies by Joomla version and installed extensions, but administrator, components, plugins, templates, index.php, and configuration.php together are strong indicators that you have found the installation root.

Find the root from your hosting control panel

  1. Open the hosting account's file manager.
  2. Locate the document root assigned to the Joomla domain or subdomain. Common names include public_html, htdocs, httpdocs, or www.
  3. Inspect that directory for the Joomla files listed above.
  4. If they are not there, check whether the domain points to a subdirectory such as public_html/site.

Do not assume public_html is always the Joomla root. Add-on domains, subdomains, staging sites, and sites installed in subfolders often use a different document root.

Find the root when you have Administrator access

Joomla's System Information can help identify server paths, and configuration values such as the temporary and log paths often reveal the installation's directory structure. In Administrator, go to System → System Information and review the PHP and directory information available on your server.

You can also inspect System → Global Configuration → Server. The configured temporary-folder path usually sits inside or alongside the Joomla installation and can help you identify the correct filesystem location.

Distinguish the Joomla root from the domain root

The web domain and filesystem path are different concepts. A site at https://example.com/ might live at /home/account/public_html/, while https://example.com/joomla/ might live at /home/account/public_html/joomla/.

If several Joomla installations exist on the same account, verify the configuration.php database settings and the domain's configured document root before changing anything. Editing the wrong installation is a common cause of changes appearing to have no effect.

Verify you found the correct installation

  1. Confirm the directory contains configuration.php and Joomla's core folders.
  2. Confirm the domain or subdomain is configured to serve that directory.
  3. If safe, compare the database name and table prefix in configuration.php with the database used by the site.
  4. Do not edit core files merely to test the path.

Once those checks agree, treat that directory as the Joomla root for file, path, backup, and permission work.


Need More Help with Joomla?

Still having trouble? Open a support ticket with QuantaCade Support and we'll be happy to help where we can.

Support priority is given to QuantaCade products, services, and customers. However, we're also happy to assist fellow Joomla users with general Joomla questions and troubleshooting when possible.

QuantaCade is an independent Joomla extension developer and is not official Joomla support. Some issues involving third-party extensions, hosting environments, server configurations, or other systems outside our development control may be beyond what we're able to resolve.

Open a Support Ticket