1

I need help pointing me in the right direction for setting the ContentType returned by Apache for content produced by WordPress. I'm having trouble figuring out why WordPress is returning incorrect headers.

Issue

The specific problem is that our Wordpress blog pages are being downloaded as a file rather than displayed by Internet Explorer and Chrome v21.

Content-Type: application/x-gzip is being returned by the server.

I'm told that I should expect Content-Type: text/html.

Background

The URL is http://www.bitesizeirishgaelic.com/blog/.

4
  • If you have access, post (and/or examine) your apache confs for any setting referencing /blog.
    – KM.
    Oct 17, 2012 at 20:23
  • Hmm, the httpd.conf doesn't mention blog.
    – eoinoc
    Oct 17, 2012 at 20:48
  • Mm ... could there be a WP plugin causing this ... ? Look at this: wordpress.org/support/topic/…
    – KM.
    Oct 18, 2012 at 14:16
  • I don't think so, as I tested with all plugins turned off. Adding my own answer below for the record.
    – eoinoc
    Oct 18, 2012 at 16:07

1 Answer 1

0

My host helped solve this in the end:

The most common causes for this behavior is an issue with the PHP handler or the AddHandler variable in an .htaccess file. I reset your PHP handler to suPHP, which it already was set to, and restarted Apache. That resolved the issue.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .