WordPress

From Useful Data
Revision as of 17:37, 15 June 2017 by Simon (talk | contribs) (Created page with "= WordPress = == Creating a clone of a WordPress site using UpdraftPlus == # If there is an existing clone, delete the existing clone: files and database. Set the PHP version...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WordPress

Creating a clone of a WordPress site using UpdraftPlus

  1. If there is an existing clone, delete the existing clone: files and database.

Set the PHP version to 5.5 - was this an error? Yes, it was! Put it to 5.3


  1. Install WordPress.
  2. Install the UpdraftPlus Backup and Restoration plugin.
  3. Do a full back up the existing system to get the five .ZIP files (database, plugins, themes, others and uploads).
  4. Go to the new site.
  5. Upload the five .ZIP files
  6. Restore the backups

The web site will now be broken as the links will be pointing at the old site.

  1. https://interconnectit.com/products/search-and-replace-for-wordpress-databases/ v3 ← did not work
  2. https://github.com/daelan/WordPress-Migration-Script ← did not work
  3. https://interconnectit.com/products/search-and-replace-for-wordpress-databases/ v2 ← did work

Change the chmod for searchreplacedb2.php from 664 to 644 to prevent the error:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
  1. I was moving conscienceonline.org.uk to 11112018.org.uk/conscience so I entered
conscienceonline.org.uk/

and

11112018.org.uk/conscience/

as the parameters and it made 53,293 changes. Without the trailing '/' it made 53,412 changes but that will have included email addresses too. Not allowing GUID fields to be changed (whatever that means) takes it down to 50,058.

That can't be all that is required because going to http://www.11112018.org.uk/conscience/ results in a page not found "This is somewhat embarrassing, isn’t it?" and links pointing to the likes of http://www.conscienceonline.org.uk/2015/10/last-day-at-conference/

Entering

conscienceonline.org.uk/

and

11112018.org.uk/conscience/

seems to have fixed it.