The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Technical SEO Issues
    4. What is the best approach to specifying a page's language?

    What is the best approach to specifying a page's language?

    Technical SEO Issues
    6 3 467
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • BlueLinkERP
      BlueLinkERP last edited by

      I have read about a number of different tags that can accomplish this so it is very confusing.

      For example, should I be using:

      OR

      1 Reply Last reply Reply Quote 0
      • john4math
        john4math last edited by

        They talked about this on the Bing Webmaster blog awhile back.  You can read about it here.  There is a priority order.  The article states:

        Keep in mind that the priority order for these tags is: , , <title>. In other words, the document location set in the “content-language” meta tag will always supersede the document location indicated in the <html> or <title> tag.  Its best that you use one option, instead of multiple options here.</span></p></title>

        BlueLinkERP Ryan-Ricketts 2 Replies Last reply Reply Quote 0
        • BlueLinkERP
          BlueLinkERP @john4math last edited by

          I don't see them mentioning anything about

          Does that mean it is not an acceptable option?

          I swear I just read an article that advised using the html lang tag.

          john4math 1 Reply Last reply Reply Quote 0
          • john4math
            john4math @BlueLinkERP last edited by

            The article addresses this.  Setting the language in the content-language meta tag will override the lang attribute in the html tag or the title tag.  They're recommending to use one method to set the language and stick with it, rather than setting the language in multiple places on a page.

            So, setting the lang on the tag is fine, just don't set meta content-language tags that specific a content, or set the lang in your <title>tags.</p></title>

            1 Reply Last reply Reply Quote 1
            • Ryan-Ricketts
              Ryan-Ricketts @john4math last edited by

              The link you supplied is broken. Has it been updated?

              john4math 1 Reply Last reply Reply Quote 0
              • john4math
                john4math @Ryan-Ricketts last edited by

                I don't think so; it's still working for me.  Here it is in cleartext: http://www.bing.com/community/site_blogs/b/webmaster/archive/2011/03/01/how-to-tell-bing-your-website-s-country-and-language.aspx

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                • Hi, we are wanting to test a new version of one particular page on our website. What's the best way to run a test for a week without harming rankings. Do we use a 302 redirect or direct 100% of traffic using a tool like Optimizely?
                  WebElaine
                  WebElaine
                  0
                  2
                  33

                • What's the best way to pass link juice to a page on another domain?
                  paints-n-design
                  paints-n-design
                  0
                  8
                  181

                • Joomla creating duplicate pages, then the duplicate page's canonical points to itself - help!
                  Eurasmus.com
                  Eurasmus.com
                  0
                  9
                  890

                • My beta site (beta.website.com) has been inadvertently indexed. Its cached pages are taking traffic away from our real website (website.com). Should I just "NO INDEX" the entire beta site and if so, what's the best way to do this? Please advise.
                  Vuly
                  Vuly
                  0
                  5
                  1.6k

                • Product landing page URL's for e-commerce sites - best practices?
                  BenRWoodard
                  BenRWoodard
                  0
                  2
                  2.3k

                • What's the best format for a e-commerce URL product page
                  EGOL
                  EGOL
                  0
                  4
                  622

                • How Best to Handle 'Site Jacking' (Unauthorized Use of Someone else's Dedicated IP Address)
                  KeriMorgret
                  KeriMorgret
                  1
                  2
                  713

                • What's the difference between a category page and a content page
                  AlanBleiweiss
                  AlanBleiweiss
                  0
                  5
                  1.0k

                Get started with Moz Pro!

                Unlock the power of advanced SEO tools and data-driven insights.

                Start my free trial
                Products
                • Moz Pro
                • Moz Local
                • Moz API
                • Moz Data
                • STAT
                • Product Updates
                Moz Solutions
                • SMB Solutions
                • Agency Solutions
                • Enterprise Solutions
                • Digital Marketers
                Free SEO Tools
                • Domain Authority Checker
                • Link Explorer
                • Keyword Explorer
                • Competitive Research
                • Brand Authority Checker
                • Local Citation Checker
                • MozBar Extension
                • MozCast
                Resources
                • Blog
                • SEO Learning Center
                • Help Hub
                • Beginner's Guide to SEO
                • How-to Guides
                • Moz Academy
                • API Docs
                About Moz
                • About
                • Team
                • Careers
                • Contact
                Why Moz
                • Case Studies
                • Testimonials
                Get Involved
                • Become an Affiliate
                • MozCon
                • Webinars
                • Practical Marketer Series
                • MozPod
                Connect with us

                Contact the Help team

                Join our newsletter
                Moz logo
                © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                • Accessibility
                • Terms of Use
                • Privacy