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. Location of Content within the Code Structure

    Location of Content within the Code Structure

    Technical SEO Issues
    3 3 96
    • 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.
    • artdivision
      artdivision last edited by

      Hi guys,
      When working with advanced modern websites it many times means that in order to achieve the look and feel we end up with pages that has almost 1000 lines of code or more. In some cases it is impossible to avoid it if we are to reach the Client's visual and technical specifications.

      Say the page is 1000 lines of code, and our content only starts at line 450 onwards, will that have an impact from a Google crawlability, hence affect our SEO making it harder to rank?

      Thoughts?

      Dan.

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

        if you have a high html/content rate, the google robot will need less time to crawl your site content.

        In my opinion is an important SEO on page factor that´s why i´m always trying to:

        • avoid javascript inlines

        • have a clean & simple HTML code

        • optimize the code deleting unnecesary characters like spaces.

        Last december, I changed my wordpress theme to one with a better/clean code, after 4/5 weeks I improve considerably my rankings, coincidence? I don´t think so

        Br

        //Oliver

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

          Yes it's most definitely a factor in rankings but as you say, to achieve visual perfection on a budget (using a theme and not coding from scratch) you do end up with a lot of code.

          I always ensure my sites score as high as possible in speed tests, and the Html, Css, and Java are all properly minified (when possible), and that's about all you can do.

          If the site scores at least a 90/100 in the page speed test then Google are not going to hold back a site that looks good and has great content because it has a lot of code in the site.

          Most of all that code is for the browsers to render the site correctly but good Seo is mainly dependant on the content contained within certain tags. I just checked one of my sites, and it has 600 lines of code before my H1 tag, thanks to the revolution slider. But the site still ranks top 3 for many keywords and still achieves a 93/100 on page speed test.

          All things equal, custom built flat html sites will always rank better than themes php template sites, but it's quite rare that all things are equal. Those 400 lines of code may be holding you back by 1 spot or 5 spots, but it's nothing that some good links or great content can't fix. I understand your point though, as it's a painfully slow process to fix that code.

          1 Reply Last reply Reply Quote 1
          • 1 / 1
          • First post
            Last post
          • Inconsistency between content and structured data markup
            seoelevated
            seoelevated
            0
            2
            28

          • Content too buried in source code?
            SSFCU
            SSFCU
            0
            5
            134

          • Term for how content or data is structured
            BonsaiMediaGroup
            BonsaiMediaGroup
            0
            4
            164

          • #hashtag Anchor text within content
            grasshopper
            grasshopper
            0
            4
            2.0k

          • Our UE team has presented me with a site structure where the content (folders) does not match the hierarchical directory structure (in the CME)
            Klarke
            Klarke
            0
            2
            246

          • Link Structure & Duplicate Content
            Adam.Whittles
            Adam.Whittles
            0
            3
            377

          • Duplicate Content Issue within the Categories Area
            Dr-Pete
            Dr-Pete
            0
            3
            512

          • Question about duplicate content within my site
            aprilm-189040
            aprilm-189040
            0
            4
            935

          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