03: Configure File

Now, you don’t have to do this step, but it would make your life a lot easier. Download the wp-config.zip file to your computer. Once you extract the file, you would want to configure the file with a text editor. Make sure that the is on both ends of the variable. You would need to set the DB_NAME, DB_USER, DB_PASSWORD, and DB_HOST. Be sure the change the repeated word, and not the first one. Go down further in the file, and look for $table_prefix = ‘www_’;. If this is the root website, leave it as it is. If the site will be a subdomain?, then change www_ to the subdomain prefix. In example, if your subdomain is site2, then your table_prefix should be site2_. The table prefix will allow you to host multiple subdomains in one MySQL database.

Once you configured the .php file with your text editor, you can then save the file into your WordPress folder, and prepare to upload. Do NOT use a word processor. You must use a text editor. Text Edit in MacOS is not guaranteed to work properly. Consider the free version of BBEdit. In Windows, use NotePad, or Download NoteTab. Not sure which text editor to recommend for Linux, but I will imagine there should be a text editor in Linux since Linux is a preferred OS? for developers.

Save the wp-config.php file in your text editor, and you may want to make sure everything is working fine. If you make a mistake, you can always download the zip file again, and start over. If you can not get things to work, then you would have to enter the credentials manually once you remove the wp-config.php file from the FTP server.