This article is about creating a new WordPress blog, including installation and basic customization.
You need to know how to upload files and have your MySQL database credentials available.
I used a similar setup and will update this post if I encounter any issues.
Requirements
Minimum
Webserver with:
- MySQL 5.0 or higher
- PHP 5.2.4 or higher
- 10 MB free space
- Any possibility to upload files
Recommended
- The mod_rewrite Apache module
- An FTP client (e.g., FileZilla)
Installation
- Download the latest version from wordpress.org
- Decompress it and upload it to your web server. It should be directly in your root directory.
Example: Use www.martin-thoma.com, not www.martin-thoma.com/wordpress/
- Run the installation setup:
- Fill in your database information (database name, host, database user, database password)
- Store
wp-config.php
in your WordPress folder - Make the most basic configuration of your blog (give it a title, create the admin account)
Plugins
Note: This list is from 2011 and very likely outdated. Please check for current alternatives.
- Akismet: Protect your blog from spam. Don't forget to add your API key.
- Sociable: A customizable link bar with icons to share posts on social networks.
- SyntaxHighlighter Evolved: A syntax highlighter. Essential if you write about code.
- Twitter Tools: Creates complete integration between your WordPress blog and your Twitter account.
- WordPress SEO by Yoast: XML sitemap, Google/Bing Webmaster Tools integration.
- WP-Piwik: Piwik is an open-source alternative to Google Analytics. Download the latest Piwik version here and install it on your website. Don't forget to add your auth token.
Configuration
- Add the categories you want (Go to Posts → Categories)
- Set your default category (Go to Settings → Writing)
- Delete the "Hello World!" post
- Delete the "Sample" page
- Set a default category in Settings → Writing, then delete the "Uncategorized" category
- Set up a custom theme. You can find free ones on wordpress.org/extend/themes
- Use Permalinks. I use
/%postname%/
for short URLs. This URL structure never changes.
Fine-tuning
www or non-www URL: Decide whether you want www.martin-thoma.com or martin-thoma.com as your standard URL. Both should work, but one should redirect to the other. I chose martin-thoma.com because I prefer short URLs. Add this to your .htaccess
if you want www.martin-thoma.com:
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www.martin-thoma.com$
RewriteRule ^(.*)$ http://www.martin-thoma.com/$1 [R=301]
Imprint: In Germany, you must create an imprint. Even if you don't have to create one, I strongly recommend giving your readers the possibility to know who writes the posts. It gives you more credibility.
Piwik
- Piwik
- Login → Geolocation tab → follow the instructions
Sources and Further Reading
- Using Permalinks - Structure Tags. Retrieved 17 September 2011.
- SEO for WordPress – The Complete Guide. Retrieved 17 September 2011.