Home › Forums › ACF PRO › ACF JSON sync IDs different › Reply To: ACF JSON sync IDs different
Hi @emrl
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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.