Genesis Themes

  • Home
  • Genesis Tutorials
  • WP Tutorial
  • Twenty Fifteen Theme
  • Social Media
  • WP Plugins

WordPress : Remove Transient Options in Database

Delete or remove transient options to reduce and optimize the size of database. Use WP Optimize WordPress plugin to delete all transient options in your database with one click.It will not affect on your website and database.Before do this task, backup your database, if needed.

WordPress rebuild the cache after transient options deleted. Except WordPress themes, plugins and images (stored in wp content folder), all the other data will store in Database.Transient option are actually built in WordPress cache system,Which helps in speeding your site,It stores the requested data of WordPress Database for a time period so that it can be used if someone requests the same data in that time period.

How to Delete Transient Options in WordPress :

remove-transient-options

1.Install WP-Optimize Plugin.

2.Click on Activate and select Optimizer option.

3.Check remove transient options as shown in image.

4.Check Optimize database tables options too and click on process button.

5.That's it. Now your WordPress database didn't have any transient options and WordPress will rebuild fresh cache.

Recommended WP Optimize settings to reduce database Size:

Check :Clean all post revisions

Uncheck : Clean all auto draft posts and posts in trash

Check :Remove spam comments and comments in trash

Uncheck :Remove unapproved comments

Check :Remove transient options

Uncheck :Remove pingbacks

Uncheck : Remove trackbacks

To remove pingbacks and trackbacks in WordPress, add the following code to your current theme's functions.php file.

//remove pings to self
function no_self_ping( &$links ) {
$home = get_option( 'home' );
foreach ( $links as $l => $link )
if ( 0 === strpos( $link, $home ) )
unset($links[$l]);
}
add_action( 'pre_ping', 'no_self_ping' );

Related Posts

  • Display WordPress Popular Posts by Comments Count
  • How to Combine External CSS Files in WordPress
  • Error Establishing a Database Connection in WordPress
  • Show one category Posts on Home Page in WordPress 2015 theme
  • Setting Up WordPress Breadcrumbs with Yoast SEO Plugin
  • Exclude Category Posts from Homepage in WordPress
  • How to Add Related Posts with Thumbnails in WordPress
  • How to Create a Mobile Friendly Responsive Menu in WordPress
  • Remove Query String from Static Resources in WordPress
  • How to Add Logo to Twenty Fourteen Theme

Bluehost and Siteground Coupons for January 2016.

Best Premium WordPress Themes from TemplateMonster
download wordpress themes from MonsterOne

Categories

  • Blog
  • Blogger
  • Genesis Tutorials
  • Social Media
  • Top Websites
  • Twenty Fifteen WordPress Theme
  • WordPress Plugins
  • WordPress Tutorial