Title: Preserve MainWP Connection
Author: Jay Holtslander
Published: <strong>10.05.2020</strong>
Last modified: 02.10.2026

---

Поиск плагинов

![](https://ps.w.org/preserve-mainwp/assets/banner-772x250.jpg?rev=3723800)

![](https://ps.w.org/preserve-mainwp/assets/icon-256x256.jpg?rev=3723800)

# Preserve MainWP Connection

 Автор: [Jay Holtslander](https://profiles.wordpress.org/jasonh1234/)

[Скачать](https://downloads.wordpress.org/plugin/preserve-mainwp.2.0.1.zip)

 * [Детали](https://ru.wordpress.org/plugins/preserve-mainwp/#description)
 * [Отзывы](https://ru.wordpress.org/plugins/preserve-mainwp/#reviews)
 *  [Установка](https://ru.wordpress.org/plugins/preserve-mainwp/#installation)
 * [Разработка](https://ru.wordpress.org/plugins/preserve-mainwp/#developers)

 [Поддержка](https://wordpress.org/support/plugin/preserve-mainwp/)

## Описание

Preserve [MainWP](https://mainwp.com/)‘s connection details from being overwritten
by [WP Migrate](https://deliciousbrains.com/wp-migrate-db-pro/) and severing the
connection when pushing or pulling.

If you use MainWP to manage your WordPress sites and WP Migrate to clone sites between
environments, you’ll find that your site’s connections to MainWP are constantly 
being disconnected by the push/pull operations of WP Migrate. This plugin prevents
the database fields used for MainWP’s connection details from being overwritten 
by WP Migrate during both Push and Pull operations, saving you from having to reconnect
the site after every migration.

## Установка

 1. Upload `preserve-mainwp.php` to the `/wp-content/plugins/preserve-mainwp/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## Часто задаваемые вопросы

### Does this plugin require any configuration?

No. It works out-of-the-box («set and forget») as soon as it is activated.

### Which migration tools are supported?

It preserves settings for WP Migrate (formerly WP Migrate DB Pro / Delicious Brains).

## Отзывы

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

### 󠀁[Works great!](https://wordpress.org/support/topic/works-great-7264/)󠁿

 [skunkworks](https://profiles.wordpress.org/skunkworks/) 17.11.2020

Use it on all sites now.

 [ Посмотреть 1 отзыв ](https://wordpress.org/support/plugin/preserve-mainwp/reviews/)

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

«Preserve MainWP Connection» — проект с открытым исходным кодом. В развитие плагина
внесли свой вклад следующие участники:

Участники

 *   [ Jay Holtslander ](https://profiles.wordpress.org/jasonh1234/)

«Preserve MainWP Connection» переведён на 3 языка. Благодарим [переводчиков](https://translate.wordpress.org/projects/wp-plugins/preserve-mainwp/contributors)
за их работу.

[Перевести «Preserve MainWP Connection» на ваш язык.](https://translate.wordpress.org/projects/wp-plugins/preserve-mainwp)

### Заинтересованы в разработке?

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

## Журнал изменений

#### 2.0.1

 * Updated Tested up to tag to WordPress 7.1.
 * Added pre-bundled translation files (.po / .mo) for 10 languages.

#### 2.0.0

 * Complete refactor to OOP architecture (`Preserve_MainWP_Connection`).
 * Expanded preserved keys to all 10 MainWP Child authentication keys (`siteid`,`
   auth`, `connected_admin`, `nossl_key`, `openssl_sign_algo`, `security`).
 * Added pre-migration transient backups (`_preserve_mainwp_backup`) on initiation
   hooks.
 * Added post-migration DB restoration on finalization hooks to prevent connection
   loss during Push migrations.

#### 1.1.0

 * Modernized code structure and PHP 7.4+ compatibility.
 * Added support for `mainwp_child_subkey` option.
 * Updated WordPress and PHP version requirements.
 * Added GitHub Actions workflow for WordPress.org SVN automated deployment.

#### 1.0

 * Initial release

## Мета

 *  Версия **2.0.1**
 *  Обновление: **4 дня назад**
 *  Активных установок: **100+**
 *  Версия WordPress ** 5.6 или выше **
 *  Совместим вплоть до: **7.1.2**
 *  Версия PHP ** 7.4 или выше **
 *  Языки
 * [Dutch](https://nl.wordpress.org/plugins/preserve-mainwp/), [English (US)](https://wordpress.org/plugins/preserve-mainwp/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/preserve-mainwp/) и [Spanish (Spain)](https://es.wordpress.org/plugins/preserve-mainwp/).
 *  [Перевести на ваш язык](https://translate.wordpress.org/projects/wp-plugins/preserve-mainwp)
 * Метки:
 * [database](https://ru.wordpress.org/plugins/tags/database/)[MainWP](https://ru.wordpress.org/plugins/tags/mainwp/)
 *  [Дополнительно](https://ru.wordpress.org/plugins/preserve-mainwp/advanced/)

## Оценки

 5 из 5 звёзд.

 *  [  1 5-звездный отзыв     ](https://wordpress.org/support/plugin/preserve-mainwp/reviews/?filter=5)
 *  [  0 4-звездный отзыв     ](https://wordpress.org/support/plugin/preserve-mainwp/reviews/?filter=4)
 *  [  0 3-звездный отзыв     ](https://wordpress.org/support/plugin/preserve-mainwp/reviews/?filter=3)
 *  [  0 2-звездный отзыв     ](https://wordpress.org/support/plugin/preserve-mainwp/reviews/?filter=2)
 *  [  0 1-звездный отзыв     ](https://wordpress.org/support/plugin/preserve-mainwp/reviews/?filter=1)

[Ваш отзыв](https://wordpress.org/support/plugin/preserve-mainwp/reviews/#new-post)

[Посмотреть всеотзывы](https://wordpress.org/support/plugin/preserve-mainwp/reviews/)

## Участники

 *   [ Jay Holtslander ](https://profiles.wordpress.org/jasonh1234/)

## Поддержка

Есть что сказать? Нужна помощь?

 [Перейти в форум поддержки](https://wordpress.org/support/plugin/preserve-mainwp/)