Posted by Brent Hathaway | Posted in SEO | Posted on 02-09-2010
This is post is about getting Wordpress to properly work with WAMP.
I often use WAMP , a full-featured web server with MySQL and PHP and phpMyAdmin to test out website changes and development on my own machine – one of the best things out there for free. When running Wordpress in WAMP, one of the features of Wordpress is using search-engine-friendly url’s. An example of how this url looks would be http://www.foo.com/this-is-my-latest-blog-post
However, WAMP out of the box will not word properly with this feature of Wordpress. Luckily, this is easily fixed.
0) Get Wordpress installed in WAMP – instructions for this are at wordpress.org, so I won’t repeat that here.
1) In wordpress, change the permalink setting to /%postname%/
2) In WAMP, make sure the apache module alias_module and rewrite_module are running.
3) If you are running multiple sites in WAMP, you’ll need to make sure that in the httpd-vhosts.conf file the Allow Override line is replaced with AllowOverride FileInfo Options.
4) That’s it! Restart WAMP and it should work.