Do pretty permalinks work on your main site?
What version of IIS?
Do you use web.config or .htaccess?
Thanks for reply π
Actually main site is in html only. wordpress is installed on sub-domain, i used web.config file but it’s not working.
i dont know the version of IIS !
i used this code in web.config file but it’s not working….
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<defaultDocument>
<!-- Set the default document -->
<files>
<remove value="index.php" />
<add value="index.php" />
</files>
</defaultDocument>
<httpErrors errorMode="Detailed"/>
<rewrite>
<rules>
<rule name="wordpress" patternSyntax="Wildcard">
<match url="*" />
<conditions>
<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>
The answers depend on what version of IIS, and if you have certain rewrite scripts added.
If you get the same problem on your main site (that is if you had it BEFORE you activated Multisite, and you should have tested that first), then ask your host how to do it.
ok i will tell you versrion of IIS soon π
main site works properly.
see you soon.
thanks
i got the version π
SERVER_SOFTWARE = Microsoft-IIS/6.0
6.0
Problem is not solved yet….
Yeah, I’m sorry, I don’t use IIS and Multisite so I can’t figure this out π
This Code Works good For IIS 7 version..
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<defaultDocument>
<!-- Set the default document -->
<files>
<remove value="index.php" />
<add value="index.php" />
</files>
</defaultDocument>
<httpErrors errorMode="Detailed"/>
<rewrite>
<rules>
<rule name="wordpress" patternSyntax="Wildcard">
<match url="*" />
<conditions>
<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>