.test
domains. By default, Herd creates and parks the ~/Herd
directory and every folder that you create in this directory is reachable via its own domain.
This means that you can simply move or install a site to this directory and don’t have to create it via the Site Manager in Herd – it just works.
.test
domains. This means that you can move a site into the directory my-wordpress-site
and access it via http://my-wordpress-site.test.
If you are running a multisite and want to point multiple domains to a single WordPress installation, you can use Herd links to create more local domains. You can either do that via the Site Manager as described in the chapter linking sites or use the terminal with the commands below.
Settings > Services
and select their MySQL instance and then open TablePlus or AdminerEvo in the menu on the right to create the database. If you are familiar with MySQL on the command line, you can do that as well.
After that, simply follow these steps:
~/Herd
wordpress-guide.test
, so the directory name is wordpress-guide
.root
and has no password.
dump
helper. So if you’re working on plugins and need to output data for debugging purposes, this is super powerful. In this example, we`re creating a very basic plugin and dumping a string and all existing posts of the fresh WordPress install.
functions.php
. Simply paste the following snippet to the end of your functions.php
to receive emails in Herd.