Post modification dates not imported
-
-
There’s an API endpoint for editing posts at https://developer.wordpress.com/docs/api/1.2/post/sites/%24site/posts/%24post_ID/, but it doesn’t look like it will allow you to directly update the Modified date.
Using plugins requires our Business plan, but if you were on that plan you’d have database access, and should be able to make the changes there directly. But as staff-blorbo explained above, that’s not a change we could help with – direct database changes are done at own risk, as it were, and falls outside the scope of support we provide on WordPress.com.
I don’t know of a specific plugin that would allow you to modify just the post modified dates in this way.
-
To answer @supernovia’s question, I imported the XML into a fresh WordPress install and surprisingly, the same issue occurred — the modification dates were reset.
Is there any movement on the bug fix with your custom importer?
This is a tough situation because it would appear there is not going to be a way to update the modification dates after import, meaning the only solution is to fix the import process. That means I cannot import anything right now. Let me know if there is any other solution you can think of that would fall within your policies.
-
Hi there,
Our developers are almost done fixing it. We’ll update this thread when it’s done.
-
Sure thing! You can also follow along with the Github request if you’d like:
-
Hi there,
I just wanted to let you know that
post_modifieddates should now correctly import to your WordPress.com site. -
-
-
Are you trying a fresh import to a new site or are you trying to import over what you’ve already imported? If the latter, the importer looks for existing post IDs and if they exist, they will skip importing that post.
If you did start from scratch, then we’ll need to go back to the development team – we may ask you for your import file for testing as well.
Thanks!
-
helper-heroponriki:
1. I deleted all posts from my WordPress.com site.
2. I imported my XML file containing posts.
3. Import was successful, but modified dates on posts are still incorrect. -
It looks it’s working now: https://github.com/Automattic/wp-calypso/issues/61145#issuecomment-1083596678 :)
-
staff-blorbo Yes, I was about to write here that it is now working! Dates are now all correct on my imported posts.
Thanks a lot for the support and getting this fixed!
- The topic ‘Post modification dates not imported’ is closed to new replies.