WordPress and Copying or Cloning a Website Manually: Difference between revisions
mNo edit summary |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
...OK, you've got the perfect website. No, not the content, the Admin Stuff. All of the plugins, settings and other stuff. And now there's a new website you need for yourself or your client. Build the whole thing from scratch. Nope. Clone it, copy it, etc. There are lots of tools out there to do just that. Some are good, some are terrible. If none of them work and you need to do it manually, here's how. | ...OK, you've got the perfect website. No, not the content, the Admin Stuff. All of the plugins, settings and other stuff. And now there's a new website you need for yourself or your client. Build the whole thing from scratch. Nope. Clone it, Migrate it, copy it, etc. There are lots of tools out there to do just that. Some are good, some are terrible. If none of them work and you need to do it manually, here's how. | ||
This article is for experts. There's no step by step with pictures. Sorry. It also assumes the use of Apache on CentOS. But it also applies to other web servers like NGinx and other Linux flavors too. It is allso assumed you are proficient with web servers. There are too many dumbed up websites that have so much crap I have to sort through when reading them, I thought it would be nice to have a tight neat site for experts without a bunch of useless extra stuff, just some command to refresh the 'ole memory. | This article is for experts. There's no step by step with pictures. Sorry. It also assumes the use of Apache on CentOS. But it also applies to other web servers like NGinx and other Linux flavors too. It is allso assumed you are proficient with web servers. There are too many dumbed up websites that have so much crap I have to sort through when reading them, I thought it would be nice to have a tight neat site for experts without a bunch of useless extra stuff, just some command to refresh the 'ole memory. | ||
| Line 15: | Line 15: | ||
**Export Source / Import to Destination (new Database) | **Export Source / Import to Destination (new Database) | ||
**Modifiy wp_options Table, option_value Column for siteurl Row and home Row | **Modifiy wp_options Table, option_value Column for siteurl Row and home Row | ||
**Better Find and Replace WordPress Plugin / Utility OR Migrate DB Tools, Migrate Tab, Find & Replace Button OR equivalent utility. Don't use phpMyAdmin to do a 'search and replace' as data that's been [[wikipedia:Serialization|serialized]] will get messed up and break a website. | |||
**Better Find and Replace WordPress Plugin / Utility | *WordPress | ||
**WP Optimize (general cleanup) | **Consider doing this (generally never hurts anything unless modifications have been made to a site at the file level, which is considered a bad practice): Dashboard, Updates, Re-install version XYZ Button | ||
*Elementor (if installed) | |||
**Elementor, Tools, General Tab, Regenerate Files & Data Button AND Sync Library Button (and possibly clicking on the Save Changes Button, which doesn't seem to be necessary, but it's never explicitly stated by Elementor, so clicking on it won't do any harm) | |||
*CleanUp and Updates; | |||
**Delete unwanted Pages and Posts | |||
**WP Optimize (general cleanup of database tables) | |||
**PlugIn Updates: Remember, when doing PlugIn updates if any 'blocking' is done for external websites in the wp-config.php file in the name of performance improvement, then 'un-block' them so WordPress can detect all PlugIn updates (IE, Pro, Premium, etc.) | |||
==The Steps== | ==The Steps== | ||