Axel Segebrecht

Axel Segebrecht - Technology & Digital Marketing Consultant

Helping people use their technology and media better to improve communication. This is a personal blog about technology, marketing & life.


template, the_permalink, Wordpress

Get the URL of the current page or post with PHP in Wordpress

Posted on .

This ia a very quick note on the right way to get the URL of the current page or post with PHP in your Wordpress template: <?php echo "http://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; ?> This will work for both posts and pages and ou…


Benchmarking, Little Series, Nginx, Varnish, VPS, W3 Cache, Wordpress

Benchmark Nginx and Varnish for a Wordpress Site

Posted on .

This is a post about benchmarking nginx and varnish in my little series of getting the most performance for your buck, running nginx with varnish, apc and memcache for a Wordpress website on a small VPS with 128MB RAM. Summer Special: Hurry, only 100x openVZ 1…


APC, Little Series, Ningx, Varnish, VPS, W3 Cache, Wordpress

Install Nginx with APC, Varnish, Wordpress and W3 Cache on a 128MB VPS

Posted on .

Following on from me trying to fit a Wordpress install on a 128MB VPS while not sacrificing performance; I give you my rather comprehensive tutorial on how to install nginx with apc (php opt-code cache), varnish (caching proxy), wordpress and w3 cache. Summer …