On particular products' pages, I want to show/hide reviews of the product depending on the page that the user came from. For the purposes of this question I am 'hiding' content by not loading it in the first place (not hiding it with CSS).

e.g. - if the user came to a product's page from the contact page (domain.com/contact) the backend code would detect the refer page and then not include the reviews section if the refer is the contact page. For any other referer URL, I will show the reviews section.

Is this seen as dodgy by search engines? I can't think of/remember the term for this practice, but I seem to remember reading that this type of conditional showing of content would be seen as hiding something 'unethically'?

Would search engines penalise my site, once they realise that the product pages show different content depending on where they previously came from? I'm thinking yes, because otherwise I could potentially make a particular page rank highly for a particular search phrase but hide that content for most scenarios, therefore 'tricking' the user into thinking my website/page has what they are looking for.

1 Answer 1


Google cares that visitors from search results see the same thing that Googlebot sees when it crawls. As long as you are not giving content to Googlebot that is hidden when the referrer is Google search, it won't be a problem.

In your case it looks like you are OK. Googlebot doesn't send a referrer when it crawls, so it will get all the content. Users coming from Google search will get the content as well. If it is only users coming from your contact page, then Google won't even notice, let alone care.


Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.