View Full Version : vBadvanced CMPS - How to change the page title?
XYZ500
11-09-2014, 10:00 AM
I have installed vBadvanced CMPS and created a "html code" page to make it the homepage. The page title is showing to be "sitename.com" which looks ugly plus bad for SEO.
How to customize the page title?
For example, this site's homepage title looks like to be "vBulletin.org Forum - The official vBulletin resource". How can I edit this? Couldn't find such an option in vBadvanced CMPS settings.
See the image below to understand what I'm talking about:
https://vborg.vbsupport.ru/external/2014/11/34.png
vBadvanced CMPS do not offer official support for this product anymore and their forums are dead so can't get any help there either.
If you go to "Edit Pages" under the vbadvanced CMPS menu and edit your page, the page title is the first option.
XYZ500
11-09-2014, 10:14 AM
If you go to "Edit Pages" under the vbadvanced CMPS menu and edit your page, the page title is the first option.
That changes the page name/title in the list of the pages in CMS settings. It does not change what I have showed in the screenshot.
Hmm...sorry, I guess I don't remember enough about it.
XYZ500
11-09-2014, 10:39 AM
Hmm...sorry, I guess I don't remember enough about it.
Seems like you are right. That does change the page title as I want to. But its doing that for any additional pages I am creating. There is a default homepage there that cannot be deleted. The title is not changing on that one.
If I create a new page and try to make that the homepage, the URL becomes mysite.com/index.php?pageid=blahblah
Do you know how I can create a new page and give it the URL "mysite.com/index.php"?
I really don't remember, it's been a while since I did anything with vba. But I seem to remember that the installation instructions involved replacing or editing index.php, so maybe that had something to do with it. Come to think of it, I've only used vbadvanced with vb3 so it might be different with vb4.
I suppose you could edit the template to change the title to whatever you wanted. I believe it's adv_portal, under the vba CMPS group of templates.
XYZ500
11-09-2014, 01:19 PM
I really don't remember, it's been a while since I did anything with vba. But I seem to remember that the installation instructions involved replacing or editing index.php, so maybe that had something to do with it. Come to think of it, I've only used vbadvanced with vb3 so it might be different with vb4.
I suppose you could edit the template to change the title to whatever you wanted. I believe it's adv_portal, under the vba CMPS group of templates.
Here is the adv_portal template. Can you point out what to edit here?
{vb:stylevar htmldoctype}
<html dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" xmlns="http://www.w3.org/1999/xhtml">
<head>
{vb:raw headinclude}
<vb:if condition="$pages['name'] == 'home'">
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
</vb:if>
<title>{vb:raw vboptions.hometitle} <vb:if condition="$pagetitle">- {vb:raw pagetitle}</vb:if></title>
{vb:raw headinclude_bottom}
</head>
<body>
{vb:raw header}
{vb:raw navbar}
<vb:if condition="$show['customizepagelink']">
<div style="float: {vb:stylevar right}; padding-bottom: {vb:stylevar padding}">
<vb:if condition="$show['customizepage']">
[<a href="javascript: reset_cmps_layout({vb:raw pages.pageid})">{vb:rawphrase reset_layout}</a>]
[<a href="{vb:raw show.customizepagelink}">{vb:rawphrase exit_customization_mode}</a>]
<vb:else />
[<a href="{vb:raw show.customizepagelink}">{vb:rawphrase customize_this_page}</a>]
</vb:if>
</div>
</vb:if>
<table align="center" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<vb:if condition="$show['left_column']">
<td width="{vb:raw vba_style.portal_leftcolwidth}"<vb:if condition="$show['center_column'] OR $show['right_column']"> style="padding-{vb:stylevar right}: {vb:raw vba_style.portal_colspacing}px"</vb:if>>
{vb:raw home.leftblocks}
</td>
</vb:if>
<vb:if condition="$show['center_column']">
<td valign="top">
{vb:raw home.centerblocks}
</td>
</vb:if>
<vb:if condition="$show['right_column']">
<td valign="top" width="{vb:raw vba_style.portal_rightcolwidth}"<vb:if condition="$show['center_column'] OR $show['left_column']"> style="padding-{vb:stylevar left}: {vb:raw vba_style.portal_colspacing}px"</vb:if>>
{vb:raw home.rightblocks}
</td>
</vb:if>
</tr>
</table>
{vb:raw footer}
</body>
</html>
I guess you would edit the line with <title> ... </title>, and put whtaever you want between them.
XYZ500
11-09-2014, 01:51 PM
I guess you would edit the line with <title> ... </title>, and put whtaever you want between them.
This worked. Thanks very much.
Just one last question.
On the homepage, you can choose what modules you want to put there. One of the modules is "popular tags". I enabled it and it is displaying tags that it thinks are important maybe. Is there any way to edit and put tags there that I want?
I want to put my site's keywords there as my SEO agency suggests me that I should have my keywords on the home page.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.