Forum for discussing general topics related to Couch.
4 posts Page 1 of 1
This is a general 'best use case' question. I have a customer, who puts repeating text on the end of many pages. Something like "We are experts for this, that and that. If you have questions about this, and the or that, you can contact our experts..."

From seo sight this is not optimal, because it is duplicate content and steals text weight over the complete site. There are two possible solutions to hide these content:

1. I create a content element, which print out the content including HTML via javascript (i.e. this.innerHTML = html). The javascript has to be blocked by robots.txt.

2. I create a content element, which puts the content including HTML and CSS into an iframe, which will be blocked also by robots.txt.

Do you see a third alternative? Which solution is your favorite?
Lazy load, maybe? It's not there for search engines apparently, but appears (perhaps with an imposed delay) once the viewport has it. As per Google's own videos, blocking page's resources via robots.txt is not recommende, potentially affects rating and produces warnings.
trendoman wrote: As per Google's own videos, blocking page's resources via robots.txt is not recommende, potentially affects rating and produces warnings.


Google suggests to blocks source via robots.txt:
https://twitter.com/JohnMu/status/1688617711746580480
Here it does not: Deliver search-friendly JavaScript-powered websites (Google I/O '18) https://www.youtube.com/watch?v=PFwUbgvpdaQ
4 posts Page 1 of 1