Title: Better Search Replace
Author: WP Engine
Published: <strong>06.01.2015</strong>
Last modified: 08.12.2025

---

Шукати плагіни

![](https://ps.w.org/better-search-replace/assets/banner-772x250.jpg?rev=2706527)

![](https://ps.w.org/better-search-replace/assets/icon-256x256.png?rev=2706527)

# Better Search Replace

 Від автора [WP Engine](https://profiles.wordpress.org/wpengine/)

[Завантажити](https://downloads.wordpress.org/plugin/better-search-replace.1.4.10.zip)

 * [Деталі](https://uk.wordpress.org/plugins/better-search-replace/#description)
 * [Відгуки](https://uk.wordpress.org/plugins/better-search-replace/#reviews)
 *  [Встановлення](https://uk.wordpress.org/plugins/better-search-replace/#installation)
 * [Розробка](https://uk.wordpress.org/plugins/better-search-replace/#developers)

 [Підтримка](https://wordpress.org/support/plugin/better-search-replace/)

## Опис

При перенесенні вашого сайту WordPress на новий домен або сервер, ви, швидше за 
все, зіткнетеся з необхідністю виконати пошук/заміну в базі даних, щоб все працювало
коректно. На щастя, для цього завдання існує кілька плагінів, проте всі вони мають
різний підхід до кількох ключових функцій. Цей плагін об’єднує найкращі можливості
цих плагінів, об’єднуючи наведені нижче функції в одному простому плагіні:

 * Підтримка серіалізації для всіх таблиць
 * Можливість вибору конкретних таблиць
 * Можливість запустити “пробний запуск”, щоб побачити, скільки полів буде оновлено
 * Жодних вимог до сервера, окрім запущеної інсталяції WordPress
 * Мультисайтова підтримка WordPress

> **Функції, що заощаджують час, доступні у версії Pro:**
>  * Можливість переглянути, що саме змінилося під час пошуку/заміни
>  * Резервне копіювання та імпорт бази даних під час виконання пошуку/заміни
>  * Пріоритетна підтримка електронною поштою від розробника плагіна
>  * Збереження або завантаження власних профілів для швидкого повторення пошуку/
>    заміни в майбутньому
>  * Підтримка та оновлення протягом 1 року
> **[Дізнатись більше про Better Search Replace Pro](https://bettersearchreplace.com/)**

Функція пошуку та заміни значною мірою базується на чудовому скрипті з відкритим
вихідним кодом Search Replace DB, модифікованому для використання функцій власної
бази даних WordPress для забезпечення сумісності.

**Підтримувані мови**

 * Англійська
 * Французька
 * Німецька
 * Іспанська

**Хочете зробити свій внесок?**

Не соромтеся відкривати проблему або надсилати запит на [GitHub](https://github.com/deliciousbrains/better-search-replace/).

## Скріншоти

[⌊Сторінка Better Search Replace додана в меню "Інструменти"⌉⌊Сторінка Better Search
Replace додана в меню "Інструменти"⌉[

Сторінка Better Search Replace додана в меню “Інструменти”

[⌊Після виконання пробного запуску пошуку/заміни.⌉⌊Після виконання пробного запуску
пошуку/заміни.⌉[

Після виконання пробного запуску пошуку/заміни.

## Встановлення

Встановлюйте Better Search Replace так само, як ви встановлюєте будь-який інший 
плагін WordPress.

Встановлення з Майстерні:

 1. Увійдіть до адмін-панелі WordPress і перейдіть до розділу Плагіни -> Додати новий
 2. Введіть “Better Search Replace” в рядку пошуку та виберіть цей плагін
 3. Натисніть “Встановити”, а потім “Активувати плагін”

Метод завантаження:

 1. Розпакуйте плагін і завантажте папку “better-search-replace” у вашу директорію ‘
    wp-content/plugins’
 2. Активуйте плагін через меню “Плагіни” в WordPress

## Часті питання

### Використання Better Search Replace

Після активації Better Search Replace додасть сторінку в меню “Інструменти” в адмінці
WordPress.

### Чи підтримується мій хост?

Так! Цей плагін має бути сумісним з будь-яким хостом.

### Чи можу я пошкодити свій сайт за допомогою цього плагіна?

Так! Введення неправильного рядка пошуку або заміни може пошкодити вашу базу даних.
Тому перед використанням цього плагіна завжди рекомендується створювати резервну
копію бази даних.

### Як це працює на мультисайтах WordPress?

When this plugin is installed on a WordPress multisite network:

 * Subsite administrators can only search and replace within tables that belong 
   to that subsite by visiting Dashboard > Tools > Better Search Replace from WP
   Admin of the subsite.
 * Network administrators (i.e. Super Admins) and administrators of the primary 
   site can search and replace across all tables in the multisite network by visiting
   Dashboard > Tools > Better Search Replace from WP Admin of the primary site.

To change which users have access to the plugin, the user capability can be modified
via code using the `bsr_capability` filter.

### Як я можу використовувати цей плагін під час зміни URL-адрес?

Якщо ви переносите свій сайт з одного сервера на інший і змінюєте URL-адресу вашої
інсталяції WordPress, описаний нижче підхід дозволить вам зробити це легко, не впливаючи
на старий сайт:

 1. Створіть резервну копію бази даних на вашому поточному сайті
 2. Встановіть базу даних на новий хост
 3. На новому хості визначте нову URL-адресу сайту у файлі `wp-config.php`, як показано
    [тут](https://codex.wordpress.org/Changing_The_Site_URL#Edit_wp-config.php)
 4. Увійдіть за новою URL-адресою адміністратора та запустіть Better Search Replace,
    щоб замінити стару URL-адресу сайту на нову URL-адресу
 5. Видаліть константу site_url, яку ви додали до `wp-config.php`. Вам також може знадобитися
    відновити ваш .htaccess, перейшовши в Налаштування – > Постійні посилання та зберігши
    налаштування.

Більше інформації про перенесення WordPress можна знайти [тут](https://codex.wordpress.org/Moving_WordPress).

## Відгуки

![](https://secure.gravatar.com/avatar/f0753d30578464954a98a26fa0d8006e0952c670281b55f01fc825222441235d?
s=60&d=retro&r=g)

### 󠀁[Avoid – Replaces all strings with one string](https://wordpress.org/support/topic/avoid-replaces-all-strings-with-one-string/)󠁿

 [accordionmaniac](https://profiles.wordpress.org/accordionmaniac/) 10.05.2026

Replaces all instances of the string, with one instance of the string that it finds
in the database, everywhere. Completely out of your control.

![](https://secure.gravatar.com/avatar/15fb84635c304663ee27a6654ad79fe11052aaa916919870cf4b4fc63f886db3?
s=60&d=retro&r=g)

### 󠀁[Excellent](https://wordpress.org/support/topic/excellent-14240/)󠁿

 [Quentin Le Duff](https://profiles.wordpress.org/quentinldd/) 23.04.2026

Using it for years, doing it’s job well 🙂

![](https://secure.gravatar.com/avatar/7cc1b1116e06b81f5a0e14a1b8eb322ec655b5ff0158280bd1bb077a4283fcc8?
s=60&d=retro&r=g)

### 󠀁[Works But Limited](https://wordpress.org/support/topic/works-but-limited-5/)󠁿

 [urmirun](https://profiles.wordpress.org/urmirun/) 09.03.2026

Used Better Search Replace while moving my site. It did the basic job fine & was
easy to run. But some useful options are locked in Pro, which was a bit annoying.
Still ok for quick replace tasks tho.

![](https://secure.gravatar.com/avatar/36bfda6f4aa6a01bbe2180a2dbfa2157602570d8133b37a8823d688a32454590?
s=60&d=retro&r=g)

### 󠀁[Works Pretty Well](https://wordpress.org/support/topic/works-pretty-well-58/)󠁿

 [hakeemstone](https://profiles.wordpress.org/hakeemstone/) 23.02.2026

Used it to update old URLs after site move. Did the job smooth, no big issue. UI
is simple & easy to get. Saved a lot of time tbh. Would be 5 star if a bit faster
on large DB, but still solid plugin 👍

![](https://secure.gravatar.com/avatar/a50a459b0c94f6c2b570df57c2a789dc7de4cd9db00d5e58665a9561bf0e82c4?
s=60&d=retro&r=g)

### 󠀁[Não utilize isso](https://wordpress.org/support/topic/nao-utilize-isso/)󠁿

 [Juarez Meireles](https://profiles.wordpress.org/juarezjms/) 22.02.2026

Se você não quer passar raiva, fique longe deste plugin. Instalei para somente para
alterar alguns links de saída que haviam em postagens de cupons e produtos Woo. 
Ele realmente fez o trabalho. Troucou. Porém, bagunçou tudo no banco de dados com
coisas que não tinha nada relacionado à estes links.Todos os botões de saída do 
site, independente do url de saída, ficaram com um mesmo url que nunca foi inserido
no plugin. Trocou a descrição de todas as categorias para um mesmo texto que era
o texto de uma das lojas que sou parceiro(dealstore).Se ele alterasse só o que solicitamos,
era maravilhoso. Mas ele alterou foi tudo. O pior é que só percebi 10 dias depois.
Agora é trabalhar vários dias para recuperar os valores reais em diversos campos.
Mas tirando esse bug, o plugin é bom.

![](https://secure.gravatar.com/avatar/617c6e62c889619ef2f92f5ca2ea7bcf0868921649bbcda500259dcc1bc78658?
s=60&d=retro&r=g)

### 󠀁[Very Good tool](https://wordpress.org/support/topic/very-good-tool-104/)󠁿

 [KeithRowley](https://profiles.wordpress.org/keithrowley/) 08.01.2026

I’ve done the job before, migrating a site to a new url. This made the job easier
and presented no false steps or problems. Thank you.

 [ Прочитати всі 543 відгуки ](https://wordpress.org/support/plugin/better-search-replace/reviews/)

## Учасники та розробники

“Better Search Replace” — проект з відкритим вихідним кодом. В розвиток плагіну 
внесли свій вклад наступні учасники:

Учасники

 *   [ WP Engine ](https://profiles.wordpress.org/wpengine/)
 *   [ Delicious Brains ](https://profiles.wordpress.org/deliciousbrains/)
 *   [ Matt Shaw ](https://profiles.wordpress.org/mattshaw/)

“Better Search Replace” було перекладено на 32 локалізації. Дякуємо [перекладачам](https://translate.wordpress.org/projects/wp-plugins/better-search-replace/contributors)
за їх роботу.

[Перекладіть “Better Search Replace” на вашу мову.](https://translate.wordpress.org/projects/wp-plugins/better-search-replace)

### Цікавитесь розробкою?

[Перегляньте код](https://plugins.trac.wordpress.org/browser/better-search-replace/),
перегляньте [сховище SVN](https://plugins.svn.wordpress.org/better-search-replace/)
або підпишіться на [журнал розробки](https://plugins.trac.wordpress.org/log/better-search-replace/)
за допомогою [RSS](https://plugins.trac.wordpress.org/log/better-search-replace/?limit=100&mode=stop_on_copy&format=rss).

## Журнал змін

#### 1.4.10 – January 14, 2025

 * Fix: Improved security and stability

#### 1.4.9 – October 4, 2024

 * Security: The plugin now uses its own update mechanism from WP Engine servers
 * New: Dependencies have been updated

#### 1.4.8 – September 3, 2024

 * No changes as this was a pro-only release for Better Search Replace Pro

#### 1.4.7 – May 30, 2024

 * Fix: The case-insensitive setting once again allows case-insensitive strings 
   to be matched within serialized data, fixing a regression introduced in version
   1.4.6

#### 1.4.6 – April 17, 2024

 * Changed: Serialized text strings are now only deserialized when containing a 
   match, resulting in faster performance
 * Security: Table names are now escaped when displaying search results

#### 1.4.5 – January 18, 2024

 * Security: Unserializing an object during search and replace operations now passes`'
   allowed_classes' => false` to avoid instantiating the object and potentially 
   running malicious code stored in the database (thanks to Wordfence for responsible
   disclosure on December 18, 2023 followed by development and testing of the fix
   by WP Engine)
 * Fix: A regression in version 1.4.4 which caused some search results to be skipped
   has been fixed to ensure only numeric keyed objects are skipped

#### 1.4.4 – December 14, 2023

 * Fix: Objects with numerical properties are now skipped to avoid causing errors

#### 1.4.3 – September 5, 2023

 * New: Links to plugin documentation, support, feedback, and changelog are now 
   available in the footer of WP Admin
 * Improvement: PHP 8.2 and Better Search Replace are now compatible

#### 1.4.2 – January 11, 2023

 * Security: Arbitrary tab templates in the `templates` directory can no longer 
   be loaded using a query parameter.

#### 1.4.1 – July 25, 2022

 * Security: Selected tables are now confirmed to exist before processing the request

#### 1.4 – April 7, 2022

 * New: Better Search Replace has a brand new user interface
 * Improvement: Default capability required to use the plugin has changed from “
   install_plugins” to “manage_options” for compatibility with DISALLOW_FILE_MODS

#### 1.3.4 – December 7, 2020

 * Improvement: WordPress 5.6 and PHP 8 compatible
 * Fix: Strings that have been serialized twice showing up as false-positives

#### 1.3.3 – February 26, 2019

 * Fix: Some special characters interfering with search/replace
 * Security: Pass template filenames through `sanitize_file_name()`
 * Security: Verify nonce when downloading diagnostic info

#### 1.3.2 – January 3, 2018

 * Fix: Only one table searched on some environments (props @Ov3rfly)
 * Tweak: Update text in sidebar

#### 1.3.1 – September 14, 2017

 * Security: Check if data is serialized before unserializing it
 * Improvement: Increased size of table select

#### 1.3 – November 10, 2016

 * Improvement: Updated sidebar and added pro version discount
 * Fix: Outdated links to old website
 * Fix: Prevent requests to invalid tabs

#### 1.2.10 – June 2, 2016

 * Fix: CSS not loaded on details page

#### 1.2.9 – December 8, 2015

 * Fix: Bug with case-insensitive searches in serialized objects
 * Fix: Bug with early skip due to lack of primary key

#### 1.2.8 – November 25, 2015

 * Fix: Bug with report details

#### 1.2.7 – November 24, 2015

 * Fix: Untranslateable string
 * Tweak: Check BSR_PATH instead of ABSPATH to be consistent
 * Tested with 4.4

#### 1.2.6

 * Removed unused code/small cleanup

#### 1.2.5

 * Improved progress bar info and styles
 * Small cleanup

#### 1.2.4

 * Added “Settings saved” notice when saving settings
 * Fixed bug with wp_magic_quotes interfering with some search strings

#### 1.2.3

 * Fixed bug with searching for backslashes
 * Fixed potential bug with getting tables in large multisites
 * Fixed potential notice in append_report
 * Improved handling of missing primary keys

#### 1.2.2

 * Fixed AJAX conflict with WooCommerce
 * Fixed a few issues with translations
 * Tweaked “System Info” to use get_locale() instead of WP_LANG constant
 * Updated German translation (props @Linus Ziegenhagen)

#### 1.2.1

 * Fixed minor issue with display of progress bar
 * Updated translation file

#### 1.2

 * Switched to AJAX bulk processing for search/replaces
 * Decreased minimum “Max Page Size” to 1000
 * Added “Help” tab with system info for easier troubleshooting

#### 1.1.1

 * Added ability to change max page size
 * Decreased default page size to prevent white screen issue on some environments

#### 1.1

 * Added ability to change capability required to use plugin
 * Small bugfixes and translation fixes

#### 1.0.6

 * Added table sizes to the database table listing
 * Added French translation (props @Jean Philippe)

#### 1.0.5

 * Added support for case-insensitive searches
 * Added German translation (props @Linus Ziegenhagen)

#### 1.0.4

 * Potential security fixes

#### 1.0.3

 * Fixed issue with searching for special characters like ‘\’
 * Fixed bug with replacing some objects

#### 1.0.2

 * Fixed untranslateable strings on submit button and submenu page.

#### 1.0.1

 * Fixed issue with loading translations and added Spanish translation (props Eduardo
   Larequi)
 * Fixed bug with reporting timing
 * Updated to use “Dry Run” as default
 * Added support for WordPress Multisite (see FAQs for more info)

#### 1.0

 * Initial release

## Мета

 *  Версія **1.4.10**
 *  Останнє оновлення **6 місяців тому**
 *  Активних встановлень **1+ млн**
 *  Версія WordPress ** 3.0.1 або вище **
 *  Tested up to **6.9.4**
 *  Мови
 * [Catalan](https://ca.wordpress.org/plugins/better-search-replace/), [Chinese (China)](https://cn.wordpress.org/plugins/better-search-replace/),
   [Chinese (Taiwan)](https://tw.wordpress.org/plugins/better-search-replace/), 
   [Czech](https://cs.wordpress.org/plugins/better-search-replace/), [Danish](https://da.wordpress.org/plugins/better-search-replace/),
   [Dutch](https://nl.wordpress.org/plugins/better-search-replace/), [Dutch (Belgium)](https://nl-be.wordpress.org/plugins/better-search-replace/),
   [English (Australia)](https://en-au.wordpress.org/plugins/better-search-replace/),
   [English (Canada)](https://en-ca.wordpress.org/plugins/better-search-replace/),
   [English (New Zealand)](https://en-nz.wordpress.org/plugins/better-search-replace/),
   [English (South Africa)](https://en-za.wordpress.org/plugins/better-search-replace/),
   [English (UK)](https://en-gb.wordpress.org/plugins/better-search-replace/), [English (US)](https://wordpress.org/plugins/better-search-replace/),
   [French (Canada)](https://fr-ca.wordpress.org/plugins/better-search-replace/),
   [French (France)](https://fr.wordpress.org/plugins/better-search-replace/), [Galician](https://gl.wordpress.org/plugins/better-search-replace/),
   [German](https://de.wordpress.org/plugins/better-search-replace/), [Italian](https://it.wordpress.org/plugins/better-search-replace/),
   [Japanese](https://ja.wordpress.org/plugins/better-search-replace/), [Korean](https://ko.wordpress.org/plugins/better-search-replace/),
   [Lithuanian](https://lt.wordpress.org/plugins/better-search-replace/), [Norwegian (Bokmål)](https://nb.wordpress.org/plugins/better-search-replace/),
   [Persian](https://fa.wordpress.org/plugins/better-search-replace/), [Polish](https://pl.wordpress.org/plugins/better-search-replace/),
   [Portuguese (Brazil)](https://br.wordpress.org/plugins/better-search-replace/),
   [Russian](https://ru.wordpress.org/plugins/better-search-replace/), [Spanish (Chile)](https://cl.wordpress.org/plugins/better-search-replace/),
   [Spanish (Colombia)](https://es-co.wordpress.org/plugins/better-search-replace/),
   [Spanish (Ecuador)](https://es-ec.wordpress.org/plugins/better-search-replace/),
   [Spanish (Spain)](https://es.wordpress.org/plugins/better-search-replace/), [Spanish (Venezuela)](https://ve.wordpress.org/plugins/better-search-replace/),
   [Swedish](https://sv.wordpress.org/plugins/better-search-replace/) і [Ukrainian](https://uk.wordpress.org/plugins/better-search-replace/).
 *  [Перекладіть на свою мову](https://translate.wordpress.org/projects/wp-plugins/better-search-replace)
 * Позначки
 * [search and replace](https://uk.wordpress.org/plugins/tags/search-and-replace/)
   [search replace](https://uk.wordpress.org/plugins/tags/search-replace/)[search replace database](https://uk.wordpress.org/plugins/tags/search-replace-database/)
   [update database urls](https://uk.wordpress.org/plugins/tags/update-database-urls/)
   [update live url](https://uk.wordpress.org/plugins/tags/update-live-url/)
 *  [Розширений перегляд](https://uk.wordpress.org/plugins/better-search-replace/advanced/)

## Оцінки

 4.3 out of 5 stars.

 *  [  431 5-star reviews     ](https://wordpress.org/support/plugin/better-search-replace/reviews/?filter=5)
 *  [  15 4-star reviews     ](https://wordpress.org/support/plugin/better-search-replace/reviews/?filter=4)
 *  [  11 3-star reviews     ](https://wordpress.org/support/plugin/better-search-replace/reviews/?filter=3)
 *  [  17 2-star reviews     ](https://wordpress.org/support/plugin/better-search-replace/reviews/?filter=2)
 *  [  69 1-star reviews     ](https://wordpress.org/support/plugin/better-search-replace/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/better-search-replace/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/better-search-replace/reviews/)

## Учасники

 *   [ WP Engine ](https://profiles.wordpress.org/wpengine/)
 *   [ Delicious Brains ](https://profiles.wordpress.org/deliciousbrains/)
 *   [ Matt Shaw ](https://profiles.wordpress.org/mattshaw/)

## Підтримка

Проблеми вирішені за останні два місяці:

     2 з 3

 [Перейти в форум підтримки](https://wordpress.org/support/plugin/better-search-replace/)