Include HTML in HTML without affecting SEO

4

I've seen a number of ways to include an HTML inside another HTML , both by JavaScript and the HTML5 .

Do these include negatively affect the page's SEO?

Are the included content of these forms typically indexed by search engines?

    
asked by anonymous 16.07.2018 / 15:56

1 answer

2

Most likely Google Bot does not take this into consideration and understands the entire page as a single document.

It will request the page and get the HTML, PHP, ASP, etc. code that is generated back, so do not care if it is a static page or a generated page (like most sitem in Wordpress or Joomla for example which basically are a bunch of includes .He will never see the server code, just the rendered result that the request returned to the browser.

Accessing a page can not say for sure if it is a static or "dynamic" page (dynamically generated) and delivered to the browser. Many generated pages have a different file extension than static pages (for example, .aspx or .php instead of .html), but generated pages can also be printed with the same static page file extension.

As I said earlier, I particularly do not believe Google Bot will not index SEO optimizations for indexed files dynamically on other pages. You could even do an AP test to prove it, but if he did not interpret it, 90% of Wordpress sites would not have their content ranked.

Article about the subject that might interest you. Several tests were run on it, and the result was as follows: link

The following can be completed.

  • Google crawls and indexes all content that was injected by javascript.
  • Google even shows results in SERP based on content injected asynchronously.
  • Google can handle httpRequest () content.
  • However, JSON-LD as such does not necessarily lead to SERP results (as opposed to officially supported SERP entities that are not only indexed but also used to decorate the SERP).
  • >
  • The injected JSON-LD is recognized by the structured data testing tool, including the Tag Manager injection. This means that once Google decides to support entities, indexing will not be a problem.
  • Dynamically updated meta elements are crawled and indexed as well.

So very soon, the days of pre-rendering PhantomJs snapshots and delivering shadow content to the spiders will be over. That makes me happy.

OBS 1: Keep in mind that content that is rendered on the client-side front end may not be indexed by Google, so if you plot anything on the client's screen just on the user -side without any kind of request on the server may be that Google does not index this content.

OBS 2: Google has a tool that can help you track the structured data that you are indexing on your page and if they are being identified, you can check here

16.07.2018 / 16:17