Remove the category from wordpress urls permalink /%category%/%postname% without a plugin

To remove the annoying: example.com/category/%category%/%postname% and get the better: example.com/%category%/%postname% I added this line before the wordpress standard .htaccess code: Options +FollowSymlinks this is the old .htaccess contents: <IfModulemod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> this is …

Huge increase in WordPress xmlrpc.php POST requests

Mitigate wp.getUserBlogs xmlrpc.php attacks and enumeration scans It should be possible to mitigate against this wp.getUserBlogs enumeration scan with a filter, which we put in our THEME functions.php file. Basically it’s the same as the filter below to disable the pingback.ping function. add_filter(‘xmlrpc_methods’,function($methods){   unset($methods[‘wp.getUsersBlogs’]);   return $methods;  }); Or this …