WordPress – Setting correct Content-Type sent from WordPress, on Apache server

apache-2.2http-headersWordpress

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/.

Best Answer

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.

Related Topic