vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Board Optimization - [SEO] Add Microdata Breadcrumbs (https://vborg.vbsupport.ru/showthread.php?t=277570)

tafreeh 01-25-2012 11:00 PM

[SEO] Add Microdata Breadcrumbs
 
1 Attachment(s)
Hello.
Before you find out what this mod does, you need to have some knowledge of Microdata.

Now its time to take advantage of this wonderful feature; and we will label our breadcrumbs to describe it's type to Google for better understanding and to presenting your site better in Google search result.

In order add microdata tags in our breadcrumb here is what we need to do:

(please take backup of your template before performing following steps)

Step 1:

Find and Replace everything in navbar_link template with the following code:
Code:

<vb:if condition="$show['breadcrumb']">
<div itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb">
    <li class="navbit"><a href="{vb:raw nav_url}" itemprop="url"><span itemprop="title">{vb:raw nav_title}</span></a></li>
</div>
<vb:else />
<div itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb">
    <li class="navbit lastnavbit"><span><span itemprop="title">{vb:raw nav_title}</span></span></li>
</div>
</vb:if>

Step 2:
Code:

Hit Save button !!
And That's it you are done. Now you just have to wait until Google show your website in search result like this:
https://vborg.vbsupport.ru/attachmen...1&d=1327559276

Also check following articles for better understanding:

http://support.google.com/webmasters...8472&ctx=topic
http://support.google.com/webmasters...8472&ctx=topic
http://support.google.com/webmasters...8472&ctx=topic


Thank You :)

evildon 01-26-2012 06:10 AM

That one is really cool.
Applied that to my forum.

Thos who need to check if the code is working or now, try using Google Webmaster Rich Snippets Testing Tool here - http://www.google.com/webmasters/tools/richsnippets

tafreeh 01-26-2012 08:58 PM

Thank you for that, but keep in mind that it takes some time to show expected result.
http://support.google.com/webmasters...493#enoughtime

temsamane 01-26-2012 09:00 PM

is this really increasing seo performance?

tafreeh 01-26-2012 09:08 PM

here is a good article that might answer your question:
http://kaidez.com/html5-seo-microdata/

OldSchoolDSL 01-26-2012 09:24 PM

Original 4.1.10 code

Code:

<vb:if condition="$show['breadcrumb']">
        <li class="navbit"><a href="{vb:raw nav_url}">{vb:raw nav_title}</a></li>
<vb:else />
        <li class="navbit lastnavbit"><span>{vb:raw nav_title}</span></li>
</vb:if>

Just making a note (public). Am installing this now and will compare the results

OldSchoolDSL 01-26-2012 09:29 PM

Upon 3rd review, not installing.

You'd really need to 1) Change the link to your own site 2) Have re-write rules for this (more so if you're using nginx)

dtv100 01-27-2012 02:01 AM

any chance to post code for vb 3.8 ?

tarzan22 01-27-2012 06:43 PM

ver

http://www.vbseo.com/f2/google-html5-microdata-51974/

tafreeh 01-28-2012 04:53 AM

ooo God.. Well, I m gonna leave it like that still... Maybe something magical happen.
Thanks for the info tho.. I did not pay attention about that.


All times are GMT. The time now is 02:03 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.01133 seconds
  • Memory Usage 1,738KB
  • 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_code_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