Frequently troubling the generation of a sitemap

Asked

Viewed 43 times

1

I have a sitemap I generated from a website, example www.meusite.com.br/sitemap.xml, managed before putting the site on the air.

He went through all the Urls on the site and it’s all right.

When the customer registers a new news on the site, there will be another new URL on the site, and I would not like to generate another one sitemap.

How to solve this problem?

  • 1

    The title serves to describe briefly the problem. In this case it could be the paragraph where you finally ask the question. About what is the question you put in tags and perhaps in the description of the question. And "doubt" is unnecessary, you only put something here when you have a question, problem, need help. So those words are always redundant.

  • All right, I corrected.

  • 1

    Take the opportunity to see what other users' edits look like to see how to make your question easier to read and get better answers. What I can say about the problem is that only creating one script or use a ready-made tool executed from time to time, either manually or automatically after a upload that checks the structure and generates the sitemap. Even so I do not know if it would be good, it is not easy to create something that identifies everything that should or should not be placed in sitemap. But I don’t know, change the sitemap should be less than 1% of the time spent on most maintenance.

  • A script can be ideal, has some model?

1 answer

0

You can use the Easysitemap to generate the new sitemap.xml, it even generates the index if more than one site map file is needed.

I use with the Hangfire and it generates time to time. But you can create a routine with it and run it in the event you think best.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.