correct install url, add permalink_structure setting
This commit is contained in:
parent
1c52d5c290
commit
226c91e63e
|
@ -358,7 +358,8 @@ wp core download
|
|||
wp config create --dbhost="${input_values_array[m]}" --dbname=${input_values_array[d]} --dbuser="${input_values_array[n]}" --dbpass="${input_values_array[w]}" --dbprefix="${input_values_array[x]}"
|
||||
wp config set DISALLOW_FILE_EDIT true
|
||||
wp config set DISABLE_WP_CRON true
|
||||
wp core install --url="${input_values_array[u]}" --title="${input_values_array[v]}" --admin_user=${input_values_array[u]} --admin_password="${input_values_array[p]}" --admin_email=${input_values_array[e]}
|
||||
wp core install --url="${input_values_array[r]}" --title="${input_values_array[v]}" --admin_user=${input_values_array[u]} --admin_password="${input_values_array[p]}" --admin_email=${input_values_array[e]}
|
||||
wp option set permalink_structure "/%postname%/"
|
||||
echo "apache_modules:" > wp-cli.local.yml
|
||||
echo " - mod_rewrite" >> wp-cli.local.yml
|
||||
wp rewrite flush --hard
|
||||
|
|
Loading…
Reference in New Issue
Block a user