A Joomla XML sitemap is a document or a file that helps Google and other search engines better understand your website while crawling it.
It is the way for website owners to tell search engines about all the pages that exist on their site and accessible to all users.
Above all, an XML sitemap is not made for the visitors or users, instead of made for the search engines.
Unfortunately, the default Joomla can not generate a sitemap that’s why you are forced to use additional extensions that provide such functionality. The easiest way to create a sitemap for a Joomla website is to use one of the many extensions available.
In this tutorial, I'll go you through creating an XML sitemap file for Joomla website, using the OSMap extension. OSMap is a free Joomla sitemap generator, automatically create a Google-friendly sitemap for your all content including images, pages. It also generates HTML sitemap and allows multilingual sitemaps.
Creating Joomla Sitemap
Step 1: Download OSMap
At first, you need to download OSMap. Go to their official site and choose your suitable package. There are three packages available for OSMap - Free, Pro with advanced support for 6 months and Pro with advanced support of 12 months. Free version doesn’t contains all the higher functionalities that pro version contains. To enjoy those features you must buy the pro version. After buying the extension download link and option will be available to you.
Step 2: Install the extension on your Joomla website
Login your Joomla administration panel and navigate Extensions -> Manage -> Install
In the opening window, you will see a file uploader option. Click on it and select the file which you have downloaded a few seconds before. And press the "Upload & Install" button.
You will see a successful message after few seconds.
Step 3: Configure OSMap Sitemap
Navigate Components -> OSMap. The "Sitemap Manager" window will open. Here, you will see a link named Sitemap. Make sure it is published and default.
Step 4: View the Sitemap
The link Sitemap contains 4 Sitemap links (XML, HTML, News, Images) in the "Sitemap Manager".
- XML: (For Google search engine) Click on the XML link. The XML version of the sitemap would look like the image below. You can copy the links from here and submit these links into Google search console.
- HTML: (For visitors) This version will let you show all your contents to your visitor.
- News: For Google News
- Images: To submit your images to Google
Step 5: Display a sitemap in your website
Navigate Menus -> Main Menu -> Add New Menu Item.
Make a new item named "Sitemap" and press "Select".
In the opening popup window, choose "HTML Sitemap" from OSMap. Also, make sure the item status is "Published" after then press "Save & Close" button.
Look at the image below; a new item has added to the main menu.
It will appear as a HTML Sitemap in your site that increases the website usability. Look at the image below.
An HTML sitemap is one kind of table of contents where users get an overview of every important page of a website that it contains.
Moreover, there are links to the different pages, so users can easily navigate to the information they are searching for a site.
There also some more free Joomla sitemap extensions available to generate Joomla sitemap such as:
Easily generate HTML and XML sitemap of your website with Aimy Sitemap. Improve website usability and SEO with this highly customizable sitemap generator.
- Crawls your website like a search engine
- Generates XML and HTML sitemaps
- High flexibility
- MySQL database support
- SEF support
- Notifies search engines
- Evaluates robots.txt
This sitemap can be also generated for any third party components.
This sitemap generator creates a XML sitmap of your website and uses an external service to crawl your website. The cost of computation for your website is very low, because crawler acts like a normal visitor.
- Simple Setup
- Low computation cost
- Uses Joomla Update function
- Support for robots meta elements - Generated image and video sitemaps - Adds nearly all indexable file types to the sitemap.
Sitemap generator guarantees that speed of your website will not be affected for your visitors during the generation of sitemap.
This component is very easy to install and the instalation process will be completed within shortest time. The goal of this extension is simple - Generate sitemap of your website faster.
Features of SitemapFaster:
- Generates XML sitemap
- Generates HTML sitemap
- SEF Supported
All of them are robust, highly featured, and well coded.
Hope you enjoy this article, and now you can add a sitemap on your Joomla site. Let us know about your opinion through the comment section. And feel free to ask any question regarding this tutorial.