Title: html xmlns code is double
Last modified: August 21, 2016

---

# html xmlns code is double

 *  Resolved [FreeWPress](https://wordpress.org/support/users/freewpress/)
 * (@freewpress)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/html-xmlns-code-is-double/)
 * Hi, this is my code after activating social meta feature.. I think this is not
   correct, you confirm?
 *     ```
       <html xmlns="http://www.w3.org/1999/xhtml" lang="it-IT"xmlns="http://www.w3.org/1999/xhtml"
       			      xmlns:og="http://ogp.me/ns#"
       			      xmlns:fb="http://www.facebook.com/2008/fbml" >
       ```
   
 * [http://wordpress.org/plugins/all-in-one-seo-pack/](http://wordpress.org/plugins/all-in-one-seo-pack/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Peter Baylies](https://wordpress.org/support/users/pbaylies/)
 * (@pbaylies)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/html-xmlns-code-is-double/#post-4324278)
 * FreeWPress,
 * Is this causing issues on your site? Also, do you know where the first xmlns=”
   [http://www.w3.org/1999/xhtml&#8221](http://www.w3.org/1999/xhtml&#8221); is 
   coming from, or if it is being provided by the language_attributes filter? What
   is your theme?
 *  Thread Starter [FreeWPress](https://wordpress.org/support/users/freewpress/)
 * (@freewpress)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/html-xmlns-code-is-double/#post-4324280)
 * Hi, header is this:
 * `<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>`
 * Theme is itheme2 by themify
 * When i activate social seo it change how mi first topic here!!
 *  [Peter Baylies](https://wordpress.org/support/users/pbaylies/)
 * (@pbaylies)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/html-xmlns-code-is-double/#post-4324281)
 * FreeWPress,
 * I’d suggest removing the xmlns=”[http://www.w3.org/1999/xhtml&#8221](http://www.w3.org/1999/xhtml&#8221);
   from the header, then. Because it’s not output by language_attributes(), there’s
   no way to filter it, or for the plugin to know it’s there. See [the example here](http://codex.wordpress.org/Function_Reference/language_attributes#Examples)
   for reference.
 *  Thread Starter [FreeWPress](https://wordpress.org/support/users/freewpress/)
 * (@freewpress)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/html-xmlns-code-is-double/#post-4324282)
 * Ok thanks for your time…

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘html xmlns code is double’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-seo-pack/assets/icon.svg?rev=2443290)
 * [All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic](https://wordpress.org/plugins/all-in-one-seo-pack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-seo-pack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-seo-pack/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-seo-pack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-seo-pack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-seo-pack/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [FreeWPress](https://wordpress.org/support/users/freewpress/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/html-xmlns-code-is-double/#post-4324282)
 * Status: resolved