Sunday, July 17, 2011

Set Meta Tags (SEO Tags) in CakePHP

Set Meta Tags (SEO Tags) in CakePHP

Hello Friends,

In my previous post, i show you the way how to set Page Title Tag in CakePHP. But setting Meta keywords and Meta Description is not the same way as Meta Title. .Also Meta Keyword and Meta Description is important part of Search Engine Optimization. Refer to below syntax to set Meta tags in CakePHP.

Set Meta Tags in CakePHP

       echo $html->meta(‘keywords’,'enter any meta keyword here’);

Output <meta name=”keywords” content=”enter any meta keyword here”/>

       echo $html->meta(‘description’,'enter any meta description here’);

//Output <meta name=”description” content=”enter any meta description here”/>

Cheers !
Hope you got the Ans !
still having probs ? let me know by comments !

Know More About :
PHP Freelancing India



Post a Comment

Any Questions or Suggestions ?


Professional & Experienced Freelance Developer From India, Technologist, Software Engineer, internet marketer and Open Sources Developer with experience in Finance, Telecoms and the Media. Contact Me for freelancing projects.

Enter your email address:

Delivered by FeedBurner

PHP Freelancer India - Google+