• Stars
    star
    162
  • Rank 232,284 (Top 5 %)
  • Language
    PHP
  • Created almost 14 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

WordPress Migration Script - Corrects all URLs present in a standard WP install so that it will work as expected after changing the URL of your install

Migrate

Note: This WP script has been unloved for a couple of years. I'm not even sure if it still works / is useful, but if anyone would like to help maintain it please drop me an email :)

Migrate helps to move WordPress installations between URLs, for example between a development and production URL, or between domain names.

At this time, the Migrate is only a script, rather than a plugin so that it can be run to correct database problems after a site has been moved.

Download

Download a zip file from GitHub. Direct link: https://github.com/ErisDS/Migrate/zipball/master

Usage

  1. After moving your WordPress install (files and database) to a new url
  2. Place the script migrate.php in the root folder of your WordPress installation (at it's new location) at the same level as wp-config.php.
  3. Navigate to yournewurl.com/migrate.php
  4. Fill out the "Your current URL" field with the orignal URL at which you installed WordPress
  5. Fill out the "Your replacement URL" field with the new URL that you want WordPress to sit under
  6. Press "Continue (Step 2)"
  7. The information you entered will be repeated back to you, along with some information about your WordPress install and what is going to be changed.
  8. If you are happy the information is correct, check the confirmation checkbox and press "Lets do this!"
  9. The script will output details of what has been changed, and your WordPress install should now work correctly

I got a warning message?

During Step 2 of the process, the script checks to see if the new URL matches the server URL where the migrate.php script is sitting. If they don't match the script produces a warning. This is because in most cases they should be the same, and this warning will hopefully ward off unwanted spelling errors.

What if I changed the URL incorrectly?

You can run the script as many times as you like and it will not cause any unwanted problems, to get it to work you only need to make sure that the "from" or "current" URL is correct. If it isn't correct, nothing bad will happen! The script does exactly the same thing each time it is run, therefore if you want to test it by changing your WordPress install to a dummy URL and back again, you can :)

More Information

For more details please see the blog post at: hannah.wf/migrate-announcement

Contribute

Feel free to raise bugs and open PRs. Try to keep to the existing code style. If you're interested in becoming a committer drop me a message.

Changelog

Version 0.0.4
Bugfix / support for https:// thanks to Bteryk

More Repositories

1

ghost-github-chrome-extension

Handy Chrome extension for working with the Ghost github repo
JavaScript
9
star
2

middleware-stack-printer

Print out your express middleware stack in a tree format
JavaScript
3
star
3

Ghost-Example-Theme

An example Ghost theme
HTML
3
star
4

express-bookshelf-jsonapi

Library for creating JSONAPI endpoints from bookshelf models
JavaScript
3
star
5

ghost-bookshelf-jsonapi

Build JSONAPI compliant APIs based on bookshelf models
JavaScript
2
star
6

github-api-playground

GitHub API Experiments
JavaScript
2
star
7

bookshelf-jsonapi-playground

A playground project demonstrating building a JSONAPI from bookshelf models
HTML
2
star
8

Pods-Widget-Wordpress-Plugin

2
star
9

YUI-Javascript-Carousel-Demo-Code

Code supporting the examples in my blog article series - YUI: Javascript Carousel with Custom Navigation
2
star
10

TravisTest

A temporary repo to test travis behaviour
2
star
11

ghost-permissions

Reference implementation
JavaScript
1
star
12

orm-benchmark

TypeScript
1
star
13

vercel-proxy-test

Testing setting up a vercel proxy
HTML
1
star
14

GitHub-battle

Following along with http://courses.reactjsprogram.com/courses/reactjsfundamentals
JavaScript
1
star
15

netlify-proxy-test

Testing setting up a netlify proxy
HTML
1
star
16

koenig-fun

JavaScript
1
star
17

node-warn-demo

Demonstrating how node warning can interfere with CLI output
JavaScript
1
star
18

react-data-playground

JavaScript
1
star
19

Casper-Hannah

CSS
1
star
20

nest-coffee

Official nest course
TypeScript
1
star
21

next-proxy-test

JavaScript
1
star
22

supertest-extra

Extra helpers & nicer error messages for supertest
JavaScript
1
star
23

gatsby-demo

JavaScript
1
star
24

git-pulse

Generate data for regular dev blog posts
1
star
25

showdown-ghost-extra

JavaScript
1
star