• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.3 Prevent Google from switching styles

dieg0

Active member
#1
Hello,

After looking for a way to prevent guests from switching style the only thing I can think of would be not displaying the style chooser. Is there a better way to achieve this?
 

Chris D

XenForo developer
Staff member
#2
What makes you think that Google switches style?

The style chooser link is already nofollow, and the resulting page is additionally set to noindex in the header.
 

Chris D

XenForo developer
Staff member
#4
Google will occasionally still log the pages it sees, but if they're set to nofollow or noindex via various methods it will eventually remove them from its results. Nothing to worry about either way.