Peter_L
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: the_modified_time not correctI made a mistake. I looked at the DB wp_post table but didn’t realize there’s also rows for auto updates and revisions. When I looked at the actual post rows the date was in fact 6 feb. Still not sure how they all got 6 feb but I’m in the process of updating and cleaning up all posts anyway.
Thanks for the help.Forum: Plugins
In reply to: [Yoast SEO] incorrect the_modified_time / post_modifiedWait, on closer inspection of the DB. I found that I was wrong about the post_modified fields in the wp_posts table rows. I probably didn’t realize I was looking at a revision or auto-save row (post_name field).
Now that I filtered that out, I can see that the post_modified fields are in fact correct. I still don’t know where that date came from but there is no more link with yoast. Gonna close this topic down.
Thank you for the help.
- This reply was modified 3 years, 5 months ago by Peter_L.
Forum: Plugins
In reply to: [Yoast SEO] incorrect the_modified_time / post_modifiedI also thought it might be a caching issue. So, I did clear my browser cache and the caching from my website (wp fastest cache). I cleared the cache from inside the plugin, deactivated the cache and manually checked the caching folder. It was empty. So, I’m absolutely sure it wasn’t the caching plugin.
General settings seem to be fine: timezone utc+1 date notation 21 june 2021 time notation 20:40.
Forum: Plugins
In reply to: [Yoast SEO] incorrect the_modified_time / post_modified@devnihil I followed all the steps on a local copy and it didn’t solve the issue.
I did it a first time, checked and it still showed the 6 februari date.
Then I tried it a second time. I first hit the reset indexables and migrations button. Checked the DB, the wp_yoast_indexable table was empty. I checked the site front-end and it was still showing the 6 feb.
I then hit the “Start SEO Data Optimization” button. The DB now had a full wp_yoast_indexable table and the rows now have fields created_at and updated_at with todays date: 2021-06-22 14:05:40.
The front-end of my site however is still showing the incorrect 6 februari 2021 date. The DB table wp_posts still has the correct dates in the post_modified fields.
I don’t understand where wp is getting this 6 februari date from.
Forum: Developing with WordPress
In reply to: the_modified_time not correctThanks for putting effort into this. I did switch to 2021, turned off all plugins and altered the 2021 template to show last modified date instead of published date and the problem remains the same. I even temporarily altered the name of yoast folder in plugins folder, just in case.
I looked more into the DB and found a table wp_yoast_indexable table There, the rows have the incorrect date (the 6 februari) in the post_modified field. But how WP is still pulling data from that after disabling the yoast seo plugin, I don’t understand.
I tried updating a post and the date modified updated just fine.
I placed a topic on this issue in the yoast seo support https://www.ads-software.com/support/topic/incorrect-the_modified_time-post_modified/ but haven’t gotten an answer yet.
- This reply was modified 3 years, 5 months ago by Peter_L.
Forum: Developing with WordPress
In reply to: the_modified_time not correctI’m definitely in the loop. I just made a local copy, turned off all plugins. Problem still there.
Forum: Plugins
In reply to: [WP Fastest Cache] Cache uses httpsSomething is causing it. I was just asking to see if you had an idea. I’ll look further into this. I’ll mark this as resolved.
Forum: Plugins
In reply to: [WP Fastest Cache] Cache uses httpsPure http
Forum: Plugins
In reply to: [WP Fastest Cache] Cache uses httpsSometimes, somehow, my http website (with this plugin) prints the image links as https. This breaks the site. I solve it by deleting the cache. Could this be a bug in your plugin?
Forum: Fixing WordPress
In reply to: CSS for non adminsadmins are logged in users as well
Forum: Fixing WordPress
In reply to: CSS for non adminsI’d try and rethink this using is user logged in
https://codex.www.ads-software.com/Function_Reference/is_user_logged_inForum: Fixing WordPress
In reply to: Strip specific shortcode and keep the content insideYou could just update the shortcode so it simply return the content.
Forum: Plugins
In reply to: [W3 Total Cache] Cached pages issueI’m having a similar issue. I made some changes to a theme yet the old version still gets served somehow.
Things I tried:
Disabled and removed Total Cache.
Hit empty all caches buttons.Forum: Fixing WordPress
In reply to: WP is reading half translated strings on localization fileThis might have something to do with WP having problems with recognizing the default language.
f.e. if default lang of wp is EN but default lang of theme is IT, you might run into problems.
Could be a bug in your language plugin too.
Forum: Fixing WordPress
In reply to: Using a header file other than header.php not workingThey should both be in the same directory.