vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Hiding a Forum from Google (https://vborg.vbsupport.ru/showthread.php?t=319502)

ShannonA 07-16-2015 07:08 PM

Hiding a Forum from Google
 
Is there a way to hide a single forum (e.g., our Infractions forum) from search engines through robots.txt?

Skyrider 07-16-2015 07:41 PM

If the section isn't accessible by guests, it shouldn't be searchable by google. I usually have such sections for administrators (and mods) only. Is the section public?

Also, if you wish to remove it: http://www.google.com/webmasters/

Register your site there, and add a removal request.

I don't use robots too often, once set up I'm leaving it as it is.. but you 'could' try:

Quote:

Disallow: /forums/xx

EDIT:

I just tested it out using google webmaster robots.txt tester, and by for example blocking:

Quote:

Disallow: /forums/32
with 32 being the section ID, I get a "blocked" message when I test the URL. Even when after the sectionID numbers show up, the section still gets blocked.

If you don't use the friendly URL and using the default of vBulletin, the disallow example would be:

Quote:

Disallow: /forum/forumdisplay.php?f=32
The problem however that with this block only that specific (or more sections, depending how you set it up) will not be on the google results. But I can't say the same thing with the existing threads in those sections you wish to block, as the sectionID's are not listed in the threads URL.

But as I suggested, sign up your domain in google webmaster, and you can do tons of testing (including robots tests) and URL removal requests, etc.

ShannonA 07-16-2015 08:22 PM

Quote:

Originally Posted by Skyrider (Post 2550386)
If the section isn't accessible by guests, it shouldn't be searchable by google. I usually have such sections for administrators (and mods) only. Is the section public?

Yes, so that banned posters can see the infraction even while banned.

Quote:

The problem however that with this block only that specific (or more sections, depending how you set it up) will not be on the google results. But I can't say the same thing with the existing threads in those sections you wish to block, as the sectionID's are not listed in the threads URL.
Yep, that was my suggestion & fear.

Thanks!


All times are GMT. The time now is 11:30 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01031 seconds
  • Memory Usage 1,718KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete