Category Archives: Mac

WordPress: only homepage works, permalinks not working

This is annoying. Ported a WordPress installation from a web server to my Mac, but the homepage is the only WordPress page that loads. No permalinks work.

The solution, in my case, and hopefully for others too, was very simple:

mod rewrite was disabled. Whoops.

sudo nano /etc/apache2/httpd.conf

Remove the # from in front of the mod rewrite line. There’s a good chance that’ll be the problem!

Installing Mono on Mac OSX with Homebrew

Whenever I end up wasting my own time trying to get something working, I like to post about it. Simply because, inevitably, I had problems finding blog posts that might’ve helped me. This is one of those occasions.

I’ve been trying to install Mono on Mac OSX (Yosemite) using Homebrew. Homebrew is pretty nifty, generally.

I used brew install mono – everything seemed ok. However, when I tried to run mono from the terminal, the command was not recognised.

I spent a little while googling around, some of the advice suggested adding the path to mono to /etc/paths.

Eventually, it became apparent that running brew doctor might help. It did. It explained mono wasn’t linked properly.

Running brew link mono didn’t work, for permission related reasons. It turns out that Homebrew requires your account to own various folders in order for certain operations to work. Eventually, this did the trick:

chown -R $USER /usr/local

Running that, and then attempting to link mono, did the trick.