Tags Link on Blogsome Template to Get a Better SEO (Search Engine Optimization)
Sometimes to get a better SEO (search engine optimization), i usually put tags link manually on my post to maximalize keyword. But, i’m happy now because i was try to make smarty code on my post.html template and work like charm :D. When i write post like this : () ((cats)), ((dogs)), ((rabbit)). it is automatically replace to be : Tags : cats, dogs, rabbit.
- On your dashboard, go to manage >> files. And then choose post.html template.
- Find {the_content} or {the_content more_link_text=”(Read more)”} then replace with smarty code like this :
{capture name=tags}{the_content more_link_text="(Read more)"}{/capture}
{capture name=tags_link}{permalink_link}{/capture}
{capture name=tags_title}{the_title}{/capture}
{assign var=tagslink value=$smarty.capture.tags_link}
{assign var=tagstitle value=$smarty.capture.tags_title}
{assign var=tagslink_tagstitle value='<a href="'|cat:$tagslink|cat:'" title="'|cat:$tagstitle|cat:'">'}
{assign var=the_content_tags1 value=$smarty.capture.tags|replace:'()':'Tags :'}
{assign var=the_content_tags2 value=$the_content_tags1|replace:'((':$tagslink_tagstitle}
{assign var=the_content_tags3 value=$the_content_tags2|replace:'))':'</a>'}
{$the_content_tags3}
- After you create your post, don’t forget before you publish you can make automatically tags link by add some keywords on your post like this : () ((some keyword1)), ((some keyword2)), ((some keyword3)) etc.
Enjoy it :)
# Sebagian pengunjung datang ke halaman blog ini melalui kata kunci : SEO tutorial, best wordpress SEO, search engine optimization, free blogsome templates, smarty blogsome tutorial.









hoi hoi zawa.. keren ya blog mu… hihihihi.. mantab!!! duh.. anak2 sekarang kok pinter2 yah…
Comment by hoi hoi | 20 January 2009 | 2:21 pm
Comment by ayunda | 20 January 2009 | 2:30 pm
Thanks for your tips.
Comment by RRJ | 10 November 2009 | 6:06 am