I used Yoast plugin. It updates my sitemap whenever I published a post. I do not have any schedule for publishing posts. So sometimes I published 50 posts in the morning and I do nothing till two days after. So I want to stop adding all posts to XML sitemap file at the same time. It could be better if they add each minute to the sitemap. eventually, Google robot thinks my site updates every minute. Is it possible to make a corn for this?

  • 1
    1) It is called "cron", not "corn". 2) A cronjob alone is not enough. First you would need to disable Yoast to update your sitemap every time you publish a post. And second you need to find or develop a plugin which (for instance) adds one post to the sitemap everytime it is triggered. – Mario Werner Jul 7 '18 at 18:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.