[eluser]bob rock[/eluser]
[quote author="TWP Marketing" date="1342391991"]It's not completely clear what you are asking for. Actual SEO is somewhat outside the spec of this forum. If you want to know how to code your meta data, using CI and PHP, that is a relatively simple task.
In your example, you show a var named $title, which I assume holds the meta title string. I use this format in the html head section:
Code:
...
echo "<META name='title' content='".$meta_title."' />"."\n";
...
Similar code works for any type of meta tag, however the actual content of the php var depends on the website content. For that, I suggest doing the proverbial search on "SEO" and looking for techniques and advice on how to optimize. The amount of available information is huge. You can also look for forums whose specific purpose is SEO discussion
Hope this helps, but feel free to ask again if I misinterpret your question[/quote]
Hi, many thanks for your reply. My purpose is to customize Title and Meta Tag for every page. I do this for SEO. I'm poor in skills in php and it's the first time I have seen CI.
If I've well understood I should try with your code
Code:
echo "<META name='title' content='".$meta_title."' />"."\n";
where should I put my title here before?
And for the meta tag "content" should i use this code?
Code:
echo "<META name='content' content='".$meta_content."' />"."\n";
Where should I inserted here the content?
I'm sorry if these are very basic questions. Thanks and ciao. Roberto