Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Page load before display - SEO Best practice

There are many ways to display a page only when content is loaded, but what is the best way regarding SEO ?

Contents are : pictures, css, js, etc.

Is Google bot getting smart enough to not-index pages that have tricks like those ?

  • CSS <body> display none.
  • Javascript add display none, on_event_i_am_ready , remove display none.
  • <body> margin -20000px.
  • Full white div z-index > body z-index.
  • body height & width to 0px with overflow: hidden;
  • And much more solutions...

Stackoverflow: Solution two, Solution one, etc..

like image 445
Slake Avatar asked Nov 03 '22 23:11

Slake


1 Answers

The best way for sure is don't do it. If you care about SEO, just optimize your page to work fast and do not need some pre-load message. Avoid do any (black) magic.

Just a very few cases could be a good idea use these types of message, and in general, are just for apps that already do not are search friendly, like your email client. Is better use your time to improve your page load than wast even more bytes on it.

like image 137
Emerson Rocha Avatar answered Nov 08 '22 14:11

Emerson Rocha