[SOLVED] Article Title different from Meta Title - possible ?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
scanreg
Forum Members
Forum Members
Posts: 19
Joined: Sun Nov 04, 2007 2:24 pm

[SOLVED] Article Title different from Meta Title - possible ?

Post by scanreg »

I'd like to customize the meta title different from the article title sometimes

Article titles that are displayed in the browser I'd want to be kinda brief but the meta title I'd like to make a bit longer with more seo content.

Is this possible?

I see the

Code: Select all

<title>{sitename} - {title}</title>
tag in the default templates but that only takes the original article title

Instead, would be great if:

Article Title: Fred goes to the moon
Meta Title: Fred goes to the moon to fetch a pail of water.....and a few moon rocks

The article title above would display well on in the browser and the meta title would provide more seo content and specificity.

If I missed this feature my apology

Thanks  :)
Last edited by scanreg on Sun Feb 15, 2009 3:09 pm, edited 1 time in total.
JohnnyB
Dev Team Member
Dev Team Member
Posts: 731
Joined: Tue Nov 21, 2006 5:05 pm
Location: OH, USA

Re: Article Title different from Meta Title - possible ?

Post by JohnnyB »

What I do is add the below block of code in the meta data of the Site Admin, Page Defaults page:

Code: Select all

<title>{title} - {sitename}</title>
<meta name="description" content="" />
<meta name="keywords" content="" />
<meta name="robots" content="all" />
I do not include the title tag directly in the templates. And when new pages are created, the above is available in the metadata section of the page under the Options tab. This way the title can be customized for each page easily or left alone to use the default setting.

For existing pages, that block of code will have to be inserted manually.
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
scanreg
Forum Members
Forum Members
Posts: 19
Joined: Sun Nov 04, 2007 2:24 pm

Re: Article Title different from Meta Title - possible ?

Post by scanreg »

Yep, works okay

I'll have to re-create the old content but glad there is a solution

Thanks so much  :)
Post Reply

Return to “CMSMS Core”