Creating the wp-config.php file manually

Here is how you make your config.php manually:

In your download there should be a wp-config-sample.php.

  1. Open this is a text editor.
  2. Fill in your database connection details.
  3. Go to https://api.wordpress.org/secret-key/1.1/salt/ and get the code.
  4. Copy the above cope and paste into the sample file over the top of the existing defines
  5. Save the file as wp-config.php

The answer to “should I put it in public_html?” is yes if thats where the rest of your wordpress files are.