1. 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

Discussion in 'Styling and Customization Questions' started by dieg0, Apr 11, 2014.

  1. dieg0

    dieg0 Active Member


    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?
  2. Chris D

    Chris D XenForo Developer Staff Member

    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.
  3. dieg0

    dieg0 Active Member

    Works for me then. Thanks!

    I found a URL with two different styles on Google. Just one.
  4. Chris D

    Chris D XenForo Developer Staff Member

    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.

Share This Page