diff --git a/bin/wp-installer.sh b/bin/wp-installer.sh index 4064ec1..06655eb 100755 --- a/bin/wp-installer.sh +++ b/bin/wp-installer.sh @@ -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