WordPress & Apple Server

For those that haven’t noticed, this blog is using Wordpress. This is freely available for download from their website. If like me your using it on a Macintosh server and want to use a feature like Permalink, you may be having problems. The Wordpress documentation describes these as:

Permalinks are the permanent URLs to your individual weblog posts, as well as categories and other lists of weblog postings. A permalink is what another weblogger will use to refer to your article (or section), or how you might send a link to your story in an e-mail message. Especially when they are used to link to individual postings, once a story is posted, the URL to it should be permanent, and never change. Hence.. permalink.

This is a really nice feature but the Apache server settings on the Mac are overridden. In order for Permalinks to work you need an “.htacces” file which is a “distributed configuration file”. This provides a way to make configuration changes in each directory. A file, containing one or more configuration directives, is placed in a particular document directory, and the directives apply to that directory, and all subdirectories thereof. This is needed for these fancy links to work but the Mac Server overrides them.

To fix this problem simply go to the Web option in your ServerAdmin application. Select the website that’s using Wordpress under the Sites toolbar and select Options.

Apache options

Under the Apache options list, ensure that “Allow All Overrides” tick box is checked. This will allow Apache to use your “.htaccess” files and the Permalinks will run as they should.

One Response to “WordPress & Apple Server”

  1. Peter Says:

    Hello, Nice blog posting about pple Server. I would have to agree with you on this one. I am going to look more into apple. This Saturday I have time.

Leave a Reply

You must be logged in to post a comment.