Very basic, just disallow all areas of your site that do not have content relevant to index, or content that is not unique (already found elsewhere on your site). This in turn improves SEO and saves crawler traffic for the important stuff.
For a stock XenForo site this could be something like:
Code:
Sitemap: https://www.YourDomain.com/community/sitemap.xml
User-agent: *
Disallow: /community/admin.php
Disallow: /community/account/
Disallow: /community/attachments/
Disallow: /community/direct-messages/
Disallow: /community/goto/
Disallow: /community/login/
Disallow: /community/lost-password/
Disallow: /community/online/
Disallow: /community/posts/
Disallow: /community/register/
Disallow: /community/search/
Disallow: /community/whats-new/
If you don't want member pages indexed add:
Code:
Disallow: /community/members/
If you aren't using tags add:
Code:
Disallow: /community/tags/
If you're using Google Adsense add this just below your sitemap reference:
Code:
User-agent: Mediapartners-Google
Disallow: