Posted By

techstroke on 05/04/11


Tagged

php Yii


Versions (?)

Change Page Title and Meta Tags for SEO in Yii


 / Published in: PHP
 

URL: http://www.yiiframework.com/forum/index.php?/topic/6542-how-to-change-title-and-meta-tags-dynamically/

  1. public function actionMyAction()
  2. {
  3. $this->pageTitle = 'New Title';
  4.  
  5. Yii::app()->clientScript->registerMetaTag('foo, bar', 'keywords');
  6. }

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: Wilbour07 on December 11, 2018

In order to reach your potential audience you need to market the brand in the right way. I believe that SEO is a greatest way to achieve right audience. I am going to hire the seo consulting Los Angeles service for my brand’s improved online presence and hoping to have good results.

You need to login to post a comment.