PDA

View Full Version : Displaying Meta Description


skatters
07-27-2004, 05:48 AM
Hi All,

I followed the directions in another post about how to turn on using the meta description in search results vs. a text snippet. by changing the following:

define('DISPLAY_SNIPPETS',false);
define('DISPLAY_SUMMARY',true);

Although after making this change and recrawling the site the text that shows up under the search result is not the meta description, but the title or the first line of the rendered page.

Anyone encountered this before and if so how did you fix it?

Thanks in advance.

Jay

vinyl-junkie
07-27-2004, 06:03 AM
I've never had that happen. Can you post the link to your search page, and a link to a page where this is happening?

skatters
07-27-2004, 06:17 AM
http://beta.absorbentprinting.com/search/search.php

and search for coasters, for an example.

vinyl-junkie
07-27-2004, 06:39 AM
This is just a wild guess, but start your <title></title> line at the left margin underneath the <head> line. If that doesn't do anything for you, try putting a blank line in between the <title></title> line and your meta description. You won't have to re-index or anything to see if this works.

skatters
07-27-2004, 10:35 AM
Tried that and it didn't work, plus I'm getting all those empty results that show just -- and a relevance.

Any ideas on those?

Jay

Charter
07-27-2004, 12:03 PM
version 1.8.1+ config file...

define('APPEND_TITLE_META',true);

skatters
07-28-2004, 04:49 AM
Charter,

Thanks, that worked a charm but it didn't seem to get rid of the empty results showing just -- and a relevance. Any way to get these displaying properly? or getting rid of them?

Thanks

Charter
07-28-2004, 04:16 PM
Hi. If the empty results came after sticking in blank lines, then try removing the blank lines. Otherwise, if that doesn't work, it may be that things got out of sync, perhaps due to deleting directly from the database instead of the admin panel, so if this is the case, you'll need to figure out where the inconsistency lies in order to correct it.