Comments on: WordPress Plugin: wp-server-migration https://www.justinsilver.com/technology/wordpress/wordpress-plugin-wp-server-migration/?utm_source=rss&utm_medium=rss&utm_campaign=wordpress-plugin-wp-server-migration Technology, Travel, and Pictures Thu, 07 Dec 2017 20:32:17 +0000 hourly 1 https://wordpress.org/?v=6.0.1 By: Justin Silver https://www.justinsilver.com/technology/wordpress/wordpress-plugin-wp-server-migration/#comment-2492 Thu, 07 Dec 2017 20:32:17 +0000 http://justin.ag/?p=2757#comment-2492 In reply to K&S Wholesale Tile.

Hi! This plugin should work with the type of setup you described, however I haven’t actually used it in quite some time so I’m not sure if it is compatible with the latest versions of WordPress. This plugin was meant to help with development by quickly rewriting the hostnames for the content, so it may not be entirely necessary for what you are trying to accomplish.

This site actually handles good amount of traffic using: WordPress, PHP-FPM, Nginx, MariaDB, CentOS, Redis via Cloudflare and a custom Redis page caching plugin that I wrote. If a user is not logged in the entire page HTML is pulled from the Redis cache in about 1/1000th of a second assuming it’s cached. Hard refreshes hit the server but I also use a Redis Object cache to reduce database queries.

I’m pretty busy with other projects right now but I’ll try to revisit this plugin to make sure it still works when I have more time.

Thanks!

]]>
By: K&S Wholesale Tile https://www.justinsilver.com/technology/wordpress/wordpress-plugin-wp-server-migration/#comment-2470 Thu, 16 Nov 2017 05:42:11 +0000 http://justin.ag/?p=2757#comment-2470 I got to messing around with it for a few hours. It looks like there causing an infinite redirect loop upon removing/changing the wp_blog and wp_site tables. As soon as its activate on the network (Multisite) it logs you out and doesn’t allow you to log back in again. I tried about a half dozen things but nothing seems to get this working. Perhaps there are some steps I’m missing with what to change or remove from the DB or wp-config.php?

]]>
By: K&S Wholesale Tile https://www.justinsilver.com/technology/wordpress/wordpress-plugin-wp-server-migration/#comment-2469 Thu, 16 Nov 2017 01:48:24 +0000 http://justin.ag/?p=2757#comment-2469 This is fantastic. We are considering trying this out for our Tile Store Showroom site with a cookie-less domain.

We currently have a cPanel shared hosting account that we primarily use for email, but have recently decided to try it out as a CDN as well. We serve the static files off the shared hosting account while all the DB and PHP action happens on a cheap cloud VPS VM.

The shared host has barely broken a sweat from serving static files (Apache only for the shared host) and the cloud VM is getting taxed a bit from the database. We had to tune the DB to only allow for 30 connections at once and we finally saw that maxed out the other day for the first time. We tweaked on some Cloudflare settings and boosted the page speed way WAY up, but there is now a security cookie with every request due to Cloudflares security cookie.

We’d like to keep growing but since we don’t derive our revenue from our website, we keep a tight budget for our technology investments. We were considering using HAproxy as a load balancing solution to add a 3rd server from an in-house “roll your own” server. Not only will this plugin help IMMENSELY with switching between environments but we think we could use this to tap into the shared host account’s unused PostgreSQL and MySQL DB’s by allowing for unique wp-config.php settings on each server machine having its own ‘localhost’ DB.

Before we make any decisions, is this something that you think would fly with enough configuration of this awesome plugin? Having a load balancer pitching traffic to different servers and unique configurations with the same WordPress code and files, all with their own unique databases by excluding any DB tables that cause machine specific issues, yet with the same actual page content is what we are going for…

]]>