SEO friendly alternative for iframe?

I have content that I would like to share with other websites.

I am currently doing this through an iframe:

<iframe width="540"; height="700" frameborder="0" src="http://www.energiekostencalculator.nl/forms/frame_tabs.php?first=yes&product=1&links=1&css=http://www.energiekostencalculator.nl/forms/susteen.css"></iframe>

This has two problems.

  • This is not SEO. Links to the contents of frames are not considered incoming links, as they are hosted on my server.
  • It is (on my server anyway) impossible to associate external CSS styles with iframe content. The goal is for other websites to easily link their stylesheet to my content.

Who has a solution to these problems? Perhaps using jquery (see below), but I'm not sure that Google will analyze it and โ€œseeโ€ the links ...

<html>
<head>
<script src="/js/jquery.js" type="text/javascript">
</head>
<body>
<div id='include-from-outside'></div>
<script type='text/javascript'>
$('#include-from-outside').load('http://example.com/included.html');
</script>
</body>
</html>
+3
source share
6 answers

, TripAdvisor - , javascript, .

<div id="TA_rated459" class="TA_rated">
<ul id="JRrkXsd6H" class="TA_links GYO6Zcd">
            <li id="IN1Gc4AMw8T" class="zQkgIs4xdv"><a href=http://www.tripadvisor.com/Hotel_Review-g294207-d501440-Reviews-Ngong_House-Nairobi.html>Ngong House</a></li>
      </ul>
  </div>
<script src="http://www.jscache.com/wejs?wtype=rated&amp;uniq=459&amp;locationId=501440&amp;lang=en_US"></script>
+4

iframe, " -", , HTML, AJAX Crawlable.
, - .

iframe, , script, , ( script) div, , script .

+1

"" , . , , AJAX, iFrames. html javascript, , php , fsocketopen, - . , .

+1

SEO, . HTML, , PR , . SEO, (!) , , ( ).

, iframe (, ).

0

, DIV overflow: auto; ( ). HTML DIV (, , ), .

-1

Perhaps you should create an API. This will certainly solve problem number 2, which allows publishers to create their content in any way.

And about the problem number 1 - SEO - I'm not sure. Do not understand the language of the site, but as far as I understand, you allow people to embed some useful calculator on their own pages, while the content of their pages usually remains unique, so it may or may not be useful for SEO. I also would like to know if any SEO experts are reading.

-1
source

Source: https://habr.com/ru/post/1790911/


All Articles