Google Meta Description Error
-
I am not including meta descriptions on my website. For some reason, Google is not displaying the standard number of characters in its extract, and it is ending the description with a period (.) instead of an ellipsis (…). Worse, it is cutting the word in half so it looks like I have bad grammar. I’m wondering if it is related to the following snippets of code from my header:
<meta charset="<?php bloginfo('charset');?>" />
…<meta name="description" content="<?php if(is_single()){echo $description;}else{bloginfo('description');}?>" /> <meta name="keywords" content="<?php if($SearchKey)echo $SearchKey;if(is_single())echo ', '.$keywords;?>" />Or if I should be looking somewhere else?
The topic ‘Google Meta Description Error’ is closed to new replies.