Documentation & FAQ for PWT Sitemap
After installing PWT Sitemap the plugins are already enabled. You can create a sitemap by creating a new menu item in a menu of your choose. There are three menu types available:
For each menu item you can manage directly if it must be visible (or not) in the sitemap. You can do this by changing the parameters in the Metadata tab of the menu item.
There is also a back-end component to manage the visibility of menu items in the sitemap.
PWT Sitemap allows you to create a sitemap of all available menu items. It also allows you to extend this sitemap with plugins. With the help of these plugins it is possible to include articles in the sitemap or to include items from third party extensions.
This extensions contains a component and multiple plugins. The component is used to display the sitemap. The plugins are used to integrate PWT Sitemap in the Menu Manager.
Creating a sitemap is very easy:
From the Joomla Menu manager, add a new menu-item. For the Menu Item Type, choose one of the avaiable 4 options under PWT Sitemap:
That is basically all there is to it.
Tip: if you do not want to have the menu-item visible in the menu, you can either choose to include it in a hidden menu or set the parameter Display in menu (under the tab Link Type) to No.
For submitting sitemaps to search engines and for example Google Webmaster (Google Search Console) you need a XML sitemap.
You can generate an XML sitemap by creating a menu-item of the type "Sitemap for search engines". The alias of that menu item (for example "sitemap-xml") will be the url of the sitemap, so accessible via yoursite.com/sitemap-xml in this example.
The default option for a menu-item is to be included in the sitemaps. Excluding menu-items from the sitemap however is very easy. In the menu-item, go to the Sitemap tab:
Examples of use-cases for this are:
There is also a component overview for all menu-items. Here you can toggle all sitemap items on or off:
Also note the Batch button: all selected items can be set to the desired value in one go.
The sitemap supports multi-language websites. Only menu items of current language are displayed in the sitemap. You can create a sitemap for a specific language by simply changing the menu item parameter Language to the preferred language:
Language associations are also supported. When you create associations between menu items or articles the Multilingual Sitemap use this associations in the sitemap.
The following components are integrated in PWT Sitemap:
When creating a menu item of the type Category Blog, there are options available in the Metadata tab to include all articles of the selected category in the sitemap. The same options are available for lists of contacts, newsfeeds and tagged items.
The only field really required by Google is the URL location. Next to this, we add the Last Modified Date if applicable.
Priority and change frequency are not included. Reason is that Google pretty much ignores these fields as they are often used incorrectly: https://www.seroundtable.com/google-priority-change-frequency-xml-sitemap-20273.html.