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

XF 1.2 Google results - site description error

Discussion in 'Troubleshooting and Problems' started by flowerpower, Oct 23, 2013.

  1. flowerpower

    flowerpower Member

    Hello to all!
    I have a site with xenforo 1.2.2. In the Google results the description of my site is this: "This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies.."

    Why this behavior?
    Why the site description that I have wrote in the Admin Control Panel -> Home -> Options -> Basic Board Information -> Board Meta Description is not displayed in the google result?
    I use portal (XenPorta) for my home page (index). I have checked with mozilla tools that in the index page there is the meta tag description with my description, but in the google results there is "This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies.." for site description.
    Can anyone help me?
    Thanks in advance.
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    It's entirely down to Google's algorithm what information it uses to explain your site in its search results:

    https://support.google.com/webmasters/answer/35624

    Even if the page has a meta description then Google can choose not to use it and invariably it does choose not to use it.
     
  3. flowerpower

    flowerpower Member

    This is my robots.txt, can this cause problems? I have now removed "Disallow: /css.php"

    User-agent: Mediapartners-Google
    Disallow:

    User-agent: Baiduspider
    Disallow: /

    User-agent: Baiduspider-video
    Disallow: /

    User-agent: Baiduspider-image
    Disallow: /

    User-agent: Yandex
    Disallow: /

    User-agent: *
    Disallow: /account*
    Disallow: /help*
    Disallow: /misc/style*
    Disallow: /misc/quick-navigation-menu*
    Disallow: /login*
    Disallow: /logout*
    Disallow: /lost-password*
    Disallow: /register*
    Disallow: /reports*
    Disallow: /search*
    Disallow: /conversations*
    Disallow: /cron.php
    Disallow: /admin.php
    Disallow: /admindav.php
    Disallow: /js
    Disallow: /styles
    Disallow: /library/*
    Disallow: /internal-data/*
    Disallow: /attachments/*
    Disallow: /members/*
    Disallow: /profile-posts/*
    Disallow: /online/*
    Disallow: /recent-activity/*
    Disallow: /find-new
    Disallow: /goto
    Allow: /

    Sitemap: http://www.mysite.com/sitemap/sitemap.xml.gz
     
  4. Chris D

    Chris D XenForo Developer Staff Member

    Most of those are unnecessary, I think. Shouldn't cause you any problems, though.

    This is the robots.txt for this site:

    http://xenforo.com/robots.txt
     
  5. jauburn

    jauburn Well-Known Member

    I would also like to know how to get google to provide a proper description for the site under its listing. Many sites have a proper description.
     

Share This Page