Sometimes you need to create a sitemap in Joomla. How to form and submit it correctly to search engines will be discussed in this tutorial.

Creating a sitemap in Joomla CMS - Xmap

So, to begin with, we will need a component to convert links into a systematic sitemap.

It is called Xmap. After installation, launch the extension, click the "create" button, check the boxes next to the menu items, and enter the following data.

After creating the map, go to the XML Sitemap link and copy the path from the browser's address bar.

Creating a sitemap in Joomla CMS - Xmap

We will need this path a little later to add it to the robots.txt file.

Copy the robots.txt file from the root of your website to your hard drive, open it with any text document reader, and make the necessary changes.

 User-agent: Yandex Allow: /index.php?option=com_xmap&view=xml&tmpl=component&id=1 Disallow: /administrator/ Disallow: /cache/ Disallow: /cli/ Disallow: /components/ Disallow: /images/ Disallow: /includes/ Disallow: /installation/ Disallow: /language/ Disallow: /libraries/ Disallow: /logs/ Disallow: /media/ Disallow: /modules/ Disallow: /plugins/ Disallow: /templates/ Disallow: /tmp/ Host: ваш_сайт Sitemap: https://ваш_сайт/index.php?option=com_xmap&view=xml&tmpl=component&id=1 User-agent: * Allow: /index.php?option=com_xmap&view=xml&tmpl=component&id=1 Disallow: /administrator/ Disallow: /cache/ Disallow: /cli/ Disallow: /components/ Disallow: /images/ Disallow: /includes/ Disallow: /installation/ Disallow: /language/ Disallow: /libraries/ Disallow: /logs/ Disallow: /media/ Disallow: /modules/ Disallow: /plugins/ Disallow: /templates/ Disallow: /tmp/ https://ваш_сайт/index.php?option=com_xmap&view=xml&tmpl=component&id=1

That is, we have just created a sitemap and added it for search engines.

Was this helpful?

A
Admin

Blogger and educator on photography, design, and digital creativity.

All articles