Title: Automatic Domain Changer
Author: nuagelab
Published: <strong>April 2, 2013</strong>
Last modified: April 14, 2025

---

Search plugins

![](https://ps.w.org/automatic-domain-changer/assets/banner-772x250.png?rev=732952)

![](https://ps.w.org/automatic-domain-changer/assets/icon-256x256.png?rev=1151255)

# Automatic Domain Changer

 By [nuagelab](https://profiles.wordpress.org/nuagelab/)

[Download](https://downloads.wordpress.org/plugin/automatic-domain-changer.zip)

 * [Details](https://wordpress.org/plugins/automatic-domain-changer/#description)
 * [Reviews](https://wordpress.org/plugins/automatic-domain-changer/#reviews)
 *  [Installation](https://wordpress.org/plugins/automatic-domain-changer/#installation)
 * [Development](https://wordpress.org/plugins/automatic-domain-changer/#developers)

 [Support](https://wordpress.org/support/plugin/automatic-domain-changer/)

## Description

This plugin automatically detects a domain name change, and updates all the WordPress
tables in the database to reflect this change.

#### Features

 * Easily migrate a WordPress site from one domain to another
 * Migrate www.domain.com and domain.com at once
 * Migrate http and https links at once

#### Feedback

 * We are open for your suggestions and feedback – Thank you for using or trying
   out one of our plugins!
 * Drop us a line [@nuagelab](http://twitter.com/#!/nuagelab) on Twitter
 * Follow us on [our Facebook page](https://www.facebook.com/pages/NuageLab/150091288388352)
 * Drop us a line at [wordpress-plugins@nuagelab.com](https://wordpress.org/plugins/automatic-domain-changer/wordpress-plugins@nuagelab.com?output_format=md)

#### More

 * [Also see our other plugins](http://www.nuagelab.com/products/wordpress-plugins/)
   or see [our WordPress.org profile page](https://profiles.wordpress.org/users/nuagelab/)

### Translations

 * English
 * French
 * Spanish
 * Slovak

## Screenshots

 * [[
 * The domain change and admin notice

## Installation

This section describes how to install the plugin and get it working.

#### Requirements

 * The PHP CURL extension, usually installed on Un*x, Mac and Windows environments.
   See “Installing CURL on Linux” below for more help.
 * Capability for your server to communicate with the outside work (or more specifically,
   to communicate with our servers)

#### Installing the Plugin

_(using the WordPress Admin Console)_

 1. From your dashboard, click on “Plugins” in the left sidebar
 2. Add a new plugin
 3. Search for “Automatic Domain Changer”
 4. Install “Automatic Domain Changer”
 5. Once Installed, if you want to manually change your domain, go to Tools > Domain
    Change
 6. If your domain changes, a notice will appear at the top of the admin screen with
    a link to the domain changing tool

_(manually via FTP)_

 1. Delete any existing ‘auto-domain-change’ folder from the ‘/wp-content/plugins/’
    directory
 2. Upload the ‘auto-domain-change’ folder to the ‘/wp-content/plugins/’ directory
 3. Activate the plugin through the ‘Plugins’ menu in WordPress
 4. Once Installed, if you want to manually change your domain, go to Tools > Domain
    Change
 5. If your domain changes, a notice will appear at the top of the admin screen with
    a link to the domain changing tool

#### Making your blog/site address automatically reflect your server’s name

Add the following to your wp-config.php file:

    ```
    define('WP_HOME', 'http://' . $_SERVER['SERVER_NAME']);
    define('WP_SITEURL', 'http://' . $_SERVER['SERVER_NAME']);
    ```

See https://codex.wordpress.org/Editing_wp-config.php#WordPress_address_.28URL.29
for more information.

## FAQ

### What does this plugin do precisely?

It scans all the tables with the same table prefix as WordPress. It fetches each
row, unserialize values as needed, and replace the old domain by the new.

### Do you plan to localize this plugin in a near future?

Yes, this plugin will be translated to french shortly. If you want to help with 
translation in other languages, we’ll be happy to hear from you.

## Reviews

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

### 󠀁[great plug in](https://wordpress.org/support/topic/great-plug-in-1237/)󠁿

 [premmarga](https://profiles.wordpress.org/premmarga/) October 1, 2022 1 reply

does what it needs to do use it a lot, for my websites

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

### 󠀁[Does not work](https://wordpress.org/support/topic/does-not-work-863/)󠁿

 [shiftaction](https://profiles.wordpress.org/shiftaction/) January 29, 2018

I cannot get this to work.

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

### 󠀁[Does not work w/ Cornerstone Version 2.1.7+ Xtheme Version: 5.2.5](https://wordpress.org/support/topic/does-not-work-w-cornerstone-version-2-1-7-xtheme-version-5-2-5/)󠁿

 [Actor Mike](https://profiles.wordpress.org/websiteworld/) December 6, 2017

Does not work w/ Cornerstone Version 2.1.7+ Xtheme Version: 5.2.5. It worked with
previous versions but doesn’t work anymore. It was fun while it lasted. Maybe the
author will update.

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

### 󠀁[Saved me a lot of time!](https://wordpress.org/support/topic/saved-me-a-lot-of-time-18/)󠁿

 [rickgreen](https://profiles.wordpress.org/rickgreen/) July 25, 2017

Plugin works and it saved me a lot of time. Very thankful for this solution!

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

### 󠀁[Not useful with large rules](https://wordpress.org/support/topic/not-useful-with-large-rules/)󠁿

 [hossam hamed](https://profiles.wordpress.org/megatpl/) April 25, 2017 1 reply

Not useful with large rules causing errors with large rules that bypass the 1 GB

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

### 󠀁[Easy Automatic Domain Changer Thanks](https://wordpress.org/support/topic/easy-automatic-domain-changer-thanks/)󠁿

 [rodolpheb98](https://profiles.wordpress.org/rodolpheb98/) December 10, 2016

Easy Automatic Domain Changer Thanks

 [ Read all 28 reviews ](https://wordpress.org/support/plugin/automatic-domain-changer/reviews/)

## Contributors & Developers

“Automatic Domain Changer” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ nuagelab ](https://profiles.wordpress.org/nuagelab/)

[Translate “Automatic Domain Changer” into your language.](https://translate.wordpress.org/projects/wp-plugins/automatic-domain-changer)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/automatic-domain-changer/),
check out the [SVN repository](https://plugins.svn.wordpress.org/automatic-domain-changer/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/automatic-domain-changer/)
by [RSS](https://plugins.trac.wordpress.org/log/automatic-domain-changer/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.0.2

 * Tested up to WordPress 4.9.8
 * Added a way to change the protocol to HTTP or HTTPS

#### 2.0.1

 * Tested up to WordPress 4.6.1
 * Removed admin notice for users who don’t have update_core permission

#### 2.0.0

 * Tested up to WordPress 4.4.2
 * Added backup functionality
 * Removed usage of mysql_* functions in favor of $wpdb

#### 1.0.1

 * Tested up to WordPress 4.2.2

#### 1.0

 * Tested up to WordPress 4.2.1

#### 0.0.6

 * Bug fix with the processValue function generating a warning (thanks to @sniemetz
   for letting us know about this issue)
 * Slovak translation (thanks to Marek Letko)
 * Tested up to WordPress 4.1.1

#### 0.0.5

 * Minor text change

#### 0.0.4

 * Added JSON detection to fix values not being handled for plugins like RevSlider(
   thanks to Alfred Dagenais for letting us know about this issue)
 * Added double serialize detection for plugins like Global Content Blocks (thanks
   to @pixelkicks for letting us know about this issue)
 * Tested plugin up to WordPress 4.0.0

#### 0.0.3

 * Tested plugin up to WordPress 3.8.0

#### 0.0.2

 * Added error suppression on unserialize calls, as failing unserialize are normal
   and part of the game. Thanks to Kailey Lampert for pointing this out.
 * Added serialize(false) detection.

#### 0.0.1

 * First released version. Tested internally with about 10 sites.

## Meta

 *  Version **2.0.4**
 *  Last updated **1 year ago**
 *  Active installations **10,000+**
 *  WordPress version ** 3.0 or higher **
 *  Tested up to **6.7.5**
 * Tags
 * [admin](https://wordpress.org/plugins/tags/admin/)[administration](https://wordpress.org/plugins/tags/administration/)
   [domain change](https://wordpress.org/plugins/tags/domain-change/)[links](https://wordpress.org/plugins/tags/links/)
   [resources](https://wordpress.org/plugins/tags/resources/)
 *  [Advanced View](https://wordpress.org/plugins/automatic-domain-changer/advanced/)

## Ratings

 4.3 out of 5 stars.

 *  [  22 5-star reviews     ](https://wordpress.org/support/plugin/automatic-domain-changer/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/automatic-domain-changer/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/automatic-domain-changer/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/automatic-domain-changer/reviews/?filter=2)
 *  [  4 1-star reviews     ](https://wordpress.org/support/plugin/automatic-domain-changer/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/automatic-domain-changer/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/automatic-domain-changer/reviews/)

## Contributors

 *   [ nuagelab ](https://profiles.wordpress.org/nuagelab/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/automatic-domain-changer/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://www.nuagelab.com/products/wordpress-plugins/)