Is there a way to block Google from searching some of the forums on my site?
Announcement
Collapse
No announcement yet.
Making Forums Unsearchable by Google
Collapse
X
-
Originally posted by Andy View PostCreate a file called robots.txt and place it in your forum directory, or one level below your forum folder if there is one. Put the following in robots.txt file.
User-agent: Googlebot
Disallow: /
Cort, what you do is make the forum non-viewable by Guests (i.e., only logged in members can view the specified forums). There is more than one way to do this but the simplest is:
- Go to Admin CP | Forums and Moderators | Forum Permissions
- Scroll down to the forums you don't want indexed and click on Edit next to Unregistered / Not Logged In
- Set permissions to All No
- Save
Comment
-
-
Originally posted by Andy View PostCreate a file called robots.txt and place it in your forum directory, or one level below your forum folder if there is one. Put the following in robots.txt file.
User-agent: Googlebot
Disallow: /
Disallow: / put the names of forums that I want to target? For instance I would want to target the 'Community Lounge' and "Introduce Yourself' forums that are embedded in the 'Community' section.
Would I put
Disallow: /"Community Lounge" " Introduce Yourself" or
Disallow:/ "Community/Community Lounge" or ???
Comment
-
Browse to your Community Lounge forum and note the forumnid number. If the "f=number" is 5 then you would put the following in your robots.txt file:
/forumdisplay.php?f=5
The one problem is that if someone were you link a thread or post in this forum, Google can follow that threads and index it. So the only real way of keeping Google from indexing those forums is to make the forum private and only allow members to view it.
Comment
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Comment