UPDATE wp_options SET option_value = REPLACE(option_value, 'http://site.ru', 'http://new-site.ru')
WHERE option_name = 'home' OR option_name = 'siteurl';

UPDATE wp_posts SET guid = REPLACE(guid, 'http://site.ru','http://new-site.ru');

UPDATE wp_posts SET post_content = REPLACE(post_content, 'http://site.ru', 'http://new-site.ru');

php_value max_input_vars 10000

define( 'AUTOMATIC_UPDATER_DISABLED', true );

/%category%/%postname%/