Mastering WordPress Installations

11A. Configuring WordPress manually. Start Filezilla and connect to your host. You can refer to this tutorial, if you don’t know how to do that. Navigate to the folder where you copied your WordPress files earlier. For example, the public_html folder or a custom folder, such as the one we created in step 6A-C, called newsite. Inside this folder, find the file named wp-config-sample.php. Right click on the file and select View/Edit.

wp-config-sample.php12A The file will be downloaded to your computer and opened in Notepad. Find the section that says “MySQL settings“, inside the file. Replace the sample information provided with the information from the earlier steps of this tutorial. (1) Is the database name created in step 9, in this example “[blurred]_newsite“. (2) and (3) are the username and password from step 10. Remember to enter the full names of the database and user e.g. enter “arthur_newsite” not just _newsite. My actual username has been blurred up, for obvious reasons. (4) is the Database Host. This will be “localhost” for Site5 and most other hosts. Some others, however, use different names. You need to check this information in the welcome email sent by your host or you can contact them directly.

Database Settings13A For extra security find the line that says $table_prefix and change it’s value to anything you wish. In this example I changed it from ‘wp_‘ to ‘arth_‘.

Security Measure14A IMPORTANT OPTIMIZATION TIP! Everytime you modify and save a post or a page in WordPress, the older version is saved in the database as a “revision” and can be accessed later from the administrator panel and even restored if required. Revisions in WordPress may be useful to some extent, but they make the database very bulky and difficult to manage, especially on shared hosting. You can disable revisions by adding the line define(‘WP_POST_REVISIONS’, false); in the file we’re editing. The best place to add this is after “define(‘WPLANG’, ”);” as shown below.

word2415A In Notepad, click on File – > Save.

Notepad Save 16A Close the Notepad Window!

Close Notepad

17A A pop up from Filezilla will show up asking you if you want to transfer back the modified file to your host. Click Yes.

Save File to Host

18A Right click on wp-config-sample.php again and this time select Rename. Rename the file to wp-config.php. Give some time to Filezilla to complete the operation and close the program.

Rename File19A Reopen your browser and type your domain in the address bar. Your blog should be up, unless domain propagation hasn’t finished yet. If that’s the case, you will just have to wait patiently. Hopefully you will make better use of your new blog than I did:

Teddy BearsNext in my Blogging Tutorials series: Choosing the Right Theme for Your Blog!

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.