How to query a staging database?
How to query a staging database?
How to query a staging database?
If your friend has a wordpess.com business account which im guessing she has if she is using woocommerce you can always go down the plugin route. if you want to move to a stage variant you could possibly use WP Staging plugin which will give you a copy of the site to play with if … Read more
I’d like to understand how commonly a 3rd party installed/activated plugins will make (structural) DB changes? All the time for non bug fix releases. No matter what the plugin does, there are very few features that do not require some settings. One way around this is to minimize the use of plugins. The other way … Read more
I recommend using Search & Replace DB, a free tool by Interconnect, to replace any instances of the host name in the database. It will handle setting the serialized data correctly for you. First make sure that your wp-config is for the right database. You need to go into your new database and change the … Read more
Most plugins store their settings in the database. So whenever you push code from one site to another, you need to at least push the plugin-specific data along with your files. You could hire a developer to determine where the plugin is storing data, or if you’re comfortable using phpMyAdmin, you can use that and … Read more
Scripts/styles not loading on cloned WP Site when logged in
This is a common issue. Unfortunately, it is just one of many possible symptoms of incorrectly moving a WordPress site to a new url. The solution is to ensure that WordPress (core, plugins and theme) and your web server are all using the same URL. If you have an SSL cert for the staging site … Read more
WordPress Staging site is redirecting to live and lost the child theme
It can absolutely be done using WP-Cli. Do you have SSH access to the remote server/site? If so, I am happy to show you a process I’ve cooked up using rsync as well as just some standard SQL for the database. That’s my preferred way to do it at the moment.
I found there were two problems causing this: There is some kind of server caching I apparently don’t manage. I cleared that by adding a query to the URL (like staging.site.org/?a=b) and some things started being served, but many were still giving 404s. There was a rewrite rule in .htaccess designed to prevent hotlinking things … Read more