Pimp your blog up in an hour

Today, after a long time I decided that my blog needed a revamp. Hope you guys like what I have tried with it. The goals at the start of this exercise were as follows: Neat looking template reflecting my minimalist style Good quality SEO, and clean permanent URLs (same as before) Move from the last host (as they are shutting down) Feel fresh and upgrade all the moving parts of the blog...

July 14, 2009 · 3 min · 484 words · Me

PHP + nice URLS + nginx

Easiest way to get php with good looking urls running on your site . Works for drupal, wordpress and joomla. server { listen 80; server_name www.domain.com; index index.html index.htm index.php; root /path/to/domain/files; location / { error_page 404 = //e/index.php?q=$uri; } location ~ .php$ { include fastcgi_params; fastcgi_pass; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /path/to/domain/files$fastcgi_script_name; } access_log /usr/local/nginx/logs/domain.access_log; error_log /usr/local/nginx/logs/domain.error_log; }

December 26, 2008 · 1 min · 59 words · Me