vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   removing thread title from meta keywords (https://vborg.vbsupport.ru/showthread.php?t=205395)

sparklywater 02-14-2009 11:10 PM

removing thread title from meta keywords
 
I have checked the keywords on my SHOWTHREAD pages and i noticed that it contains the title of the thread before listing the keywords. I want to remove the thread title from here, how can I do this?

Lynne 02-14-2009 11:21 PM

In the headinclude template, find this line and remove the threadinfo[title] from the line:

HTML Code:

<if condition="$show['threadinfo']">
<meta name="keywords" content="<if condition="$threadinfo['taglist']">$threadinfo[taglist], </if>$threadinfo[prefix_plain_html] $threadinfo[title], $vboptions[keywords]" />


sparklywater 02-14-2009 11:32 PM

I removed that from headinclude but the thread title still appears in the keywords list of the thread page.

This is what the top of my headinclude says:

Code:

<meta http-equiv="Content-Type" content="text/html; charset=$stylevar[charset]" />
<meta name="generator" content="vBulletin $vboptions[templateversion]" />
<!-- google_ad_section_start --><meta name="keywords" content="$vboptions[keywords]" /><meta name="description" content="$vboptions[description]" /><!-- google_ad_section_end -->

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

I just noticed that what is added to the keywords list is keywords relating to the thread title, not the whole thread title itself. But I don't want those extra keywords in there.

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

Maybe this is done by vBSEO, because I have that installed too.

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

yep, it was vBSEO, thanks for your help Lynne.


All times are GMT. The time now is 05:02 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.00925 seconds
  • Memory Usage 1,713KB
  • 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_code_printable
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete