Our Blog
Joomla! Best Practices PDF Print Email
Sunday, 25 March 2012 16:42

One of the nice things about Joomla! is that it comes ready to go right out of the box. For the most part, you just drop it in, and start building pages.

These are best practices that do not come pre-configured and are easy to forget about, but should be considered for every site that you build. If you are using Joomla on your website, look through this list and check to make sure your site is following these best practices where applicable. Most are set within Global Configuration under Site.

Note that update permissions may be turned off for your site for security purposes. Please contact the webteam if you need these changes.



(This list will be extended over time)

  1. Disable "User Registration". This is a security precaution. Most sites on campus don't want or need to allow users to register with the site. There are bots on the Internet that will try to register accounts on your website so they can post spam. Simply turn off user registration to prevent this. Located in "Global Configuration" under the "System" tab in "User Settings" section.

  2. Turn up the Session Lifetime. The default is 15 minutes. If you find yourself having to re-login you can adjust this setting to 60 minutes or 120 minutes to give you more time to write your articles. Located in "Global Configuration" under the "System" tab in "Session Settings" section.
  3. Turn off the Flash Uploader. It seems to work about 50% of the time. It's best to just turn it off. Its only functionality is a progress bar for your uploads, and it may actually decrease the maximum file size of your upload. If you are having trouble uploading files to Media Manager, this may be your problem. Located in"Global Configuration"under the "System" tab in "Media Settings" section.

  4. Change the "Feed Email" option from "Author Email" to "Site Email". Then set the "Mail from" option to an appropriate email for your site. This option was recently added to Joomla! The default setting causes RSS feeds to reference individual user emails rather than a site global email, causing users of the site being put on spam lists. This is recommended if you plan to use RSS feeds. Located in "Global Configuration" under the "Site" tab in "Site Settings" section.

  5. Increase the "List Length" option from the default of 20 to the maximum of 100. This setting only affects lists in the backend. It's useful because many of the lists in the backend contain more than 20 items, and you would have to flip through pages to get to the option or setting you want. Located in "Global Configuration" under the "Site" tab in "Site Settings" section.

  6. Set the Global Metadata Information for the site. This is easy to forget but very important for when a user doesGooglesearchon your site as this is the information that is displayed. It's bad to have a website about biochemical astropsychology and it's description on Google reads "Joomla! - the dynamic portal engine and content management system." Located in "Global Configuration"under the "Site" tab in "Metadata Settings" section.

  7. Upgrade the default WYSIWYG html editor that comes with Joomla! with a copy of JCE Editor. This editor has many advanced features that makes editing web pages in Joomla! easier. The most notable is a clickable list of all menu items and content articles in your site when you need to create a link.In the default editor you have to copy and paste the URL, which may not be obvious. JCE also includes a spellchecker and a better code view editor. Located in "Global Configuration" under the "Site" tab in "Site Settings" section.

  8. Turn on Search Engine Friendly (SEF) URLs. Without this option your urls will look like this
    with SEF turned on they look like this http://pamirwebs.com/web-blog/123-joomla-best-practice. Located in "Global Configuration"under the "Site" tab in "SEO Settings" section.

  9. Set the time zone settings. Otherwise your posts will show up as incorrect post times. Luckily, when you update this setting, all your posts retroactively get the correct time. Located in"Global Configuration" under the "Server" tab in "Locale Settings" section.

  10. Always create a menu entry for articles you want to link to, even if you don't want them to be in the navigation. If you haven't created a menu entry, then you can't assign module positions to that page. This isn't always necessary, but can be important.

    To do this, create a new menu called "hidden menu" under Menu Manager. Under Module Manager set the Menu Assignment to None to not display menu on the site. If you want to link an article that doesn't belong in the navigation, create its menu entry here. You will have something to assign module positions to and it will be easier to link articles.

Last Updated on Sunday, 25 March 2012 17:04
Joomla. Infinite loop detected in JError PDF Print Email
Tuesday, 06 March 2012 07:28

When moving a locally developed Joomla 1.7 site to a server results in the error Infinite loop detected in JError in Joomla 1.7 there's something wrong with the configuration in configuration.php

First double check the following variables:

public $dbtype = 'mysqli'; // if your server doesn't support mysqli, try 'mysql' 

public $host = '[some host]'; 

public $user = '[some database user]'; 

public $password = '[some password]'; // wrong password could be the cause

public $db = '[some database]';

public $dbprefix = '[someprefix_]';

public $log_path = '/logs';

public $tmp_path = '/tmp';

To get detailed information about the error, edit on the server /libraries/joomla/error/error.php

public static function throwError(&$exception)


static $thrown = false;

// If thrown is hit again, we've come back to JError in the middle of throwing another JError, so die!

if ($thrown) {

// echo debug_print_backtrace();



remove the //commenting tag and add the < pre > tags to get a readable output

// echo debug_print_backtrace();

change to:


echo debug_print_backtrace();


Now Joomla will show a more detailed error that might give you some clues of how to correct the settings in your configuration.php. Don't forget to switch off the detailed error reporting afterwards by commenting the echo debug_print_backtrace();.

Last Updated on Tuesday, 06 March 2012 07:46
How to Make Your Joomla Website Concrete PDF Print Email
Friday, 17 February 2012 09:51

How to Make Your Joomla Website ConcreteAny person who uses a content management system knows the importance of having a great security system to ensure that all of your information is safe. If your information is lost or stolen by hackers, this can spell disaster for you and for any of your customers. This is why so much emphasis is put on security these days, especially with so many credit card number stored in websites databases. If these were lost, somebody would have no problem to instantly assume your identity and cost you a fortune. For a majority of the internet world, Joomla is their preferred method for managing their content. So, we are going to be talking about how to bulletproof your Joomla website.

The first thing that you should do when attempting to secure your Joomla website is to go through the Joomla administrator checklist. This might seem simple to some people but other people might skip right over this step. Although you may not always read the instructions to a product, this checklist can provide you some great tips to make sure that you have no unsafe information. It can also instruct you on how to better protect the areas of your site that are most vulnerable to hackers. Another good thing to do would be to look for some security based plug-ins. Plug-ins are a great way to add anything to Joomla that it doesn’t initially come with when installed. There is literally hundreds of plug-ins out there just waiting to help your website become more secure. Yet another good precaution to take is to make sure that your password is secure enough to deter hackers. You should take your passwords seriously and take every precaution in making them as difficult as possible to crack. You should also try to change your password regularly. It’s up to you for how long you want to wait in between passwords changes but about 3 months should be enough to keep the hackers off your tail. Any of these ways are a great way to start in how to bulletproof your Joomla website.

The last and most important thing you should do is stay up to date with the newest version of Joomla. Joomla releases updates every so often and offer them through their website. These updates often address and fix issues that occurred in older versions. If you don’t upgrade you could leave your website vulnerable to hackers that have figured a way around the older versions. The newer versions will have fixed these problems and often offer improved performance for your website. It’s simply just foolish for you not to keep up to date with the new versions that are released; after all, they do it for your benefit.

If you make sure to follow these simple steps, you can easily and immediately increase the security of your Joomla website. People often wonder how to bulletproof their Joomla website and the truth is, it’s not that difficult. Just a few simple changes can have you content management system looking like Fort Knox.

<< Start < Prev 1 2 3 4 5 6 Next > End >>

Page 3 of 6

Facebook Like!