ACF uses the post/page ID if you set the rule to a certain post/page. Unfortunately, there’s nothing ACF can do because they are different installations with different databases.
What you can do, though, is cloning the database so both development and production site has the same database. Thus they have the same post/page IDs.
Another thing you can do is manually changing the post/page ID in the JSON files. I believe there are several applications that can do it in bulk. For example, this page is talking about Notepad++: http://www.makeuseof.com/tag/how-to-find-and-replace-words-in-multiple-files/.
I hope this makes sense 🙂
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
The ACF site is currently experiencing some issues.— Advanced Custom Fields (@wp_acf) September 21, 2022
We apologize for the inconvenience and we are working hard to get it back up and running as soon as possible.
© 2022 Advanced Custom Fields.