Should console command 'resave' update the dateUpdated (at least optionally?) #11849
-
So in trying to correct some SEO stuff on my site, which uses SEOmatic by @khalwat, I found myself wanting to trigger a mass updating of the Last Modified date of a bunch of products, as visible on the generated Sitemap (see e.g. https://imagescience.com.au/sitemaps-1-section-brand-1-sitemap.xml). When I manually resave one of those products from the UI, the date updated is updated as expected (although also worth noting that there is no UI to show this in Products as there is in Entries...and I think there should be...) - and this is immediately reflected on the generated sitemap as one would hope. So I turned to I am sure there are good reasons why a
I did see the So all in all - any chance of |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
One comment I had whilst looking into this for @bossanova808 was that if you did something like:
...where element content is actually being changed, that |
Beta Was this translation helpful? Give feedback.
-
Added a |
Beta Was this translation helpful? Give feedback.
Added a
--touch
option for the next Craft 3 and 4 releases! (48f7950)