WordPress on Windows IIS7 and URL ReWrite
-
Hey,
I’m running an Arabic WordPress 3.01 site on the following configration:
- PHP 5.2.6 with FastCgiModule + IIS 7.0 on Windows
Server 2008 - RewriteModule V. 2.0 .
- Default charset encoding of php is set to UTF-8.
The URL ReWrite works fine with the Latin categories and articles titles but it doesn’t work with Arabic titles so it only stop at the year/date and can’t reach the article.
I think it needs some rules to work with Unicode characters which I didn’t use before.
I use the following web config to allow the ReWriter:
<?xml version=”1.0″ encoding=”utf-8″ ?>
<configuration>
<system.webServer><rewrite>
<rules>
<rule name=”Main Rule” stopProcessing=”true”>
<match url=”.*” />
<conditions logicalGrouping=”MatchAll”>
<add input=”{REQUEST_FILENAME}” matchType=”IsFile” negate=”true” />
<add input=”{REQUEST_FILENAME}” matchType=”IsDirectory” negate=”true” />
</conditions>
<action type=”Rewrite” url=”index.php” />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>Any idea for this type of configration?
Thank you all in advance
Hany - PHP 5.2.6 with FastCgiModule + IIS 7.0 on Windows
- The topic ‘WordPress on Windows IIS7 and URL ReWrite’ is closed to new replies.