Migrating from Wordpress to Hugo

Hugo is a static website and has no dynamic services like comments. Comments can be done by using Disqus, an external service. Also all known “old” Wordpress URL’s needs to be serviced by the new Hugo website and not working URL’s needs to be forwarded. It’s not good for your search machine (Google) ranking, to have not working URL’s. Install Hugo In the Hugo Quickstart, you can find how to install Hugo including a theme and other important basic things.

Conversion tools from Wordpress to Hugo

Converting the Wordpress content to Hugo, could be a simple task, if there were good Wordpress to Hugo converting tools available. I tested 3 tools, only the first and the forth one is made for Hugo: Wordpress Plugin->Wordpress To Hugo Exporter WP2md ExitWP for Jekyll ExitWP for Hugo My own conversion tool. The tested conversion tools Before I start, I want to say anything about the Wordpress conversion.

Adsense without plugin in Wordpress

You still did not find a good Adsense plugin for Wordpress? Read this article and do it yourself! Adapt your theme for Adsense injected gently in your posts, widget and in your post index. The result can you see on this site. I don’t use any Adsense plugin anymore. [adsense] The advantage of this approach is: Full control over the place and position of the ads. Automatic insertion of the ad in your content is done gently, without putting it between a bullet list, heading etc.

Configuring Wordpress 3 with Multisite and second-level domains

I would like to test if it works to serve more websites from one Wordpress installation. By default Wordpress supports subdomains (like Wordpress.com) but I would like to run the installation with second-level domains (SLD). This is described in this article. Maybe in the future Wordpress will support SLD, in that case I will report that in this article. Why this article? Yes, I know there are a lot of other howto’s about to install Wordpress Multisite.

Wildcard domains DNS and local WAMP for website development

When developing websites on a local WAMP installation, I often need control over the DNS. It is no problem to add a hostname to the Windows hosts file, but a wildcard in the domain does not work. For example you need a wildcard domain when installing Wordpress Multisite locally with subdomains. This article has the solution to add wildcards to your local WAMP installation, without installing Bind or other heavy DNS solutions.

Disable the update of a Wordpress plugin

One of my Wordpress plugins had often bad functioning updates (Organize Series). With this updates I had to recover the corrupted database by hand. A lot of work. It is possible to ignore the updates, but you make easily the mistake to update it with the others. To protect you to this, it is possible to disable the update with a couple of simple rows of code. You have to be careful, sometime a plugin needs to be updated for the safety aspect.

Monitoring network traffic per program in Windows

Currently I have to use a pretty slow mobile internet connection. And sometimes a program is using a lot of my bandwidth. This means that I am unable to open websites or I have to wait very long. This is annoying. So I was searching for a method to monitor the network traffic per program. Netstat and CurrPorts It is possible to use the netstat command on the command line.

Ubuntu: Installing Zend Framework with NetBeans

To install Zend Framework is not as straight forward like other PHP Frameworks. Also to install it with NetBeans it was not described very well on blogs.sun.com/netbeansphp site. Let’s start! My assumption is that NetBeans is installed already on Ubuntu. I used NetBeans 6.9.1 and Ubuntu 10.10. In NetBeans are also the PHP plugins installed. Installing the Zend Framework First we are going to install Zend: $ sudo apt-get install zend-framework-bin This will also install the package: “libzend-framework-php”.

Tips to spindown your hard disk in Debian or Ubuntu

First Before we are going into depth, first check if the (external) hard disk is able to go in spindown. Disable all services which has disk access periodically, for example: $ /etc/init.d/asterisk stop $ /etc/init.d/rsyslog stop $ /etc/init.d/apache2 stop $ /etc/init.d/mysql stop $ /etc/init.d/samba stop $ /etc/init.d/cron stop $ /etc/init.d/ntp stop $ /etc/init.d/rsync stop And all other daemons which are suspicious… –MARK– in /var/log/messages In /var/log/messages every 30 minutes a —- MARK —- row will be written.

Debian root on a flash disk and the data on a hard disk

This article is about installing Debian on a flash disk, like SD card, flash disk, Solid State Disk etc. The goal is to have the data on a hard disk. This will increase the lifetime of the flash disk. Assumption of this article is that Debian is already installed on a flash disk in the root “/”-directory. In the article Installing Debian on the Sheevaplug there is also a separate “/boot” ext2 partition, because U-Boot is unable to read from ext3 partitions.