Skip to content

Instantly share code, notes, and snippets.

@carmoreira
Last active July 6, 2018 13:12
Show Gist options
  • Save carmoreira/a0e02d30d5261376ff27d00c14b5201a to your computer and use it in GitHub Desktop.
Save carmoreira/a0e02d30d5261376ff27d00c14b5201a to your computer and use it in GitHub Desktop.
WP CLI commands to create a multisite network on your localhost
wp core download
wp config create --dbname="database_name" --dbuser="database_user" --dbpass="database_pass"
wp core multisite-install --title="Welcome to the WordPress" --admin_user="admin" --admin_password="password" --admin_email="[email protected]" --url="http://localhost" --skip-email
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment