Question

Is there some way I can use URLs like:

http://www.blog.com/team-spirit/

instead of

http://www.blog.com/?p=122

in a Windows hosted PHP server?

Was it helpful?

Solution

This is how I did it with WordPress on IIS 6.0

http://www.coderjournal.com/2008/02/url-rewriter-reverse-proxy-iis-wordpress/

However it all depends on what version of IIS you are using. If you are lucky enough to use IIS 7.0 you don't really have to worry about pretty urls because everything is supported out of the box. However if you are using IIS 6.0 you are going to have to use a rewriter and some rules to force the IISness out of IIS.

OTHER TIPS

Isapi Rewrite Filter on CodePlex - actively developed, free ("DonationWare"), open source.

Use the official IIS URL Rewrite

We use the free version of ISAPI_Rewrite. It uses similar syntax to mod_rewrite, so if you're familiar with that you may have an easier time getting started.

There used to be a (syntax-compatible) port of mod_rewrite for IIS, but I can't find it now.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top