vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Hide content from SE (https://vborg.vbsupport.ru/showthread.php?t=315800)

v123shine 12-03-2014 04:59 PM

Hide content from SE
 
I'm using this code to hide content from SE but real user (from browser like firefox, chrome, opera) can view the content.

PHP Code:

<vb:if condition="!$show['search_engine']"
hide from spider search engine.
</
vb:if> 

When I try search engine still can view the content.

Can someone help me, please!

Thanks

Max Taxable 12-03-2014 05:09 PM

Trying to hide threads? There's a Mod for that:

https://vborg.vbsupport.ru/showthread.php?t=269201

v123shine 12-03-2014 06:15 PM

Thank you very much "Max Taxable" but I don't need that mod.

Can someone help me, please!

Max Taxable 12-03-2014 06:16 PM

What exactly are you trying to hide? Single posts, threads? Whole forums?

Once something is already indexed and cached, it stays in searches for quite awhile after you hide it.

You can use a 'robots.txt' file to tell the search engine bots not to index, but only the legitimate bots will pay any attention to it.

If you want to outright ban spiders, the code you're using won't do it. There's a mod for that too.

Ban Spiders by User Agent.

Zachery 12-03-2014 07:21 PM

This is also known as content cloaking, and in some cases can get you blacklisted from google/etc completely.

v123shine 12-05-2014 12:42 PM

Thanks Max Taxable but I don't need that mod.

What going on why I can't using this code? Can someone help me, please!

PHP Code:

<vb:if condition="!$show['search_engine']"
hide from spider search engine.
</
vb:if> 


cellarius 12-05-2014 02:08 PM

How do you determine that it does not work?

v123shine 12-05-2014 11:22 PM

That very simple, I create bots view page to check it.

Quote:

Originally Posted by cellarius (Post 2525856)
How do you determine that it does not work?


ozzy47 12-05-2014 11:40 PM

How is it you are creating bots?

v123shine 12-07-2014 01:43 AM

Dear Ozzy47,

Can you help me, please!


All times are GMT. The time now is 09:39 PM.

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.01240 seconds
  • Memory Usage 1,735KB
  • 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
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete