The Super Secret Sitemap Trick

Did you know you can have a sitemap in your Joomla site without installing any additional extensions?

Really? How?

The menu module already does everything we need: it’s essentially a tree with all the items in the system. All we need to do is make it look like a component.

  1. Create a new article called ‘Sitemap’. In the body, type {loadposition sitemap} and save it.
    (screenshot)
  2. Make a new menu item called Sitemap, and point it to the article.
    (screenshot)
  3. In the module manager, make a new Menu module. Set ‘Menu name’ to the menu you want to display as a sitemap.
    (screenshot)
  4. In the position box, type ‘Sitemap’. Obviously this refers to the position we used earlier in the {loadposition…} tag
  5. Make sure you set ‘Always show submenu items’ and ‘Expand menu’ to yes, and save.
    (screenshot)
  6. Add more modules for each menu
  7. You should now have a nice sitemap in the frontend.
    (screenshot)
    You can style it with CSS or if you’re creative, you can add some folding using javascript.
  8. Post a link here to your sitemap, to show the world what you did

Got any quick’n’dirty tricks to do cool stuff in Joomla that was never intended to be used that way? Let us know!

Up next

LOGman 3.1 has joined the party

After months of hard work joomlatools are exicted to announce the release of LOGman 3.1

Read more →

Secure Joomla with Let’s Encrypt on WHM/cPanel

In this tutorial we explain how you can set up HTTPS for free on your Joomla site using WHM/cPanel hosting.

Read more →

FILEman 3.1 stable is here

FILEman 3.1 brings embedded media players, gallery modules, responsive image support, personal user spaces much more.

Read more →