Dynamic page title

elvis's picture

Is there a way to make the page title tag dynamic, I would like to have the front page with title like 'shirts, watches, jeans, sunglasses for women and men', but when on product page it would say 'product group - product title - product itemcode' instead.

I know that I can have them both like 'shirts, watches, jeans, sunglasses for women and men - product group - product title - product itemcode' and the variables will not displayed on the front page but it will be too long and the SEO people advise against it.

Perhaps a javascript would do?


Add something like this in

This part you already know:
1) Add something like this in the main page between the head-tags:

< title > Your static info, page name etc. - $page_name$ $group_name$ $product_itemcode$ < /title >

If group and product names are empty, the title shows only page name etc. The only static part in our title is the shop name which is shown last (for Google, because it ranks a page higher if the word used in the search can be found in the beginning of the title). On the product pages we also show the product price (also for Google, because the title of the page is shown on the search results). More usable variables you'll find from the wosbee manual.

2) Then if you want the main page to be shown different, use this in the beginning of the front page code:

< script type="text/javascript" >
document.title = "You may add the title you wish in here.";
< /scrip t>

This is something I believe google can't read at the moment as is doesn't run the javascripts, but it's better than nothing. See how it works on our page www.lumingerie.fi. I hope this helps you.
---
Mervi / Lumingerie - online lingerie shop for big boobed women - alusasuverkkokauppa kurvikkaille naisille

and you will fail...

Hi! I just needed to point some issues when you do something like this. Also, I'd really like to see some upgrades on this too. I tried many different ways to go around with this thing, but I can't find any ways to do it. If you use above style to generate dynamic titles your organic listing in search engines will have a link text like "Your Site Name -" and no...Javascript doesn't change that. Wosbee doesn't give you anyways to go around this.

I made some testings on the most critical point what I need and find most important. You can make dynamic titles and descriptions to you product pages. You can use $product_open_field1$ on your title and add the separation char there like:
" - Product name". Note that $product_name$ variable doesn't work there....you have to hand write it.

You can use the same tactic to create meta-descriptions and/or keywords. Put this line to your Open Field 2:

Use | as < or > as required!

| meta name="description" content="Your description..." /|
| meta name="keyword" content="Your your keywords..." /|

Then, you need to edit the source code in the admin side Visual > Themes > Structure > FrameFree:

Find this:

|title|Your site name|/title|

and change it to this:

|title|Your site name$product_open_field1$|/title|
$product_open_field2$

If you want to separate your meta info to different lines your can use more open fields to manage them.

Now, why in earth someone would put this much effort to make something so simple to work? Why is it so important to have a good and clean site title? Here are some points for that:

1. Title is one of the most important factors in SEO. It really can drop you out from the list.
2. It's easy-added value to your site.
3. It's the first thing your potential new visitor from Google will see about your page. If you have a though competition...many shops around...and your title is "Your Site Title -". Doesn't that look a bit amateur? This is business and everything has to look good and work even better.

A title is something what describes what your PAGE is about. Primary domain tells what the whole SITE is about. If every page has a same name as the site have...no one knows what's the page is about.

Bottom line...when this bug will be upgraded to something much more easy to handle? There should be away to set unique meta-tags and titles to every page without using this kind of hack...I found that adding a custom title for my category pages more or less impossible. For custom pages...I didn't even try.

Max 80 characters

As most SEO people tell, the title should not exceed 80 characters. What I need to do this is to display some default title if no group or product is selected, and once you select a group or product page, the title will be replaced by group or product name, not just added to the default title. This way the title will never go over 80 chars.

Re: Max 80 characters

Max 80? I don't know about that. Google shows only 65 or so. There are lots of rumors around every SEO factor, I'm sure, but I'd do something like the big names are doing like, Brad Fallon on myweddingfavors.com

I agree with replacing your title on any given page, but the problem is...for now there is no way to do that. I hope there would...many of my problems would be solved in blink of an eye.

I found out

You were right, it is exactly 65. It is not a major problem if there is bit more than 65 though - Google just won't show more than that. I measured it and counted all the characters, from 66th there will be 3 dots.

But if there is LOT more it will be considered as spam.