vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   [Solved] Disable pages from google's cache (https://vborg.vbsupport.ru/showthread.php?t=319981)

Stratis 08-23-2015 04:06 PM

[Solved] Disable pages from google's cache
 
1 Attachment(s)
Hi! please some help for disabling my pages to be cached by google.

Attachment 153182
As you see in image example the little arrow that when pressed we see cached pages.

I don't know if this little code is correct?
this
HTML Code:

<meta name="bingbot" content="noarchive">
or this
HTML Code:

<meta name="GOOGLEBOT" content="NOARCHIVE, NOODP, NOYDIR">
And where to put this? header or else.

Any help will be appreciated, thanks.

Seven Skins 08-23-2015 04:34 PM

I think you can just use "robots" instead of bingbot etc ...

You can put that in headinclude or headinclude_bottom template.

Stratis 08-23-2015 04:50 PM

Thank you very much for you reply, I have made reading about robots, did not find something to insert there.
Maybe i can, but don't know what?

If i put code in headinclude, can I just put code at the top or it must be somewhere
so it takes care for <head>?

Sorry not well at all with coding :)

Seven Skins 08-23-2015 04:52 PM

You can put it anywhere. It will be inserted within <head> tag.
I usually put it at the bottom as it make it easy for me to update the templates at a later date.

Stratis 08-23-2015 05:07 PM

Very helpful with your answers, i appreciate this.
I will wait if some one has tested or using the above code and than proceed testing.

:) Thank you.


EDIT:
Ok i proceed for testing, if any one else want this.

I put code in headinclude template and missing slash in code /
HTML Code:

<meta name="GOOGLEBOT" content="NOARCHIVE, NOODP, NOYDIR" />
Works fine, no cache page.
Thanks


All times are GMT. The time now is 01:33 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.00998 seconds
  • Memory Usage 1,716KB
  • 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
  • (3)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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