Communities
How to allow ad-sense bot to crawl phpbb3 private forums
by admin on May.29, 2009, under Communities
If you operate a forum with private sections and public section, you’ll find that the ads that ad-sense pushes on your website are created based solely on the public content. If you want more accurate result you may want to look into the ad-sense’ s “Site Authentication” feature. Here’s a small how-to on how to achieve this:
phpbb3
- Create a user in the acp (for this example sake let’s use: adsense as username and adsense as password).
- Give him permission based on your forum structure, we advise to give him read-only access on the whole forum.
ad-sense
- go to the AdSense Setup tab, then click on the Site Authentication section.
- click on the add a login link
- Set it like this:
- Restricted Directory or URL: the forum url (example: http://www.example.com/forum)
- Authentication URL: the path to the ucp.php?mode=login file (example: http://www.example.com/forum/ucp.php?mode=login)
- Authentication method: POST
- Parameters: (you have to add them manually)
- Attribute: login – Value: Login
- Attribute: password – Value: userpassword (example: adsense)
- Attribute: username – Value: username (example: adsense)
- Now click on: Test My Authentication URL to check if everything went ok
Hope this will help you