O'Reilly logo

Using Joomla by Kenneth Crowder, Ron Severdia

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

SEF URLs and Creating Custom URLs

Now that we know how to turn on SEF URLs, what happens if you want to modify the URL? It is actually easier than you think.

You may have noticed a field called Alias located under the Title field when working with articles or menu items. Typically, you would leave these two fields blank and Joomla would populate them for you based on what you entered for the Title. These fields are used when creating the SEF URLs. By editing the Alias field, you in turn are editing the SEF URLs that are generated.

The type of menu item used directly affects how the URL is built. Typically, this is done by looking at the menu structure leading up to the active menu item. Let’s look at some examples of what SEF URLs are generated in certain situations:

We assume you get the general idea. Let’s take a look at how we can change one of these. How about the second one? We’d prefer to have the URL say meet-our-team instead of meet-the-team ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required