Joomla 2.5 Tutorials

: How can I protect my Joomla 2.5 configuration.php file from possibly being viewed due to server misconfiguration?

Answer: Move it to the |Home directory (above public_html directory) which can only be accessed via FTP or CPanel File Manager.

 Pros: configuration.php will be better protected and your site will be more secure.

Cons: No longer possible to edit configuration.php via Global Configuration in Joomla Administrator. The file must be manually edited.

Step 1: Move configuration.php from the public_html directory (folder) to the Home directory above using FTP or CPanel File Manager.

Tip: If you have more than one Joomla site involved make a folder for the file to keep it separate otherwise it could be overwritten. eg:(/home/cpanelusername/sitename/configuration.php)

 Step 2:  Edit the files that contain the path to configuration.php.
[joomla root]/includes/defines.php
[joomla root]/administrator/includes/defines.php

This is the constant to modify

For example if Joomla is installed in the public_html folder (web root) then to move the file up one level into the Home directory and into a folder named "sitename" the constant will look like this:
define( 'JPATH_CONFIGURATION', JPATH_ROOT.DS.'..'.DS.'sitename' );

The DS = / on Linux and \ on Windows. ../ or ..\ moves up a directory level.

The Joomla 3.x method for hiding configuration.php is similar, but slightly different.


If the Joomla Quick Update Icons are missing from the Control Panel go to the Extensions Manager and click Discover.

If JCE Text Editor strips iFrames  ...

If code is being stripped in Joomla 2.5 there are two places to check:

1. Global Configuration -> Text Filters

Set to "No Filtering" for Super Users (or whichever group you want to allow)

2. In the text editor plugin settings make sure code is not being cleaned.

For example the default TinyMCE plugin has a list of "Prohibited Elements" (script,applet).



Previously the Joomla core files updates were in the Update section of the Extensions Manager.

Now as of version 2.5.4 it appears in the Components menu as "Joomla! Update".

The Update Manager in the Extensions Manager will still be used for updating Third Party Extensions not part of the core files.

If the "Joomla! Update" Component does not appear follow the steps below.

The default Joomla 2.5 Home Menu Item says "Welcome to the Frontpage".

This should be removed or customized.

clock iconIn Global Configuration the server time offset can be set.

Sometimes the date and time are inconsistent between extensions when set to "Universal Time, Coordinated (UTC)".

Best Canadian Web Host for Joomla