Tips and tricks on developing web sites

WordPress Initial Setup

Setting up WordPress is pretty straightforward. Make sure that you have your SQL database name, username and password handy. Make sure your Apache and MySQL modules are running and type in your domain name ( in your browser. Select the language you want to use, and Let’s go! Then enter the values you used to create the database in phpMyAdmin. Leave the Table Prefix as wp_. Even if you have several sites, they each have their own table, so they can all use the same wp_ prefix.

If all went well you will connect to the database and move onto some general configuration. The Username will be the name you log into WordPress as administrator. Don’t use the same name and password you used for the database. This password should still be complex, but also something you can remember.

And just like that, you have a Development WordPress Site that will mimic a production site. Remember that to log into WordPress you will use as the address in your browser. You will want to setup some basic settings right away. Click on Settings->General and change your Site Title and tagline. You may want to change your Site Language if you are not in the United States. It is a good idea to set your UTC to your time Zone, or the time zone where you expect most of your viewers to be in.

Under Writing you may want to setup Post via email if you have an active blog. Heed the warning about using a secret email account! I don’t use this option.

You need to decide whether you will let people comment on your posts and pages. This might seem like a good idea, but it can become a huge headache as people try and spam your site with inappropriate content. This is found under Settings->Discussion. Make sure you check the box Before a comment appears -> Comment must be manually approved. If you don’t I guarantee you will get spammed.

I don’t like people Commenting on my pages. My websites aren’t forums. If someone has a real issue with what I have said they can email me. To disable comments uncheck Default post settings -> Allow people to submit comments on new posts. Just in case a page comment post gets turned on by accident, I also check: Before a comment appears -> Comment must be manually approved and Before a comment appears -> Comment author must have a previously approved comment and Other comment settings -> Users must be registered and logged in to comment.