vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   no index no follow meta tag for printable version (https://vborg.vbsupport.ru/showthread.php?t=230528)

neetusn 12-19-2009 08:17 AM

no index no follow meta tag for printable version
 
I want to put no index no follow meta tag in printable version page to tell robots not to index the content of a page,

Vaupell 12-19-2009 08:20 AM

http://www.javascriptkit.com/howto/robots.shtml

EDIT : blonde moment there.. /doh

--------------- Added [DATE]1261218154[/DATE] at [TIME]1261218154[/TIME] ---------------

My mistake ur meaning the <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
??

sry.. /embarased

--------------- Added [DATE]1261218645[/DATE] at [TIME]1261218645[/TIME] ---------------

after searching the forums here and there..
seems noone have come up with a valid solution for this at the moment.. :D

derfelix 12-20-2009 03:23 AM

well i did that for a mod.. on the edit page for an image.. maybe that can help or point you in the direction you want..
First on the link that sends you to that page add: rel="nofollow" .
Code:

<a href="xxx" rel="nofollow">YYYY</a>
Theoretically that would be enough.. google and others will respect it when crawling your pages..
BUT it still can be indexed if some stupid people link to that page from their site, or even if someone does a google search from the google toolbar when having that page open.. (it will then be indexed as referrer - I think - not sure)

So you can do following.. in the template of that page, add the noindex code after the head tag and before the headinclude

Code:

<head>
<meta name="robots" content="noindex, nofollow" />
{vb:raw headinclude}



F.

neetusn 12-21-2009 04:18 AM

thank u very much its working fine with my local machine as i checked it in view source later i will do it for server ...


All times are GMT. The time now is 10:01 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.01072 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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