Hey guys, this post is not really a bug, so don’t check out my site as everything is working properly. This is more an FYI.
My servers are running IIS, with Plesk and PHP running as FastCGI. Now, I noticed that there was a relatively large problem with 404 pages. Let me elaborate.
http://www.ryanbrooks.net/ was coming up as a 404. In fact, the entirety of the website was:
The requested document was not found on this server.
Web Server at ryanbrooks.net
Yes, the file did exist, there was no index.html file, and my directory index was something to the effect of index.html, index.php, index.asp
http://www.ryanbrooks.net/index.php – inside, navigating the links, I got the same problem.
http://www.ryanbrooks.net/?cat=2 was the same 404, but using http://www.ryanbrooks.net/index.php?cat=2 it’s
Now, here’s the complete PHP source to index.php:
< ? php
The funny thing is that when I do:
< ? php
echo ” “;
Everything was fine, though I still got the same problem with /?cat=2.
This was NOT a problem in ./wp-admin/ or ./wp-admin/index.php
This lead me to believe, in my quasi-infinite wisdom, that it was a problem with wp-blog-header.php
Start: Line 16, at “// Process PATH_INFO and 404.”
End: Line 86, at ” }”
Delete, or comment out.
Now, this would likely be a problem with other users, but since I don’t do any mod_rewrite or anything, it was a quick fix.
- The topic ‘index.php – 404 Not found – wp-blog-header.php’ is closed to new replies.