Last Updated a year ago
When I try to add entries to the sitemap file, an error is displayed. How do I add entries to the sitemap file?
The most common problem when adding entries to a sitemap file is the wrong path to the file.Adding an entry to the sitemap file
In order to properly add entries to the sitemap file, you need to:Go in the module settings to the "Sitemap" tab:
Next, in the "URL to the sitemap file" field, enter the path to the sitemap file in the store with the fact that not the full url path, but its shortened version, i.e. the path on the server, e.g.: we have a domain demo-sklep.pl and there we have uploaded the store files then our address to the sitemap file will look, for example, as follows:
provided, of course, that for generating the sitemap file you do not use the default module for generating the sitemao file in the store. If you are using the default module, you only need to enable the following function:
after completing the above steps, please click the button below:
After that, please wait until you see the green message to finish adding entries.
NOTE!!!
Before clicking the "Add all entries to sitemap file" button, please save the changes to the settings so that the path to the sitemap file is saved.
We can also enable the option "Enable auto add tag into sitemap file" so that the entries are automatically added to this file after they are added in the module.