Built-in Site Map

Site maps are important. Search engines like them so that they can find all of your content. A site map also helps your visitors find the page they are searching for quickly.

Create the Site Map

Site maps in Joomla can be automatically built in a few steps:

  1. From the backend, go to ExtensionsModule Manager.

  2. Click New.

  3. Click Menu.

  4. Enter a title such as Site Map.

  5. Change the position to sitemap. If it does not already exist, just type “sitemap” in the Position Box.

  6. Change menu name to “mainmenu” or whatever menu you want to show in your site map.

Add Your Site Map to an Article Using the Content—Load Module Plug-in

  1. Create an article and add the following code to it:

    {loadposition sitemap}
  2. Navigate to the article to see your site map.

Note

In order for this to work, make sure the Content–Load Module plug-in is enabled in the Plugin Manager. Be sure your WYSIWYG editor doesn’t strip out or alter the code just shown. See Summary in Chapter 5 if you need more help or troubleshooting tips. For more information on loading modules inside an article, see Showing a Module Inside an Article.

Third-party site map components often have more options and display better visually. The built-in site map gives you more options than just hard coding links into an article. For more information on loading modules inside an article, see Showing a Module Inside an Article.

Get Using Joomla now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.