[wp-hackers] 404 Pages displaying as blank

Leon Ash leon.ash at tawnylion.com
Fri Sep 4 17:30:11 UTC 2009

Uh, yes. Switching to Apache isn't an option at this stage :-)

I guess I'll keep plodding aliong. Hosting provider reckons they'll be  
able to upgrade me to IIS7 soon.

What I find strange is that WordPress processes all the existing pages  
as it should. Even when it is a non-existing URL WordPress detects  
this and start going through the 404.php file in the template.

It just never gets to finish. But, it fails in what seems a random  
fashion, almost as if it is a timeout of some sort.

Thank you all for the help and I'll continue the quest once I've been  
upgraded to IIS 7.


On Sep 4, 2009, at 6:11 PM, Otto wrote:

> On Thu, Sep 3, 2009 at 1:28 PM, Leon Ash<leon.ash at tawnylion.com>  
> wrote:
>> If I remove the IIS6 custom 404 handler pointing to /index.php? 
>> error=404
>> then the 'home' page works, but nothing else. Everything returns  
>> 404 pages?
>> With the /index.php?error=404 on the IIS6 custom handler all works  
>> whether I
>> have .htaccess or not. All, except the 'real' 404 errors.
> Ahh. IIS. Ugh. IIS doesn't use .htaccess and doesn't know about URL
> rewriting without custom addons.
> So, I don't know much about IIS, but I do know that you're not
> currently using any of the "rewrite" functionality for IIS, because
> you're using the 404 trick.
> Basically, by redirecting 404's to WordPress, you're accomplishing a
> cheap form of rewriting. That's why you can't get 404's to work,
> because you're using them to redirect to the main site instead.
> -Otto
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list