Optimizing Search Engine Coverage of a WordPress Blog

To optimize the search engine coverage a robots.txt file placed in the root of the HTML server can exclude some paths of the website from being indexed by the Google crawler.

In WordPress this file can be generated automatically. In the case of using Nginx a redirection rule has to be implemented in the nginx config file so that the query to robots.txt is redirected to the WordPress index.php file.

# generate robots.txt with wordpress
location = /robots.txt {
    try_files     $uri $uri/ /index.php?$args;
    access_log    off;
    log_not_found off;
}

Now WordPress is used to generate the robots.txt file which is dynamically edited by plugins and themes.

Monitoring a Fritz!Box using RRDtool

RRDtool is a popular and versatile program to store and aggregate time-dependent data in way that the size needed for storage is not growing indefinitely. Furthermore it has a powerful plotting engine to generate nice graphs. It is therefore widely used to monitor network devices.

The popular Fritz!Box router can be queried using the TR-064 protocol for the number of transferred bytes. The Fritz Speed package brings these two together to enable monitoring and graphing the WAN traffic of the Fritz!Box.

Check the project on GitHub or directly go to the docs.

Dancing the DHCP Samba

After a hardware failure of a Linux computer I took the chance to set up a Debian installation from scratch. So I saved the data that was important to a server, burned the Debian DVD and installed it on the computer.

When it came to networking it got a little more complicated: as the server is using the corporate network, it had to send a specific host name to obtain the IP configuration via DHCP. So that was what I did: I entered the host name and let dhcpclient do its magic. It took some time, but finally it was set up. All DNS entries for this host name and its corresponding IP were correct.

Read More