Apr
25
2010
0

WordPress Super Cache plugin – Performance Benchmarking

I’ve been doing some performance tests on WordPress to see how much of a difference the WordPress Super Cache plugin made.

It turns out that the plugin makes a huge difference. (more…)

Written by John Burns in: General Randomness, Linux Tips, PC Tips, Tips |
Apr
22
2010
0

Wordpress not sending emails on ubuntu – nrcpts=0

So, you’re using sendmail to try and send emails from php/wordpress and it’s not working?

Are your mail logs (/var/log/mail.log) showing nrcpts=0 ??

Make sure the sendmail_path in your php.ini file (/etc/php5/apache2/php.ini) is set up correctly.

It should probably be…

1
sendmail_path = /usr/sbin/sendmail -t -i
Written by John Burns in: Linux Tips, Tips |
Apr
22
2010
0

Wordpress, Permalinks and 404 errors

This page has the permalink http://www.john.geek.nz/2010/04/wordpress-permalinks-and-404-errors But internally its default URL is http://www.john.geek.nz/?p=1495.

Permalinks help people see the topic of a page before it’s visited and generally mean that search engines will rank them higher too.

OK, so you’re getting 404’s as soon as you enable permalinks other than the default?
(more…)

Written by John Burns in: Linux Tips |
Jan
27
2010
0

Plugging in headphones doesn't mute speakers in Ubuntu

I upgraded to Ubuntu 9.10 in early December, but yesterday was the first time I tried to use headphones since then.

It turns out that plugging headphones into the headphones socket doesn’t automatically mute the speakers anymore.

Here’s a fix.

Open a terminal (Alt+F2 > gnome-terminal)
alsamixer (enter)
Use the arrow keys (left/right) to highlight Headphon
Press ‘m’

This should fix it. You can now hit Esc to exit and exit the terminal.

Written by John Burns in: Linux Tips |
Jan
18
2010
1

Ubuntu Software Centre – Not available in the current data

If you get the error “Not available in the current data” in the Ubuntu Software Centre, try opening a Terminal and running this:

sudo apt-get update

Update: This should also fix the error “Not available for your hardware architecture” as well

Written by John Burns in: Linux Tips |