Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author nuagelab

    (@nuagelab)

    Hi Cobalt,

    Not necessarily, it will work both ways. But installing it before transferring will make things a bit easier for you as the domain name change will be detected.

    Mode 1: Install it before

    1. You install and enable it
    2. Add these lines to your wp-config.php:
      define('WP_HOME', 'http://' . $_SERVER['SERVER_NAME']);
      define('WP_SITEURL', 'http://' . $_SERVER['SERVER_NAME']);
    3. Transfer the site (copy files + DB)
    4. A popup will show up at the top of the admin screen telling you that the domain as changed. Click on the link.
    5. Run the plugin
    6. Remove the lines from wp-config.php (and disable the plugin if you’re not planning on moving the site any time soon)

    Mode 2. Install it after

    1. Transfer the site (copy files + DB)
    2. Add these lines to your wp-config.php:
      define('WP_HOME', 'http://' . $_SERVER['SERVER_NAME']);
      define('WP_SITEURL', 'http://' . $_SERVER['SERVER_NAME']);
    3. Install the plugin
    4. Go to Tools > Change domain in the admin
    5. Enter your old domain name, and make sure the new one is correct
    6. Run the plugin
    7. Remove the lines from wp-config.php (and disable the plugin if you’re not planning on moving the site any time soon)

    Please let me know if there’s anything else I can help you with.

    Best,

    Tommy Lacroix
    NuageLab

    Thread Starter C0BALT

    (@c0balt)

    This is perfect…
    I would suggest adding this to the FAQ in some way, it’s an excellent example of how I can see how the plugin works before downloading/running etc.

    Plugin Author nuagelab

    (@nuagelab)

    Thanks for the suggestion. It would be a good idea indeed!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘add faq topic…’ is closed to new replies.