WordPress Permalinks Does Not Work in xampp Setup
xampp provides a convenient way to quickly and easily install and setup a web server that works without much configuration. However, permalinks feature won’t work with the default installation of xampp, even though you can properly customize the permalinks structure to create the .htaccess file.
When you click on any permalinks, your WordPress blog will return a 404 error instead, saying the post not found. Instead, you can only access your blog posts via default permalinks structure, which is in the form of http://www.mydigitallife.info/?p=123.
This is because in xampp, mod_rewrite is not enable by default. Beside, AllowOverride directive in Apache configuration file is also set to None by default, causing Apache web server to ignore any .htaccess file, which used to rewrite the permalinks to the post’s actual url.
To use permalinks in WordPress that installed on xampp-based server, edit the httpd.conf that locates in C:\Program Files\xampp\apache\conf directory (folder). Open httpd.conf in any text editor, search for “mod_rewrite”. You should come to a line like this:
#LoadModule rewrite_module modules/mod_rewrite.so
Remove the hash sign (#) from the line. The # indicates the line is not in effect. The changed line should looks like this:
LoadModule rewrite_module modules/mod_rewrite.so
After that, search for “AllowOverride”. You will come to a line like this:
AllowOverride None
If the above line is contained within default directory (mean the directory declaration is just
AllowOverride All
Restart the Apache. Permalinks is working after restart.
Share and contribute or get technical support and help at My Digital Life Forums.
Related Articles
- Easily Set Up Web Server with XAMPP
- Enable MySQL InnoDB Storage Engine Support in XAMPP Installation
- Download WordPress 2.3 Release Candidate 1 (RC1) with Tags Support
- Paginating or Split WordPress Post or Page with NextPage in WordPress Not Working
- Download Previous or Old Version of WordPress
- Tag Managing Thing Plugin for WordPress 2.3 or Above
- Integrate WordPress including Comments with bbPress Forum using bbSync
- How to Move WordPress Blog to New Domain or Location
- WordPress 2.1.1 Critical Security Alert - Download Upgrade to 2.1.2
- Must Have WordPress Plugins

































August 15th, 2008 04:59
Thanks A LOT! Works great!