![]() |
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
|
All times are GMT. The time now is 10:37 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|