@bertha
To configure Magento to generate SEO-friendly XML sitemaps, follow these steps:
- Login to the Magento admin panel.
- Go to the "Stores" menu and select "Configuration".
- Under "Catalog", select "XML Sitemap".
- Expand the "Generation Settings" section.
- Set "Enabled" to "Yes".
- Set "Frequency" to "Daily" or "Weekly".
- Set "Error Email Recipient" to your email address so that you are notified in case of any errors.
- Set "Maximum No of URLs Per File" to a number between 5000 and 10000. This will limit the number of URLs in the sitemap file.
- Expand the "Search Engine Submission Settings" section.
- Set "Enabled" to "Yes".
- Enter the full URL of your sitemap index file in the "Sitemap URL" field. This should be in the format "http://yourstore.com/sitemap.xml".
- Click the "Save Config" button.
Magento will now generate a sitemap index file that lists all the sitemap files for your store. Each sitemap file will contain up to the maximum number of URLs specified in step 8. Be sure to submit your sitemap index file to Google Search Console and other search engines to ensure that your site is properly indexed.