Windows 2012 IIS 8 using permalink /%postname%/ not working
-
i just install wordpress 3.6.1 on Windows server 2012 running IIS 8.
i setup my permalinks checked on Custom Structure : /%postname%/
but when i browse samplepage https://localhost/wordpress/sample-page/ i get error HTTP Error 404.0 – Not Found.i have change my web.config file to
<?xml version="1.0" encoding="UTF-8"?> <configuration> <defaultDocument enabled="true"> <files> <add value="index.php" /> </files> </defaultDocument> <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/{R:0}" /> </rule> </rules> </rewrite> </system.webServer> </configuration>
when i use permalinks as “/index.php/%postname%/” this works but i want to use “/%postname%/” without index.php on my site.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Windows 2012 IIS 8 using permalink /%postname%/ not working’ is closed to new replies.