The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
SEO vBulletin without VBSEO - template edits
I'm trying to edit my templates in vB 4.1.7 to imporve SEO.
A guide I'm following states to remove: Code:
<if condition="$show['threadinfo']"> <meta name="keywords" content="$threadinfo[title], $vboptions[keywords]" /> <meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$threadinfo[title] $foruminfo[title_clean]" /> <else /> <if condition="$show['foruminfo']"> <meta name="keywords" content="$foruminfo[title_clean], $vboptions[keywords]" /> <meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$foruminfo[description_clean]" /> <else /> <meta name="keywords" content="$vboptions[keywords]" /> <meta name="description" content="$vboptions[description]" /> </if> </if> In vB 4.1.7 I removed: Code:
<vb:if condition="$show['threadinfo']"> <vb:elseif condition="$show['foruminfo']" /> <meta name="keywords" content="{vb:raw foruminfo.title_clean}, {vb:raw vboptions.keywords}" /> <meta name="description" content="<vb:if condition="$pagenumber > 1">{vb:rawphrase page_x, {vb:raw pagenumber}}-</vb:if>{vb:raw foruminfo.description_clean}" /> <vb:else /> <meta name="keywords" content="{vb:raw vboptions.keywords}" /> <meta name="description" content="{vb:raw vboptions.description}" /> </vb:if> ------------------------------------- Next it states to look for: Code:
$headinclude <title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title> Code:
<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title> <meta name="keywords" content="$vboptions[keywords]" /> <meta name="description" content="$vboptions[description]" /> $headinclude Code:
{vb:raw headinclude} <title>{vb:raw vboptions.bbtitle}</title> Code:
{vb:raw headinclude} <title>{vb:raw vboptions.bbtitle}</title> <meta name="keywords" content="$vboptions[keywords]" /> <meta name="description" content="$vboptions[description]" /> ------------------------------------- In "forumdisplay" template, it says find: Code:
$headinclude <title>$foruminfo[title_clean]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if> - $vboptions[bbtitle]</title> Code:
<title>$foruminfo[title_clean]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if> - $vboptions[bbtitle]</title> <meta name="keywords" content="$foruminfo[title] $vboptions[keywords]" /> <meta name="description" content="$foruminfo[description] $foruminfo[title]" /> $headinclude However, in vB 4.1.7 I see: Code:
{vb:raw headinclude} <title>{vb:raw foruminfo.title_clean}<vb:if condition="$pagenumber > 1"> - {vb:rawphrase page_x, {vb:raw pagenumber}}</vb:if></title> Code:
{vb:raw headinclude} <title>{vb:raw foruminfo.title_clean}<vb:if condition="$pagenumber > 1"> - {vb:rawphrase page_x, {vb:raw pagenumber}}</vb:if></title> <meta name="keywords" content="$foruminfo[title] $vboptions[keywords]" /> <meta name="description" content="$foruminfo[description] $foruminfo[title]" /> ------------------------------------- Next, in "showthread" template, you find: Code:
$headinclude <title>$thread[title]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if> - $vboptions[bbtitle]</title> Code:
<title>$thread[title]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if> - $foruminfo[title]</title> <meta name="description" content="$thread[title] is discussed *title of your forum* - $foruminfo[title]" /> <meta name="keywords" content="$thread[title] $vboptions[keywords]" /> $headinclude You are also adding the keywords that you placed in vBulletin Options, as well as the thread title which is also in the keywords now. However, in vB 4.1.7 I see: Code:
{vb:raw headinclude} <vb:if condition="$threadinfo['keywords']"><meta name="keywords" content="{vb:raw threadinfo.keywords}" /></vb:if> <meta name="description" content="{vb:raw thread.meta_description}" /> <title>{vb:raw thread.prefix_plain_html} {vb:raw thread.title}<vb:if condition="$pagenumber > '1'"> - {vb:rawphrase page_x, {vb:raw pagenumber}}</vb:if></title> ------------------------------------- Lastly, you find "memberinfo" template and change: Code:
$headinclude <title>$vboptions[bbtitle] - $vbphrase[view_profile]: $userinfo[username]</title Code:
<title>$userinfo[username]'s profile on $vboptions[bbtitle]</title> <meta name="keywords" content="$vboptions[keywords]" /> <meta name="description" content="$vboptions[description]" /> $headinclude Code:
{vb:raw headinclude} <title>{vb:rawphrase view_profile}: {vb:raw prepared.username} - {vb:raw vboptions.bbtitle}</title> Code:
{vb:raw headinclude} <title>{vb:rawphrase view_profile}: {vb:raw prepared.username} - {vb:raw vboptions.bbtitle}</title> <meta name="keywords" content="$vboptions[keywords]" /> <meta name="description" content="$vboptions[description]" /> ------------------------------------- Thanks for all your help. I want to know if the edits I made to the vB 4.1.7 templates will function as intended and if any of these edits are redundant now in vB4 please let me know which ones and why. Best Regards, -Marc |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|