Saturday, September 27, 2008

Edit http.conf for permalinks

Word press has a feature called permalinks which allows you to customize you navigation links to have user-friendly links instead of numeric links. Each post is attached to a numeric number which can be used to access the word press post. If you turn on word press this page id is related to a user-friendly word which can be used instead of the numeric value.

By default WAMP is not configured to work with permalinks. In order to set up your Apache instance to allow permalinks, you must load the mod rewrite module in the Apache configuration file.

This is very simple to configure since Mod rewrite is already loaded in the httpd.conf file it is just commented out.

Step 1. Allow Mod Rewrite.
Left Click the status bar and choose Apache > httpd.conf. This will bring up the file for edit.

Find the line in the file that has "#LoadModule rewrite_module" remove the pound symbol in front of this link this will uncomment the rewrite module.


Step 2. Restart all services.
Left Click the WAMP services in the status bar. Choose Restart services.

No comments: