1

A lot of (news) websites provide at least short text previews (e.g., news articles) to search engines (e.g., Google). When browsing to such websites, those text pieces are not visible but replaced with a banner, e.g., "please subscribe and pay".

Of course, it is possible to hide/cover texts with CSS but then the information can still be found in the source code. Also distinguishing user-agents is not really secure. I checked both techniques on multiple websites and they seem to use another mechanism.

How to provide texts to search engine crawlers but not ordinary browsers?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.