Thu 21 Jul 2005
Blogging by dummies - My ordeal in setting up my first weblog
Posted by J Magnus Ericsson under Bloggen - The Blog , English readingEver since I started to realize that blogging is a phenomenon with great potential, I have toyed with the idea to set up my own blog. There will be more to come on the content of this blog, but in this post I thought I would summarize some of the findings and stumbling blocks on the road to the first functioning installation of the blogware of my choice. Here is an itemized list hopefully well describing that journey, and that can serve maybe as a complement to other How to instructions for WordPress.
-
Creating a database - My host provides me with web interfaces to phpMyAdmin and MySQL. I did not have authority to create a database via phpMyAdmin, so I used the MySQL interface instead. No need to fiddle with shell access or the command line interface. I tried to follow the examples in the instruction, but noted that my host prefixed the names I chose for the user and database with my username, so if I decided that my database would be called
wordpress, it came out as username_wordpress. It is important to use the actual names provided by the host when editing the wp-config.php file. (I missed that in the first try, but understood what was wrong almost immediately thanks to the error message.) As I understand it now, creating a database is really creating a stub, or an entry point where the WordPress software can build its database, and for that it also needs a username and a password to have the privileges to do that. Hence name, user, and password are needed.-
Placing the files - In the examples given, the files are placed in either a root directory or a subdirectory. I use a subdomain - as you know http://nonserviam.uqbar.se. This is just like a subdirectory - the files are placed in the ‘root’ directory of nonserviam.uqbar.se, which happens to be a subdirectory to uqbar.se.
-
Post-installation problem - It works! I can see it! But… ‘Sorry, you need to enable sending referrers, for this feature to work.’ was the message whenever I tried to post or delete a post, or virtually anything else. The Wiki documentation provided did not take me there - I still got the message above. Searching on this blog I found this post which resolved the matter for me.
-
Language - This is mostly a swedish language site, so I would like to have the site displayed in swedish. Again in the Wiki documentation there is a link to WordPress in your language which I followed. The only snag here was that the swedish .mo files came in two variants differently named. I followed the example, chose the file that was named
sv_SE.UTF-8.mo, uploaded it to the correct place and renamed it sv_SE.mo. Maybe it would also have worked to edit the WPLANG definition string so that it reads
define ('WPLANG', 'sv_SE.UTF-8');
-
but I did not try it.
-
Theme selection - The default theme that wordpress starts with seems not to be internationalized. When I switched to the Wordpress Classic theme, all localization worked.
That’s it! This is as far as I have got now, at the time of this post.