vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Spider Conditional? (https://vborg.vbsupport.ru/showthread.php?t=119094)

tgillespie 06-20-2006 12:34 AM

Spider Conditional?
 
Just curious if anyone has ever looked into making a search engine spider conditional? I have certain aspects on my web site, such as text links and buttons that I would rather not let spiders visit. With vBulletin's engine, would it be possible to create a conditional that sorted spiders by hostmask or IP? For example:

<if conditional="host8.google.com"><else />My Friends Site</if>

Not looking for someone to make it, just checking if its possible. Most logical condition would be based on hostmask or ip range.

If done, I think it could greatly help the ability to better SEO your forums.

amykhar 06-20-2006 12:09 PM

I'll do it today if I have time. I can use code from my spider's hack to set it up.

Amy

xStylezx 06-20-2006 12:36 PM

Id be interested in knowing how to do this in vbulletin myself

amykhar 06-20-2006 12:45 PM

A word of warning - I'm releasing this for 3.6 because that's what I'm running and that's what I can test on. I suspect, however, that the 3.6 version will work on 3.5 as well.

tgreer 06-20-2006 02:25 PM

No plugin or special coding is required. All of this can be accomplished via a standard "robots.txt" file. A simple web search should reveal all you need to know about this standard technique. Also, I believe there is a thread already on vbulletin.com which lists some of the standard pages within vbulletin that spiders should not try to access.

amykhar 06-20-2006 02:27 PM

Tgreer, you are correct. I misunderstood his post to read that he had certain portions of his individial pages that he wanted to exclude from spiders.

tgreer 06-20-2006 02:31 PM

Just out of curiosity, then... wouldn't excluding certain portions of pages from spiders be considered "spoofing", and negatively affect SERPS?

amykhar 06-20-2006 02:40 PM

Probably. But, it would have been a fun academic exercise to code :D

tgreer 06-20-2006 03:01 PM

No doubt, but the original poster was wanting it for SEO purposes. I don't know for certain, but I'm pretty sure that hiding certain sections of pages from a search engine would have a negative impact on SEO.

But then again, since the conditional would be implemented in PHP, I'm not sure how a search engine would KNOW...

tgillespie 06-20-2006 05:14 PM

Quote:

Originally Posted by tgreer
No doubt, but the original poster was wanting it for SEO purposes. I don't know for certain, but I'm pretty sure that hiding certain sections of pages from a search engine would have a negative impact on SEO.

But then again, since the conditional would be implemented in PHP, I'm not sure how a search engine would KNOW...

I'm pretty sure it wouldn't hurt SERPS because the HTML is just never rendered and the spider wouldn't know. The same technique is used in vBSEO's signature hide hack which disables signatures for guests which also disables it for spiders. Used properly, a conditional like this would greatly benifit boards/sites.

amykhar, I would really appreciate it. 3.6 is fine as I am sure it will most likely be backwards compatible, if not, I'm sure I could manage.

Well seeing as it might be possible, I guess I'll start a mods request thread.


All times are GMT. The time now is 12:50 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.02244 seconds
  • Memory Usage 1,725KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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