How to disable archive pages index in Yoast SEO

// no-index tag for paginated pages for Yoast SEO => 6.3 add_filter( 'wpseo_robots', 'no_index_paginated_pages' ); function no_index_paginated_pages( $string ) {if ( is_paged() ) {return 'noindex,follow';} else {…

How to Increase Swap in ServerPilot & Ubuntu 16.04

By default ServerPilot enables 512 MB of swap space on your server. But If your server already had swap space enabled when you connected it to ServerPilot, then no additional swap space is added. What is Swap? Swap space is fake memory…

How to Disable XML-RPC in WordPress

You can copy this code, to your themes function.php this will disable XML-RPC in WordPress.// Disable XML-RPC add_filter( 'xmlrpc_enabled', '__return_false' );If you don't want to edit your theme file then install Disable…