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

how to give google authorization

Discussion in 'XenForo Questions and Support' started by aiman.h.kallaf, Aug 11, 2012.

  1. aiman.h.kallaf

    aiman.h.kallaf Active Member

    google just sent me message that my errors are increasing

    i want to give google access to my pages that visitors can access
     
  2. MagnusB

    MagnusB Well-Known Member

    I dont understand what you mean, AFAIK bots are handled just as any other unregistered user in xF. If you want to reduce the 403 errors, you might look to remove Google's access to those pages via robots.txt. A good place to start would be removing access to /members/ and /attachments/ deny them to index attachments and member profiles.
     
    aiman.h.kallaf likes this.
  3. aiman.h.kallaf

    aiman.h.kallaf Active Member

    add_alogin.JPG
    how to fill the information in the picture
     
  4. MagnusB

    MagnusB Well-Known Member

    Where did you find that? I have not seen that before, and I just took a look in webmaster tools, and I did not see an option to do that.

    If you get allot of 403 errors, I suggest you update your robots.txt file, Google respects that:
    Code:
    User-agent: *
     
    Disallow: /account/
    Disallow: /admin.php
    Disallow: /ajax/
    Disallow: /attachments/
    Disallow: /conversations/
    Disallow: /data/
    Disallow: /forums/-/
    Disallow: /forums/tweets/
    Disallow: /goto/
    Disallow: /help/
    Disallow: /internal_data/
    Disallow: /js/
    Disallow: /library/
    Disallow: /login/
    Disallow: /lost-password/
    Disallow: /misc/contact/
    Disallow: /members/
    Disallow: /online/
    Disallow: /recent-activity/
    Disallow: /register/
    Disallow: /posts/
    Disallow: /search/
    Disallow: /styles/
    Allow: /
    That is what I have, these will block access to most areas you don't want indexed by Google, like registration forms, search pages, member profiles, attachments and some system folders. It will also prevent allot of double links, as many of the xF links are just "redirects", like the posts links will redirect to a specific post within a thread etc etc.

    These assume you have full friendly URL's enabled though, I am not sure if they will work without them.
     
    aiman.h.kallaf likes this.
  5. aiman.h.kallaf

    aiman.h.kallaf Active Member

    thanks i'll work on it

    the picture from google adsens
     
  6. MagnusB

    MagnusB Well-Known Member

    Ahh, I don't use Adsense, so I can't help you with that. Someone else might be able to advice you on that.
     
  7. CyclingTribe

    CyclingTribe Well-Known Member

    In the Restricted Directory or URL put the URL of the page/forum etc. that you want Adsense to be able to crawl.

    Next add the login URL (I've pasted mine, just adjust it to suit your site/domin): http://www.cyclechat.net/index.php?login/login

    Login method: POST

    Parameters:
    login = Username (this is the forum username for the account you've setup for Google to use - I've called mine GoogleSpider)
    password = ******** <the password for the user account above>
    cookie_check = 1

    Hope this helps. (y)

    Cheers,
    Shaun :D
     
    aiman.h.kallaf likes this.
  8. aiman.h.kallaf

    aiman.h.kallaf Active Member

    thank you very much , everything is working fine now

    though i was hoping i can do the same with webmaster
     

Share This Page