1. book reviews
  2. ict
  3. webdev
  4. home

Using WordPress permalinks with localhost

Tags: ,

Date: 3rd February, 2010

I’ve changed the permalink structure on this site, using the Settings tab. It automatically create a .htaccess file for you.

Today, I wanted to set up a fresh installation of this site on my local server, which is WAMP. It just wasn’t having it, so I looked into the WAMP settings. This would also work on other Apache bundles, I believe:

Open your httpd.conf and search for the following lines:

#LoadModule rewrite_module modules/mod_rewrite.so

…uncomment it (remove the hash), and:

<Directory />
Options FollowSymLinks
AllowOverride All
Order deny,allow
Deny from all
</Directory>

…making sure AllowOverride is set to All, as above. Sorted.

Post to Twitter