Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

Hiding SEO text for logged in users

         

jediviper

2:32 pm on Aug 3, 2021 (gmt 0)

5+ Year Member Top Contributors Of The Month



Hello,

I had the discussion about this with one of the web designers about a new project and it's something that I can't find any valid online result.

Does it matter for Google or not, if a website that normally has some SEO text for public users, then hides the text from all pages after a user logs in.
Is there any negative result to expect?

jediviper

11:08 am on Aug 4, 2021 (gmt 0)

5+ Year Member Top Contributors Of The Month



Noone has any idea?
I thought it was a simple yes or no matter.

JesterMagic

11:10 am on Aug 4, 2021 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



It would be no problem as Google would never see the text as they are never logged into your site so would so just the text a normal anonymous visitor would.

lucy24

4:13 pm on Aug 4, 2021 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



But wait. How is the text revealed/hidden? Is it done by a script that search engines are allowed to see? Is the non-logged-in version present in the HTML itself? If so, search engines may be able to figure out what the script does. In fact, you’re better off if they do get it right. Otherwise they might misunderstand it as “cloaking”, even though that is the exact opposite of what the site is doing.

jediviper

6:03 am on Aug 5, 2021 (gmt 0)

5+ Year Member Top Contributors Of The Month



@JesterMagic
So you are telling me that Google does not make like a comparison between the logged and unlogged page to realise that a part of the page, that includes text, gets hidden?

@lucy24
I don't have currently this info. All I know is that the text is included in a drop down box (you need to click at a title for the text to appear) and also they make it as non selectable, probably for copy/security reasons.

JesterMagic

10:58 am on Aug 5, 2021 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



lucy24 has a good point, I assumed when you said "hides", the website actually removes/changes parts of the page and does not actually just disable it and hides it with css (doing it this way it still actually exists in the HTML source which Google could still parse if they want)

How could Google make a comparison as it doesn't log in unless you are showing Google something different than regular non-logged in visitors which usually is a no-no.