Support Forums

Description meta tag cut off after 50 characters

This is a discussion on Description meta tag cut off after 50 characters within the Site Marketing forums, part of the General category; I have just been checking how Google has been indexing my site and on viewing the source code of a ...


Go Back   68 Classifieds Forums > General > Site Marketing

Reply
 
Thread Tools Display Modes
Old 11-10-2009, 04:56 PM   #1
Customer
 
Join Date: Mar 2008
Location: ireland
Posts: 105
Rep Power: 17
markstanden is on a distinguished road
Default Description meta tag cut off after 50 characters

I have just been checking how Google has been indexing my site and on viewing the source code of a listing in firefox i see the meta tag content is cut off after 50 characters, i have checked quite a few listings and they are all the same.

<meta name="Description" content="When you create publications, you inevitably do..." />

Can anyone tell me where this is controlled from? 50 characters is not really enough for this meta tag

Cheers for any advice

Mark
__________________
v4.1.10 Developer
markstanden is offline   Reply With Quote
Old 11-11-2009, 10:20 AM   #2
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 135
Eric Barnes is just really nice Eric Barnes is just really nice
Default

By default the limit is set at 50 and is defined in viewlistings.php:
PHP Code:
$class_tpl->assign('sitedescription'dot(strip_tags($desc), 50)); 
Just change the 50 at the end to your new limit.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 11-11-2009, 10:52 AM   #3
Customer
 
Join Date: Mar 2008
Location: ireland
Posts: 105
Rep Power: 17
markstanden is on a distinguished road
Default

Thanks Eric,

worked a treat

Mark
__________________
v4.1.10 Developer
markstanden is offline   Reply With Quote
Old 01-09-2010, 06:11 AM   #4
Member
 
Join Date: Dec 2009
Posts: 53
Rep Power: 8
jonten123 is on a distinguished road
Default

Hello,

I could not find this line in viewlisting.php or viewlisting.tpl. Is it still 50 characters by default? Using 4.1.8 designer version..

Thanks!
jonten123 is offline   Reply With Quote
Old 01-09-2010, 06:23 AM   #5
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Default

Thats because you are using the designer version. Viewlisting.php is a core file where you have the source code. You have designer version so the file is encrypted. There is nothing to edit and you therefore cannot make this modification.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Meta Description on new pages gadgit7 Technical Support 11 10-02-2009 08:35 AM
Meta Description doesnt appear in page? sitewonders TemplateCodes 5 07-06-2009 12:38 PM
Change meta description for extra pages bowers01 Technical Support 6 10-27-2008 04:43 AM
Meta Description for Category Nudge Technical Support 2 03-02-2008 07:54 PM


All times are GMT -4. The time now is 08:12 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0