Forums / Setup & design / Search Engine Optimisation - more efficient use of the title tag

Search Engine Optimisation - more efficient use of the title tag

Author Message

steve walker

Wednesday 09 June 2004 8:24:05 am

Hi there,

This is more a discussion request than a support one.

Good Search Engine Optimisation is heavily influenced by good marrying of the <title> keywords with the keywords in the body. Its always recommended you change the title tage dependent on the page it referes to. So, for instance, when a user goes to your product page selling 'icecream', 'icecream' is referred to in the title tag, and greatly improves the chances of that product page doing well in Search Engines for users searching on this term.

I'm not trying to teach anyone to suck eggs here - but an extension or module that allows the title tag to be specified when necessary on a per class basis is required.

Would it not be easy to have two components that make up the page title, the existing one, and a second more specific one? So that the overall title is 'my webshop etc' which comes from the global configuration, and then a second more specific '- tastey icecreams' - with this being lifted from the product class...

So the header info in the page has to take information that is derived from the main content of the page.

Is this possible, and has anyone else been wondering about this?

Regards, Steve.

http://www.oneworldmarket.co.uk

Ekkehard Dörre

Wednesday 09 June 2004 11:55:32 am

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

steve walker

Thursday 10 June 2004 12:04:34 am

Ekke,

Many thanks for the code.

Kind regards, Steve.

http://www.oneworldmarket.co.uk

Paul Forsyth

Thursday 10 June 2004 12:52:04 am

I have a few problems maintaining a good title. Most of it stems from the fact that a node is not always available and getting a title is difficult.

I filed this bug a while back describing the problem:

http://ez.no/community/bug_reports/always_have_a_valid_node_object_available

I have to perform some checks and put in code accordingly, eg:

{let my_node=0}

{section show=is_set($DesignKeys:used.node)}
  {set my_node=fetch(content, node, hash(node_id, $DesignKeys:used.node))}
{/section}

<title>VisionWT
{switch match=$module_result.uri}
  {case match='/user/register'}
- Register new user
  {/case}
  {case match='/user/login'}
- Login user
  {/case}
  {case match='/user/forgotpassword'}
- Forgot Password
  {/case}
  {case match='/shop/confirmorder'}
- Confirm Order
  {/case}
  {case}
    {section show=is_set($search_text)}
- Search Results
    {section-else}
      {section show=ne($my_node, 0)}
- {$my_node.name}
      {/section}

    {/section}
  {/case}
{/switch}
</title>
{/let}

It isn't ideal because you have to add more cases to cover every bit of ez publish that doesnt have a node. Though, in my haste i may have overlooked something. Are there better alternatives?

paul

--
http://www.visionwt.com

Ekkehard Dörre

Wednesday 23 June 2004 2:58:48 pm

... for Meta Description tag look at:
http://ez.no/community/forum/developer/meta_description_tag

Greetings, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing