wordpress - MySQL query to duplicate a meta_key from wp_postmeta into a new meta_key -
basically want uninstall yoast seo because adds 7 seconds site's load time, want keep focus keywords seo purposes.
but first copy focus keywords own 'focus' post meta.
the structure in red, , add part in green. afterwards remove yoast's references:
- yoast's meta_key: _yoast_wpseo_focuskw
- desired key copy to: focus
i not clued sql queries, i've tried:
update wp_postmeta set _yoast_wpseo_focuskw = focus
but did not work. appreciated.
try :
update wp_postmeta set meta_key = 'focus' meta_key = '_yoast_wpseo_focuskw'
Comments
Post a Comment