php - SEO friendly alternative for an iframe? -


i have content share other websites.

currently via 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 2 problems.

  • it not seo friendly. links on content of iframes not count inbound links since page hosted on server.
  • it (on server anyway) not possible link outside css stylesheets content of iframe. objective allow other websites link stylesheet content.

who has solution these issues? perhaps using jquery (see below), i'm not sure google parse , "see" 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> 

have @ how tripadvisor - static link , javascript replace once page has loaded.

<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> 

Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -