Like we all know, we will use SQL to replace or remove some content in our WordPress using phpMyAdmin, on this post I’ll show you how To Replace/Remove Content on Your WordPress using SQL. On this trick you’ll access trough phpMyAdmin on your server or using plugin WP-DBManager and you’ll direct access trough WordPress Admin panel.
After you install dB manager or logging into phpMyAdmin, visit Run SQL interface and try the following code:
1 | UPDATE wp_posts SET post_content = REPLACE ( post_content, 'nofollow ', '' ); |
1 2 3 | UPDATE wp_posts SET post_content = REPLACE ( post_content, 'nofollow ', '' ); UPDATE wp_posts SET post_content = REPLACE ( post_content, ' nofollow', '' ); UPDATE wp_posts SET post_content = REPLACE ( post_content, ' rel="nofollow"', '' ); |
1 | UPDATE wp_posts SET post_content = REPLACE ( post_content, 'wordpress.org ', 'wptricks.net' ); |
Choose the Best WordPress Web Hosting
HostForLIFEASP.NET is recognized as one of the Best, Cheap WordPress Web Hosting Provider in UK. You can always start from their start from €3.00/month and this plan has supported WordPress, Joomla, Drupal, Umbraco, etc with one-click installer, within less than 5 minutes. They provide cheap, best and instant activation on your WordPress Hosting hosting account with UNLIMITED Bandwidth, Diskspace and Domain.