No problem, glad to hear you found a solution.
I believe the WP-CLI tool has been updated a lot recently so there’s probably a much better way of doing this command line now. The duplicator plugin is pretty much all that’s needed for most cases though.
Thanks for your kind words. It’s worth digging into WP-CLI a little deeper. They’ve added a lot of configuration options now so you can create YAML files with defaults, server configurations and environment configurations.
If forgot to ask if WordPress was working correctly before the redirect. If not then it might be that the WordPress database is incorrectly configured. Don’t forget to make sure the URL in the database is setup to your valet site URL complete with the HTTPS.
Hey Robin. It can be a bit tricky to get working sometimes. The main things I check are:
wwwon the domain then don’t forget to include that in the
You are right, it should only look on production if the file doesn’t exist locally. I’m not sure what the issue might be. I’ve noticed a few problems with it recently that I can’t decide if they’re my hackiness or something else.
Nice idea with the
nginx.conf. I’ve been hardcoding all of the URLs in the individual config…
I work in Frome. It’s where our digital base is. Our MD, Russell, moved out here from London a few years ago and set up the digital team here. I’ve been the head of it since September 2016.
I’m going to set up some regular meet ups here with a mix of businesses and developers. If it’s something you’re interested in then let me know.