Pretty Permalinks: this works for me
For some time now, I wanted to be able to use pretty permalinks, that is, render URLs with the category name and post slug without using “index.php”. I’m still fairly unfamiliar with Apache and configuring my host server, but managed to find the solution in the WordPress forum: “Pretty Permalinks issue with 2.3″.
Unfortunately this didn’t seem to work for the guy who posted it, but when I added the following code to my .htaccess, pretty permalinks were suddenly working A-OK (using WordPress 2.3.1):
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Honestly not really sure what’s going on here, but if you’re having issues getting pretty permalinks to work, try this solution out.
Tags: .htaccess, apache, pretty permalinks, wordpress