WordPress Permalinks on a MAMP Mountain Lion Server

So you’ve got yourself a Mac running Apache, MySQL and PHP on Mountain Lion. You have everything you need to install WordPress. So you go to install WordPress and get everything setup. You go to create your first post and realize that you still need to setup permalinks.

Well that’s great, just go to Settings->Permalinks and choose how you want your links to be structured. Click update and be done with it. Except this may not work without a quick change to your web sites configuration.

If permalinks isn’t working for you then most likely AllowOverrides has not been enabled for your website. You’ll read many tutorials about editing the httpd.conf file to enable AllowOverrides. Well, I had this very same problem and AllowOverrides was enabled in /private/etc/apache2/httpd.conf.

After some more research I discovered how to fix this.

  1. Open Server
  2. Click on Websites in the left hand column
  3. Double-Click on the Website that you wish to enable AllowOverrides for.
  4. Click on Edit Advanced Settings
  5. Place a checkmark next to Allow overrides using .htaccess files
  6. Click OK
  7. Click Done

Test out your permalinks, they should be working now.

The following two tabs change content below.
I've been in the Geek category for as long as I can remember. I am into anything technology and Sci-Fi related. I like tinkering with electronics as well as writing applications for Mac & iPhone.

Leave a Reply