Prevent Google from indexing my forum posts?


I can't seem to find any master page file or anywhere else that contains metadata (although I don't know if that's the problem or not). Any help would be appreciated.

Thanks
InstantForum Question

There's a robots file.

Thanks. I'll try that.

Hi There,

To stop google indexing forum posts the only reliable way is to ensure the forums are not visible to the "Anonymous" member group within InstantForum. Google can only index and see posts that are within forums visible to Anonymous users.  

You can control the member groups that can access a forum from the Edit Forum page within the Admin CP. 

I learnt recently Google actually ignores your Robots.txt most of the time.

The robots.txt is commonly used for folder level disallow rules. If you wanted to restrict Google indexing a specific folder one option may be to add a <authorization> element to your web.config so only authenticated users can access specific folders.

For example say you had a folder called "Members" and you only wanted to allow users who are authenticated via forms authentication access to this folder you could add the following into your web.config file...

<location path="Members">
  <system.web>
  <authorization>
   <allow roles="Administrators,Forum+Members,Moderators,Awaiting+Activation" />
   <deny users="*" />
  </authorization>
  </system.web>
</location>


Any requests to /members will return a 200 for authenticated users or the server will return a 302 redirect if you don't belong to the roles. For example your the Google Bot. 

I hope this helps provide another option.

http://www.instantasp.co.uk/images/line.gif
Kindest Regards,

Ryan Healey



ryan@instantasp.co.uk
www.instantasp.co.uk
Blog | Community | Docs

http://www.instantasp.co.uk/core/assets/images/email/facebook.png http://www.instantasp.co.uk/core/assets/images/email/twitter.png http://www.instantasp.co.uk/core/assets/images/email/google.png http://www.instantasp.co.uk/core/assets/images/email/linkedin.png
GO

Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....







InstantASP Forums


Search