View Single Post
  #7  
Old 04-19-2006, 04:29 PM
  BCSE's Avatar 
BCSE BCSE is offline
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,091
 

Default Re: META Description and META Keyword Character Limitations

Quote:
Originally Posted by nft
Hi All,
I have tested the the Meta Description and Meta Keyword mod, however the mod does not give an option for the character limitation for the Meta Description and Meta Keywords.

From my experience, I would consider the following character limitations in meta tags:

META Description: 80 Characters

META Keywords: 60 Characters

The most likely use of excessive characters would come from the META Description as these can be quite long.

Does anyone know of a way the META characters that are generated with this mod can be limited?

Any advice is appreciated.

James

With the static meta tags, we did not add the auto truncation because it's up to your discression what you put in the fields.

You can always add that after a variable, like this:

Code:
<meta name="description" content="{$page_data.metadescr|truncate:150}">

Hope that helps.

Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote