W3hobbyist

Snippets and resources for PHP, MySQL, JavaScript-AJAX

Wordpress permalinks not working on WAMP server(404-File not found) ?

with 2 comments

Wordpress and WAMPserver are one of the best buddies when you want to write a personal localhost’ed blog. Recently, when I installed wordpress and chose to use ‘pretty permalinks’, all I got is Error 404-File not found. i checked the .htaccess file if the changes have been written to it. Yes, the changes were made to it and yet it won’t work.

The silly mistake I was making all the time was trying it with mod_rewrite disabled. Having used XAMPP in the past-which has mod_rewrite enabled by default, I had no idea that for WAMPserver, it would be turned off by default. So the simple fix is to enable mod_rewrite.  To enable it, follow the below steps:

Click on the WAMPserver tray icon>Apache>Apache modules> Scroll down the list of available modules and clcik on ‘rewrite_module‘. The Apache server would be restarted automatically and you can now use the pretty permalinks.

Written by Rohan Shenoy

September 27th, 2008 at 6:18 pm

2 Responses to 'Wordpress permalinks not working on WAMP server(404-File not found) ?'

Subscribe to comments with RSS or TrackBack to 'Wordpress permalinks not working on WAMP server(404-File not found) ?'.

  1. I’ve been struggling with permalink issues for days, trawling through the Wordpress support forums with no luck. Then I thought that maybe it was something to do with Wampserver. Your page was the first Google hit. Thanks for the post!! All working perfectly now.

    Justin Slack

    9 Nov 08 at 12:10 am

  2. i was stuck with the same prob as Justin
    very useful
    thanks a lot

Leave a Reply