How important is the HTML structure for on-page/on-site SEO?
-
To be more specific, say a page layout has Header, Body, Left Sidebar, Footer sections. Which layout from the following options is more SEO-friendly?
- Header > Body > Right Sidebar > Footer
- Body > Header > Right Sidebar > Footer
Does it make a big difference to code HTML so that the the copy of the body appears in front of all other sections when spiders crawl a website? Is it worth taking extra steps to make this happen?
I am asking this question because our site has a header navigation with a lot of dropdown menus. So I assume that this is "noise" for spiders as it pushes the main content of the page down.
Please bear in mind that the question is more geared towards how search engine see the page rather than how it appears to the end user as layout can be controlled by CSS.This question also assumes that all other on-site SEO best practices are followed for both options.
-
I agree with the other answers, but believe 100% your header should be above body content. The way I explain it to my clients is the header is a promise of what is to come. You wouldn't pick up a book without reading the title would you? Or know if it is in your own language?
The header is also the position to tell the SERP's what your entire site is about, look this site is about "such and such" with the "author tag so and so", written to answer "these questions" and you will find ALL that and more in the content.
Body above the header was a trick used years ago in SEO to force feed our intentions on the search engine, now we just politely introduce our page and let them browse the content.
-
Hi,
As irving mentioned in his answer, Google does crawl the whole page. However, from a HTML5 course I took, Google reads the HTML from top to bottom. Meaning if you have 1. Head > Body >Right Sidebar > Footer, Google will read your head first, then the body, then the right side bar and finally footer. If you have 2. Body > Header > Right Sidebar > Footer, they will read Header first. You get the point.
Therefore, it is suggested to have your more important content on the top of the HTML. But overall, Google will crawl the whole page.
-
Google reads the whole page, but it is said to put your content as high up in the code as possible. So if your header is a huge chunk of code, then putting the body above it sounds like a good idea.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
CMS Pages - Multiple URLS (/)
Hi guys, this type of question has been asked a few times before but I couldn't find something that told me what i need so apologies if its a tad repetitive. I use Magento, and have several pages using its CMS. However, it produces 2 URLS for each page with a simple /. For example, website.com/hire
Intermediate & Advanced SEO | | ATP
website.com/hire/ I know google treats this as 2 separate pages, which would be the better solution. 1. Write a URL re-write for every CMS page
RewriteRule ^hire$ http://www.website.com/hire/ [R=301,L] (Is this right?) 2. Write a general rewrite rule to always add the /
No idea where to begin with this 3. Add a Canonical tag to the page which i think is possible in magento by adding this to the Custom Design Layout XML option in the page CMS. <action method="addLinkRel"></action> <rel>canonical</rel> <href>http://www.website.com/hire/</href> This would make the /hire/ page self-reference and the /hire page reference the /hire/ page I think. Which one of these solutions is the best and any pointers with the coding would be grand.0 -
404 Pages. Can I change it to do this without getting penalized ? I want to lower our bounce rate from these pages to encourage the user to continue on the site
Hi All, We have been streaming our site and got rid of thousands of pages for redundant locations (Basically these used to be virtual locations where we didn't have a depot although we did deliver there and most of them was duplicate/thin content etc ). Most of them have little if any link value and I didn't want to 301 all of them as we already have quite a few 301's already We currently display a 404 page but I want to improve on this. Current 404 page is - http://goo.gl/rFRNMt I can get my developer to change it, so it will still be a 404 page but the user will see the relevant category page instead ? So it will look like this - http://goo.gl/Rc8YP8 . We could also use Java script to show the location name etc... Would be be okay ? or would google see this as cheating. basically I want to lower our bounce rates from these pages but still be attractive enough for the user to continue in the site and not go away. If this is not a good idea, then any recommendations on improving our current 404 would be greatly appreciated. thanks Pete
Intermediate & Advanced SEO | | PeteC120 -
Has this site been a victim of negative seo?
The rankings for our client's site - www.yourlifeprotected.co.uk fell off the face of the earth back in June. Despite trying a huge number of things to try and help the site recover, we've seen no real positive improvements since then. Examples of things we have tried: Disavowed & manually removed poor quality Links Removed any internal Duplicate Content Removed any broken links Re-written all website content to ensure unique & high quality No-Followed all outbound links Added any missing title tags changed hosting Rewritten content to ensure no duplication internally or externally The most recent issue we've picked up is that some highly spammy sites seem to have copied extracts of text from the website and hidden them in their pages. This is a rather puzzling one, as there aren't backlinks, pointing to our site - just the copy. For example - Cancer Page and Diabetes Page.It feels very much as though this could be a negative SEO attack which could be responsible for the drop in rankings and traffic the site has experienced. If this is the case, what can we do about it?! Having already re-written the copy on the site, we obviously dont want to do this again unnecessarily - especially if this could just happen again in future! Any help or advice would be hugely appreciated.
Intermediate & Advanced SEO | | Digirank0 -
Using a 302 re-direct from http://www to https://www to secure customer data
My website sends Customers from a http://www.mysite.com/features page to a https://www.mysite.com/register page which is an account sign-up form using a 302 re-direct. Any page that collects customer data has an authenticated SSL certificate to protect any data on the site. Is this 302 the most appropriate way of doing this as the weekly crawl picks it up as being bad practise? Is there a better alternative?
Intermediate & Advanced SEO | | Ubique0 -
Better SEO Option, 1 Site 3 Subdomains or 4 Separate Sites?
Hey Mozzers, I'm working with a client who wants to redo their web presence. They have a a main website for the umbrella and then 3 divisions which have their own website as well. My question is: Is it better to have the main site on the main domain and then have the 3 separate sites be subdomains? Or 4 different domains with a linking structure to tie them all together? To my understanding option 1 would include high traffic for 1 domain and option 2 would be building Page Authority by having 4 different sites linking to each other? My guess would be option 2, only if all 4 sites start getting relevant authority to make the links of value. But right out of the gates option 1 might be more beneficial. A little advice/clarification would be great!
Intermediate & Advanced SEO | | MonsterWeb280 -
How do you transition a keyword rank from a home page to a sub-page on the site?
We're currently ranking #1 for a valuable keyword, but the result on the SERP is our home page. We're creating a new product page focused on this keyword to provide a better user experience and create more relevant content. What is the best way to make a smooth transition to make the product page rank #1 for the keyword instead of the home page?
Intermediate & Advanced SEO | | buildasign0 -
Do we have to do different work for SEO for an affiliate site than for a normal blog?
I am interested to do the SEO work for an affiliate site. Is it same as others or something particular has to be done for affiliate sites.
Intermediate & Advanced SEO | | raybiswa0 -
Site structure question
Hello Everyone, I have a question regarding site structure and I would like to mastermind it with everyone. So I am optimizing a website for a Ford Dealership in Boston, MA. The way the site architecture is set up is as follows: Home >>>> New Inventory >>> Inventory Page (with search refinement choices) After you refine your search (lets say we choose a Ford F150 in white) it shows a page with images, price information and specs. (Nothing the bots or users can sink their teeth into) My thoughts are to create category pages for each Ford model with awesome written content and THEN link to the inventory pages. So it would look like this: Home >>> New Inventory >>> Ford 150 Awesome Category Page>>>>Ford F150 Inventory Page I would work hard at getting these category pages to rank for the vehicle for our GEO targeted locations. Here is my questions: Would you be annoyed to first land on a category page with lots of written text, reviews images and videos first and then link off to the inventory page. Or would you prefer to go right from the new inventory page to the actual inventory page and start looking for vehicles? Thanks you so much, Bill
Intermediate & Advanced SEO | | wparlaman0