WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

XHTML Content Negotiation for WordPress

A plugin to serve WordPress content using the application/xhtml+xml MIME type

Google Adsense does not work with this plugin. Why?

That is a problem with Google Adsense which assumes that you will be sending content as text/html, and it breaks if you send it as application/xhtml+xml. This web page offers a Javascript-based solution that seems to work, and doesn't upset Google.

My browser is giving me an XML parsing error.

This means that your theme is producing invalid XHTML, and you probably need to contact the theme authors. I find that this is most often caused by using invalid HTML entities in the document.

My browser is rendering the document as an XML tree.

This means that your DTD and/or XHTML namespace are incorrect. Check to make sure that the DTD is a valid XHTML doctype and that your html tag contains the XHTML namespace (xmlns="http://www.w3.org/1999/xhtml").

Requires: 2.0.2 or higher
Compatible up to: 3.4.2
Last Updated: 2012-8-23
Downloads: 1,888

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
0,1,0
0,1,0