404 Error cuts off some get_header code
I recently installed WP 2.6 using a Revolution theme.
When I go to an invalid URL to test the 404.php file, the first part of the returned HTML code that the get_header returns is missing.
On closer inspection, what is being stripped off is the following sections:
what is NOT being stripped is…
and all code after that.
What analysis have I done already?
1. I have disabled all WP plugins, but error is still the same. But less of the header code is cut off
2. I have changed the theme back to default theme. When loading same invalid URL, now I get a 501 error.
It’s as if XXX bytes of the returned code is being stripped each time.
I am a WP user with about a dozen sites and can read PHP/HTML but this has stumped me.
The only non-standard setting is that I have installed WP in a sub-folder called 2.0 and then changed my htaccess and index.php files to redirect to this sub-folder.
All valid post and page URLs are formatted correctly.
- The topic ‘404 Error cuts off some get_header code’ is closed to new replies.