Question

How to created sitemap.xml last week in my production site.

Today I have created a new CMS page. How do I add this page's URL to sitemap.xml?

Please provide me a solution.

Was it helpful?

Solution

CMS pages should be included automatically.

Check generation settings

Stores /  Settings / Configuration / Catalog / XML Sitemap

In the ‘Generation Settings’ set ‘Enables’ to ‘Yes’:

Set the ‘Start Time’ for future update and set ‘Frequency’ to ‘Daily’ if you want it to be renewed in this regime.

If that's all set it could be a permission issue. Consider configuring to output to a different locations. Make sure that location has read write access.

Marketing / Seo & Search / Site Map
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top