Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-19-2010, 06:20 PM
Micronichos Micronichos is offline
 
Join Date: Jun 2010
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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} " />
Reply With Quote
  #2  
Old 06-20-2010, 02:04 PM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

HTML Code:
<meta name="description" content="{vb:raw vboptions.description} " />
Because that's in there, just blog.message should be there.
Reply With Quote
  #3  
Old 06-20-2010, 02:10 PM
Micronichos Micronichos is offline
 
Join Date: Jun 2010
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 06-20-2010, 02:37 PM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Revert your headinclude template.
Reply With Quote
  #5  
Old 06-20-2010, 02:47 PM
Micronichos Micronichos is offline
 
Join Date: Jun 2010
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ?
Reply With Quote
  #6  
Old 06-20-2010, 02:49 PM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope it should be fine with the default template.
Reply With Quote
  #7  
Old 06-20-2010, 02:59 PM
Micronichos Micronichos is offline
 
Join Date: Jun 2010
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm using the default template and it doesn't work.
Reply With Quote
  #8  
Old 06-20-2010, 03:35 PM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check vB.com ask over there.
Reply With Quote
  #9  
Old 06-20-2010, 08:50 PM
Micronichos Micronichos is offline
 
Join Date: Jun 2010
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #10  
Old 06-21-2010, 10:16 AM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:32 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
  • Page Generation 0.04258 seconds
  • Memory Usage 2,244KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete