Search Engine Optimisation(SEO) in yii

hii all…

im new in yii…

how to set up SEO in yii…

im using zend and solr search option.but it not working fine…i dont know the codes where i put…

can you help me…?

i prefered sites are



where is i put these code

//To add or update an entry in your index





//To add or update many documents



                                    'age'=> 25),




//To search in your index

$result= Yii::app()->userSearch->get(‘name:tom’,0,20);

echo "Results number is ".$result->response->numFound;

foreach($result->response->docs as $doc){

echo "{$doc->name} <br>";


anyone can suggest…?