Today, I released version 0.7 of my WP-PhotoNav WordPress plugin. This version includes two new features that have been wished by users:
- Support for Colorbox (similar to LightBox) via the new
- Support for automatic scrolling via the
If you are yourself a WordPress user and interested in my plugin, visit the plugin homepage on this website to see all features in action or the download page at WordPress.org. If you are interested in what other improvements I’m planning, you can always look it up on the roadmap.
Today I found out the hard way, how an nginx web-server has to be configured to properly work together with the WP Multi Network plugin.
The problem was, that for some reason and on some machines, WordPress showed always only one blog (not the same on all machines) and ignored the domain entered into the browser. Now it is exactly the purpose of the multi-network plugin to resolve different domains to different blogs (hopefully in a reproducible manner).
It turned out, that the problem was in the nginx configuration that looked like that:
server_name _ .fabianmoser.at .nataschastanke.eu;
thus catching both domain names registered for my server.
After some twiddling with the nginx log format to inspect where the http header got lost, I found the following solution:
thus effectively duplicating the virtual server section and giving just one server name each time.
Now everything works fine as you can easily verify yourself.