• How to use a custom domain with @wordpress/env

    By default, @wordpress/env starts a server on localhost:8888. This article will show you how to make it start on a custom domain, e.g. testing.local. Add domain entries you’d like to use to /etc/hosts: testing.local en.testing.local es.testing.local Setup the following keys in .wp-env.json: { … “config”: { “WP_SITEURL”: “http://testing.local”, “WP_HOME”: “http://testing.local” }, “env”: { “development”: […]


Proudly powered by WordPress