Lots of unnecessary db UPDATE statements on every reqeust
-
After updating from an older version to v9.11, I now see lots of unnecessary db UPDATE statements on every single request.
It seems that you run WPSR_upgrade() on every single request and don’t have any checks to see if you’ve already updated the database. And in WPSR_upgrade() you iterate over each of the defined redirects to make the links relative.
The UPDATE statements look similar to this:
update wp_WP_SEO_Redirection set redirect_from='/fu/',redirect_to='/' where ID=26
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.