Tumblr imported blog showing wrong date
I imported my Tumblr blog to Wp but all my blog are showing the preceding date as the date of publishing. I even changed the timezone of my wp account to my location before importing but the problem persists.
I imported my Tumblr blog to Wp but all my blog are showing the preceding date as the date of publishing. I even changed the timezone of my wp account to my location before importing but the problem persists.
Share Improve this question asked Mar 20, 2019 at 12:33 Prashant ChoubeyPrashant Choubey 1 1- Does dates match in the Tumblr export file? – Max Yudin Commented Mar 20, 2019 at 14:18
1 Answer
Reset to default 0Option 1 (no code): you can manually edit each post and change the published date. Look in the "Publish" box where you publish or update posts, and there will be a "published on" date with an "edit" link.
Option 2 (requires database access): you can run a MySQL query to adjust all posts' dates.
UPDATE wp_posts SET post_date = DATE_ADD(post_date,INTERVAL 1 DAY) WHERE post_type = 'post';
UPDATE wp_posts SET post_date_gmt = DATE_ADD(post_date_gmt,INTERVAL 1 DAY) WHERE post_type = 'post';
There are two lines because WP stores both a local timezone timestamp and a GMT timestamp.
This assumes your database uses the default wp_
prefix - you should first back up your database, then check which prefix you use, and if it's a different prefix then just update wp_posts
in both lines to whatever yours is called.
- 移动互联网迅猛发展连接人与服务成为重要趋势
- 微信支付和支付宝口水战开打!
- 2012年NEC云时代平台软件全国巡展启动
- swift - Content inside .sheet() being infinitely called - Stack Overflow
- Adding Fields to Order API Call on WooCommerce - Stack Overflow
- github - How do if fix theses syntax errors with this bash script - Stack Overflow
- kotlin - I don't know how to get Integers from another function without calling the variables that hold said number - St
- swiftui - Cannot access generic subscript - Stack Overflow
- arrays - Visual Studio 2022 - Fortran - Debugging Issue - Stack Overflow
- smartcontracts - FailedCall() with OpenZeppelin meta transactions (ERC2771Forwarder and ERC2771Context) - Stack Overflow
- artificial intelligence - ImportError in Python when using the phi library - Stack Overflow
- vba - Excel Macro to rename tabs is failing on the second run - Stack Overflow
- php - Add Algorithm to the XML tag generated by SOAP - Stack Overflow
- flutter - Exported Excel File is Blank When Using excel Package - Stack Overflow
- sockets - PICO WMicropython websocket client can't send to PHP websocket properly - Stack Overflow
- apache - is it possible to graceful single process in passenger rails app? - Stack Overflow
- postgresql - Custom stopwords dictionary in Postgres hosted on GCP Cloud SQL - Stack Overflow