Skip to content
Tutorials Center
My learning

Topics

Lesson 8 of 37 ยท Installation and Admin

Global Configuration and Clean URLs

Learn every tab of Joomla Global Configuration (Site, System, Server, Logging, Permissions, Text Filters), and how search-engine-friendly URLs and rewriting work.

System > Global Configuration is the control panel for site-wide behavior. It stores its values in configuration.php and in the database, and it affects every page, so it is worth knowing well. This lesson explains the tabs, the settings you will change most often, and in detail the URL options that turn ugly addresses into clean ones.

Since the backend is not available here, the screens are described in words. The runnable stand-in builds the three URL styles from the same article so that you can see what the options change.

The tabs

Global Configuration has several tabs. The most important are these.

Site

  • Site Name and Site Offline: offline mode shows a maintenance message to visitors while administrators can still log in. Use it during upgrades.
  • Default Editor: TinyMCE by default; others are CodeMirror and "None".
  • Default Access Level, Default List Limit and Default Feed Limit: defaults for new content and list lengths.
  • Metadata: the default meta description and robots instruction (for example index, follow) used when a page has none of its own.
  • SEO: Search Engine Friendly URLs, Use URL Rewriting, Adds Suffix to URL, Unicode Aliases and Include Site Name in Page Titles.
  • Cookies: domain and path for the session cookie.

System

  • Cache: turns caching on and sets the handler (file, Redis, Memcached, APCu) and time. Chapter 7 covers performance.
  • Session: lifetime in minutes (default around 15) and the session handler.
  • Debug settings: Debug System shows query and profile information; keep it off on a live site.
  • Logging and Help server options.

Server

  • Path to the temporary and log folders, Error Reporting (set to None or Default in production, Maximum while developing), Force HTTPS, and the Mail settings: mailer (PHP mail, SMTP, sendmail), from address, SMTP host and credentials. Use Send Test Mail to check that emails (password resets!) can leave the server.
  • Database details, such as host and prefix, are shown here but can only be edited by changing configuration.php (a Super User can edit them carefully if needed).

Logging, Permissions, Text Filters and Privacy

  • Logging controls log files and deprecation logging.
  • Permissions set the top-level rules for user groups (who may log in, edit, delete, and so on), which later chapters build on.
  • Text Filters decide which HTML tags and attributes each user group may use in the editor: Super Users are unfiltered by default, while lower groups get a stricter blacklist, which protects against script injection by authors.
  • Privacy options exist for logging policy and similar settings in some versions.

Settings you will touch first

Site Name Shown in titles and header
SEF URLs Clean addresses
Mail SMTP and test mail
Error reporting Maximum locally, off live

Save and test every change

1 / 2

Search-engine-friendly URLs

Without any URL options, Joomla builds addresses from query parameters:

TEXT
https://example.com/index.php?option=com_content&view=article&id=5&catid=2

Such URLs work but are long and carry no words search engines or readers can use. Three settings improve them.

  1. Search Engine Friendly URLs = Yes. Joomla builds the path from menu item aliases and article aliases: https://example.com/index.php/news/site-launched
  2. Use URL Rewriting = Yes. The web server removes index.php from the path: https://example.com/news/site-launched This needs mod_rewrite on Apache. You rename htaccess.txt in the site root to .htaccess (on Nginx you add equivalent rules to the server block). If rewriting is not available on the server, the site returns 404 errors, so test after enabling it.
  3. Adds Suffix to URL. Appends .html to addresses. Modern sites usually leave this off.

In Joomla 4 and later, the router creates the path from the menu item alias followed by the article alias. By default, the category alias can be left out when the article lives in the menu's category.

JS Stand-in: the three URL styles

Press Run (or Ctrl + Enter) to see the console output here.

No output.

The four settings print four different addresses for the same article. The third is the cleanest and the usual choice.

Aliases: the readable part of the URL

Every article, category and menu item has an alias: a lowercase, URL-safe version of the title. Joomla generates it automatically when you leave the alias field empty, replacing spaces with hyphens and removing special characters. The stand-in shows the idea.

JS Stand-in: make an alias from a title

Press Run (or Ctrl + Enter) to see the console output here.

No output.

The real Joomla also has the Unicode Aliases option, which keeps non-Latin letters in the alias instead of transliterating them. Aliases must be unique within the same category or menu level; Joomla warns you if a duplicate appears.

Changing settings safely

  • Change one thing at a time and test the frontend afterward.
  • Keep a copy of configuration.php before manual edits.
  • Do not leave Debug on for visitors; it exposes internals.
  • Do not set Error Reporting to Maximum on a live site: warnings show paths and database details.
  • Test mail right after changing mail settings.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. Which two settings are needed to remove index.php from Joomla URLs?

    SEF URLs build readable paths, and URL rewriting (with htaccess or Nginx rules) hides index.php.
  2. 2. What should you do with htaccess.txt to enable rewriting on Apache?

    Apache reads .htaccess. The file ships as htaccess.txt so that the package can be unzipped on any system.
  3. 3. What is the alias of an article?

    Aliases are lowercase hyphenated names that make URLs readable.
  4. 4. What does the Site Offline setting do?

    Offline mode is useful during maintenance and upgrades.

Summary

  • Global Configuration (System menu) controls site-wide settings, split into tabs such as Site, System, Server, Logging, Permissions and Text Filters.
  • SEF URLs, URL rewriting and the suffix option decide how addresses look.
  • Aliases give articles, categories and menu items readable URL parts.
  • Keep Debug off and Error Reporting low on live sites; test mail after changes.
  • Change settings one at a time and test the frontend.

Next: configuration.php and the Folder Structure