Nacin, probably not the perfect person for this one, although the diff looks good, there's one url rewrite code that's messing with me, basically both sets in the .diff work great except the subdomain one has one issue.

On the MAIN site, not subdomain (subdomains are working fine) but the 404 redirect on the MAIN site does not work.

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
   <system.webServer>
       <rewrite>
           <rules>
               <rule name="WordPress Rule 1" stopProcessing="true">
                   <match url="^index\.php$" ignoreCase="false" />
                   <action type="None" />
               </rule>
               <rule name="WordPress Rule 2" stopProcessing="true">
                   <match url="^files/(.+)" ignoreCase="false" />
<action type="Rewrite" url="wp-includes/ms-files.php?file={R:1}" appendQueryString="false" />
               </rule>
               <rule name="WordPress Rule 3" stopProcessing="true">
                   <match url="^" ignoreCase="false" />
                   <conditions logicalGrouping="MatchAny">
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" />
                   </conditions>
                   <action type="None" />
               </rule>
               <rule name="WordPress Rule 4" stopProcessing="true">
                   <match url="." ignoreCase="false" />
                   <action type="Rewrite" url="index.php" />
               </rule>
           </rules>
       </rewrite>
   </system.webServer>
</configuration>


----- Original Message ----- From: "Andrew Nacin" <[email protected]>
To: <[email protected]>
Sent: Sunday, May 09, 2010 8:10 AM
Subject: Re: [wp-testers] 404 error page redirect not working for


IIRC this happened under older MU .htaccess rewrite rules. We've
changed them in 3.0.

If this was an MU to 3.0 upgrade, you'll probably want to manually
update the rules. If you're running a subdomain install, you don't
even need the ones that are messing with this.

Unfortunately, rules are dynamically generated, and I think Tools >
Network is blocked for MU-upgraded sites as it is useless. But I guess
we should open that up for now so the newer rules can be displayed.


On 5/9/10, Philip M. Hofer (Frumph) <[email protected]> wrote:
The 404 error page is not being redirected to if someone has a wp- at the
beginning of the bad URI line

- phil
_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers

_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers


_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers

Reply via email to