vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Blog entries meta description & Google indexing problem (https://vborg.vbsupport.ru/showthread.php?t=244911)

Micronichos 06-19-2010 06:20 PM

Blog entries meta description & Google indexing problem
 
Hello, I have a problem with the blog entries meta description, they have only the title of the post and title of the blog and don't have for example the first 50 characters from the blog entry.

The result is duplicate content and Google not indexing all blog entries from my users, it's really a problem for me since my users posts ads and I need most visibilty from crawlers.

How can I add the first 50 chars from the blog entry to meta description of that blog entry?

Thank you in advance.

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

In headinclude I add blog.message variable but nothing is added to description, do you know what is the problem?

<meta name="description" content="{vb:raw vboptions.description} {vb:raw blog.message}" />

gives the same result as:

<meta name="description" content="{vb:raw vboptions.description} " />

ChopSuey 06-20-2010 02:04 PM

HTML Code:

<meta name="description" content="{vb:raw vboptions.description} " />
Because that's in there, just blog.message should be there.

Micronichos 06-20-2010 02:10 PM

Thanks for the reply but it doesn't work, blog.message seems empty:

<meta name="description" content="{vb:raw vboptions.description} {vb:raw blog.message}" />

gives the same result as:

<meta name="description" content="{vb:raw vboptions.description}" />

I'm running vBulletin 4.0.4

ChopSuey 06-20-2010 02:37 PM

Revert your headinclude template.

Micronichos 06-20-2010 02:47 PM

I have reverted it, changed vboptions.description to blog.message and it results in a meta description with no content. Anyway I have not made any other changes to templates.

Maybe a 4.0.4 bug ?

ChopSuey 06-20-2010 02:49 PM

Nope it should be fine with the default template.

Micronichos 06-20-2010 02:59 PM

I'm using the default template and it doesn't work.

ChopSuey 06-20-2010 03:35 PM

Check vB.com ask over there.

Micronichos 06-20-2010 08:50 PM

From vBulletin official support: Its not a bug, its likely that variable is not available where you're trying to use it.

Any alternative to buy vBseo? I prefer to not install third-party programs to something as simple as that :S

ChopSuey 06-21-2010 10:16 AM

Default template should work fine! Takes a few days to get indexed doesn't it? How can you check so quickly?


All times are GMT. The time now is 09:00 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.01131 seconds
  • Memory Usage 1,727KB
  • 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_html_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