Skip to content

Instantly share code, notes, and snippets.

@enishant
Created November 8, 2022 05:35
Show Gist options
  • Save enishant/17e06a198e5fb457d520cd5feda20398 to your computer and use it in GitHub Desktop.
Save enishant/17e06a198e5fb457d520cd5feda20398 to your computer and use it in GitHub Desktop.
wp core download --path=/var/www/html/wordpress --locale=en_US
cd /var/www/html/wordpress
wp config create --dbname=wordpress --dbuser=root --dbpass=root --locale=en_US
wp core install --url=http://localhost/wordpress --title=wordpress --admin_user=admin --admin_password=admin --admin_email=user@example.com
wp plugin delete hello akismet
wp rewrite structure '/%postname%/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment