# Prevent modified date from changing

**URL:** <https://community.prismic.io/t/prevent-modified-date-from-changing/1250>\
**Category:** Developing with Prismic\
**Tags:** rest-api\
**Created:** [July 16, 2020, 8:55am UTC](https://community.prismic.io/t/prevent-modified-date-from-changing/1250 "2020-07-16T08:55:32Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![lauras](https://avatars.discourse-cdn.com/v4/letter/l/3ab097/32.png) [@lauras](https://community.prismic.io/u/lauras)\
**Post date:** [July 16, 2020, 8:55am UTC](https://community.prismic.io/t/prevent-modified-date-from-changing/1250/1 "2020-07-16T08:55:32Z")

</div>

We were wondering if it would be possible in future to change the meta data set for Google. In order to prevent the modified date from changing when making minor changes to the content. Worldpress has a plugin for that see URL below [Limit Modified Date – WordPress plugin | WordPress.org](https://wordpress.org/plugins/limit-modified-date/).  
Thanks,  
Laura

---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [July 16, 2020, 11:35am UTC](https://community.prismic.io/t/prevent-modified-date-from-changing/1250/2 "2020-07-16T11:35:36Z")

</div>

Hi Laura,

Welcome to the community and thanks for posting!

There are 2 publication dates that you can use here, the one you’ve referenced is the `last_publication_date ` date which is always updated.

You might want to use the `first_publication_date` which will never change.

Does this help?

Thanks.

---

<div class="post-metadata">

**Author:** ![lauras](https://avatars.discourse-cdn.com/v4/letter/l/3ab097/32.png) [@lauras](https://community.prismic.io/u/lauras)\
**Post date:** [July 16, 2020, 11:46am UTC](https://community.prismic.io/t/prevent-modified-date-from-changing/1250/3 "2020-07-16T11:46:50Z")

</div>

Hi Phil,

Yes I am referring to the modified date. I would like to have the option that this date is not changed when passing in meta data. Use case is that there was just a typo or similar and we do not want that it looks as the article was revised. So the last\_publication\_date should remain.  
I hope this makes it clearer?  
Thanks,  
Laura

---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [July 16, 2020, 2:00pm UTC](https://community.prismic.io/t/prevent-modified-date-from-changing/1250/4 "2020-07-16T14:00:23Z")

</div>

Thanks that helps.

In that case you would be better using the `first_publication_date` field to show when your docs where published. This way it will never change.

As for the `last_publication_date`, the meta data is not editable manually like this and we have no plans to change this is the future. I will log your use case as a feature request though if the team ever consider making any changes to this.

Alternatively you could use [a selectable date field](https://user-guides.prismic.io/en/articles/484802-date) for all your articles, that way you can specify an exact date. This field is auto-populate when a new instance of the doc is created and can be changed in the future. You will need to manually select the date for all older documents if you do this though.

---

<div class="post-metadata">

**Author:** ![marcellothearcane](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/marcellothearcane/32/224_2.png) [@marcellothearcane](https://community.prismic.io/u/marcellothearcane)\
**Post date:** [July 16, 2020, 4:15pm UTC](https://community.prismic.io/t/prevent-modified-date-from-changing/1250/5 "2020-07-16T16:15:04Z")

</div>

Otherwise you can make another tab with metadata in (like an SEO page) and have a date field in there which you can update manually.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/prismic/original/1X/f255bd221d512793386d49290a064eed87b30478.png)

---

<div class="post-metadata">

**Author:** ![lauras](https://avatars.discourse-cdn.com/v4/letter/l/3ab097/32.png) [@lauras](https://community.prismic.io/u/lauras)\
**Post date:** [July 16, 2020, 4:44pm UTC](https://community.prismic.io/t/prevent-modified-date-from-changing/1250/6 "2020-07-16T16:44:03Z")

</div>

Hey Marcello that sounds like the solution I was looking for! I’ll try that out definitely 🙂

---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [September 15, 2020, 4:45pm UTC](https://community.prismic.io/t/prevent-modified-date-from-changing/1250/7 "2020-09-15T16:45:27Z")

</div>



---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/system/32/1746_2.png) [@system](https://community.prismic.io/u/system)\
**Post date:** [December 9, 2021, 5:31pm UTC](https://community.prismic.io/t/prevent-modified-date-from-changing/1250/8 "2021-12-09T17:31:44Z")

</div>


