It is an old old post, yes, but it just helped me.
Here is the snippet I used and placed in the header title tag to stop Google warning me about duplicate title tags.
(and a similar one in the description meta tag)
I'm using Articles 1.6.8
<?php
$month = array(
'01'=>'Jan',
'02'=>'Feb',
'03'=>'Mar',
'04'=>'Apr',
'05'=>'May',
'06'=>'Jun',
'07'=>'Jul',
'08'=>'Aug',
'09'=>'Sep',
'10'=>'Oct',
'11'=>'Nov',
'12'=>'Dec',
);
$o='';
if($m = $_GET['arc_month']){
$month = $month[$m];
$y = $_GET['arc_year']?$_GET['arc_year']:'';
$o = '- '.$month.' '.$y.' ';
}
else if($_GET['tag']){
$tag = $_GET['tag']?$_GET['tag']:'';
$tag = str_replace('+',' ', $tag);
$o = '- '.$tag.' ';
}
else if($_GET['arc_author']){
$author = $_GET['arc_author']?$_GET['arc_author']:'';
$author = str_replace('%20',' ', $author);
$o = '- '.$author.' ';
}
return $o;
Mike
[ed. note: thingstodo last edited this post 10 years, 8 months ago.]