Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /home1/arqadmin/public_html/jadudev.net/includes/common.inc).

Getting better seo friendly title tags

jwheat's picture

I'm curious if anyone else is having this issue with their implementation.


In our installation,  the title tag is populated with the two bits of content - the page title and METADATA_GENERIC_NAME which equates to "Messiah College", and these pieces are assembled with a pipe character in between.

Clearly this sucks for SEO, because if you want to get SEO friendly title tag text, you'll end up entering that all in the page title, and it'll end up rendering in the header section of your page, which is most of the time not ideal.

I wanted to toss out three possibilities and get opinions. One of which I've built here, one I was thinking of building and one I thought of as I was writing this.

Custom Title Tag Module
The first is my custom title tag module.  This is crudely a giant list of home pages with text boxes and a save button next to each, allowing a custom title tag to be entered for any home page.  This is pretty klunky, but gets the job done.  Clearly you have to edit home-info.html.php (v1.12.x) and pull that value from the database to display it.  This gives you 100% control over what is displayed in the title tag and lets you enter something completely unrelated as the page title.  This is not an ideal solution, but worked well when we needed it last year.

CMS Hack - Custom Title Tag box
The second solution would be to modify the core cms code and add a title tag box on the page properties, allowing the content manager to enter that as they create the page.  This seems much better than my custom module because its all in one place, and manageable by the content's editor.  This modification would not be supported (or recommended) by Jadu and would have to be reapplied after each upgrade because it would be hacking core code.

Meta Description Usage
The third option I thought of as I was writing this and looking at the page properties screen, is to use the meta description in the title tag, which seems to maybe solve our issue.

The issue we're having is that we would like a short page title to be rendered at the top of the page, yet have nice SEO friendly text in the title tag.  An very simple example of this may be something like our about page.  In this example we may want "In the Beginning..." displayed in the header of the page, and may want "About Messiah College, Mission, Beginnings and History" for the title tag.

Right now, if we want that long text in the title tag, it would all have to go in the page title, and it would word wrap and look terrible.  If I used the meta description in the title tag in conjunction with the page title, we could break that up and put "In the Beginning..." in the page title, and "About Messiah College, Mission, Beginnings and History" in the meta description.  That will place 

"In the Beginning... About Messiah College, Mission, Beginnings and History" as the page title, which seems pretty SEO friendly.

How have you dealt with title tags with your implementation?
-Jon

General Concept: 
Jadu Product: 
Jadu Version: