![]() |
That seemed to do the trick.
Verified and proven. Thanks given ramesh_umk3 ! |
Since it is now displaying properly, I started to analyze the links themselves.
my example of how the microdata is displaying for me.... w ww.xxxxxx.com › ... › Main Category › Forum 1 - The main url is not hyperlinked 2 - the category link points to ht tp://www.xxxxxx.com/threads/forums/forum name 3 - the forum link points to ht tp://www.xxxxxx.com/threads/forums/forum name (spaces added in urls to prevent auto-linking here) Note the latter two are just completely incorrect as the "/threads" should not be in there at all in order to be a correct link on my site. Clicked on vB just returns "no thread specified" error. Note that my real breadcrumb links on my website are correct, in that the phrase "/threads" is not in the url. So somewhere between my site, and google, it is picking up and adding that phrase to the url. Any help would be severely appreciated. edit to add - I am testing a change with my root url hard coded into line 3 h ttp://www.xxx.com/{vb:raw nav_url} as I noticed in my page source example the urls do not contain the root domain in them, and I suspect that this is where the extra text is being injected into the microdata url, as the root url would be domain.com/thread in reference to where the breadcrumb exists to google. The change does reflect full url properly in my source now. This may fix problem 1,2, and 3 together. I will report back when I can see a change on google, good or bad. |
OK, yup,... I am an idiot. lol
1 - I decided I was smart and changed the http://data-vocabulary.org references to use my domain url. Wrong, dont do it, leave it as is, it works and is not just someone elses domain. 2 - a href="{vb:raw nav_url}" does not work as described, the microdata url only appends the actual page spidered url to the url also in the address bar. IE: your threads and catagory links will look like this in microdata,... /threads/thread.... /forum/forums.... Dead 404's, not good. instead use this,... href="{vb:raw vboptions.bburl}/{vb:raw nav_url}" To make this mod work out of the box, use this code replacement which requires no editing to work on your forum no matter the url or sub directory location... Code:
<vb:if condition="$show['breadcrumb']"> Includes any necessary changes needed through this thread. |
Quote:
|
John,... you can test it out here and now using this tool if you dont want to wait.
http://www.google.com/webmasters/tools/richsnippets Just enter the url to one of your threads. |
I have just validated actual google results are correct with my modified version works as desired.
Now I just have to wait for the other thousands of other links of mine on google to get corrected from the original code attempt. |
Yup using smirkley's modified code brings excellent results :cool:
|
I am just surprised this mod isnt being used more.
It works, period. (modified of course) Yes I think people should bring their forums back in to the 21st century in the eyes of google. (etc) |
Just installed this. Using the richsnippets it seems to be working.
|
just installed now waits until google update my listing
|
does it work on 4.2.1?
|
Never tried it on 4.2.1, dont see why it wouldnt.
NOTE: I just noticed that if you are using Sections in CMS in the Suite, that the url isnt constructed properly. I just used a vb:if/else statement and removed the bburl from vbcms entries. |
Quote:
|
i changed it about 3-4 days ago but it doesn't seem to work:
https://www.google.com/search?q=site...l=np&source=hp |
You'll have to wait a lot longer than 4 days for it to update on google.
|
I make this change, I hope the results...
|
you can check your results instantly mate, just place thread url and hit preview
http://www.google.com/webmasters/tools/richsnippets |
just installed on 4.2.1 and it is working.
utilizing microdata will pull more traffic! |
1 Attachment(s)
Quote:
but showing some error in http://validator.w3.org/ will you plz correct it |
gonna read later
|
Quote:
|
Any idea for stars in serps with vbulletin?
|
Quote:
https://vborg.vbsupport.ru/showpost....5&postcount=40 Quote:
Example link Here |
I think for 3.8 it will be
Code:
<if condition="$show['breadcrumb']"> |
This works great with @Smirkley's code. Many thanks!
|
I tried it on my vb4, but it didn't work even with the test tool by google. I guess we need a fix for this. Thanks
|
does this work in vB 4.2?
|
Quote:
For reference, the original code that belongs in -> Navbar_Link is as follows (in case anyone needs to revert back) - for vB4.2.2 pl.1 Code:
<vb:if condition="$show['breadcrumb']"> |
Quote:
|
its already provided in my previous comments any how below is the code
Code:
<vb:if condition="$show['breadcrumb']"> |
Quote:
[IMG]http://i.imgur.com/tUXihWM.png[/IMG] |
Nope due to some reason they are not showing up when links are indexed
|
Just in case that someone wants to use lower breadcrumb (mod made by Lynne), this would cause problem with this template modification, as there would be two breadcrumbs and thus double information.
So I hide lower breadcrumb from guests (and Google and other search engines). All members can see and benefit from lower breadcrumb and they use site more actively. Anyway, if someone want to use this two together, here's the link to modified Lynne's mod: https://vborg.vbsupport.ru/showpost....&postcount=234 |
smirkley's code works like charm! Thanks so much mate :)
|
Someone can make smirkley's code working with vb 3.8 ?
Thank You |
Quote:
we want it working with vb 3.8 |
modules available for vb 3.8.x
|
Not sure if one of my plugins/mods is screwing this up but when I use either the OP's code or the code that was suggested in this post
Using either code I get an error in google markup validator: https://vborg.vbsupport.ru/external/2016/05/17.png Obviously this is because the last breadcrumb is not a link. Not wanting any scary google errors I just shortened up navbar_link to make each breadcrumb a link and now no more errors. Code:
<div itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb"> |
or you can use my code which is still working fine with latest google updates ..
https://vborg.vbsupport.ru/showpost....1&postcount=70 Tested on google structured data analysis with 0 errors :) https://vborg.vbsupport.ru/external/2016/07/2.png |
Quote:
https://vborg.vbsupport.ru/external/2016/07/3.png |
All times are GMT. The time now is 10:25 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|