Skip to content

Changing Permalinks in WordPress IIS 6.0

I wanted to change the permalinks on my blog for SEO reasons, but when doing so the pages for my posts couldn’t be found. After googling a little bit I found the answer that worked. I’m running my blog on IIS 6.0

On your IIS Server download and install ISAPI_Rewrite Lite. When downloading make sure to use the free Lite version. Install Rewrite Lite, add the ISAPI filter to your IIS Site, by right clicking on your IIS site -> properties -> ISAPI filters tab -> Add … Name the filter whatever you wish and your path to your executable should be:
C:\Program Files\Helicon\ISAPI_Rewrite3\ISAPI_Rewrite.dll
Click OK on both windows to save your settings.
Next navigate to C:\Program Files\Helicon\ISAPI_Rewrite3
Here we will edit httpd.conf
Open the httpd.conf file in wordpad and paste in these lines:

RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?p=$1 [NC,L]

Save and exit this file.
To complete your IIS changes, Go to start, run and run the command: iisreset /restart
Now you should be able to change the permalinks on your wordpress blog for some reason I had to choose custom and place /%postname% in the field to get it to work.
Bad thing about changing your permalinks is your tweets, likes, and google+1 counter will reset 🙁