• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Admin

Well-Known Member
Staff member
Administrator
Share anh em code này dùng để lấy tiêu đề Topic làm Tags search Google. Rất hay và giúp tăng seo.

Đầu tiên vào Messages in forum. Ở ô3 ta thêm code sau
Code:
<div name="tags">Tag: ::THEME_NAME:: ::THEME_NAME:: ::THEME_NAME:: ::THEME_NAME::tuoitreit.vn

Sau đó ở site Bottom for forum post code sau, Trích để coppy:
Code:
<script language="javascript">var tag=document.getElementsByName("tags"); for(var i=0;i<tag.length;i++){ var oldtext=document.getElementsByName("tags")[i].innerHTML; var newtext=oldtext.replace(/(^|[\n ])([\w]+?:\/\/[^ ,\"\n\r\t<]*)/ig,"$1$2"); newtext=newtext.replace(/Tag: (.+?) (.+?) (.+?) (.+?) (.+?) (.+?) (.+?) (.+?) (.+?) (.+?)tuoitreit.vn/ig,'Tags: <a href="http://google.com/search?sitesearch=tuoitreit.vn&q=$1">$1</a>, <a href="http://google.com/search?sitesearch=tuoitreit.vn&q=$2">$2</a>, <a href="http://google.com/search?sitesearch=tuoitreit.vn&q=$3">$3</a>, <a href="http://google.com/search?sitesearch=tuoitreit.vn&q=$4">$4</a>, <a href="http://google.com/search?sitesearch=tuoitreit.vn&q=$5">$5</a>, <a href="http://google.com.vn/search?sitesearch=tuoitreit.vn&q=$6">$6</a>, <a href="http://google.com.vn/search?sitesearch=tuoitreit.vn&q=$7">$7</a>, <a href="http://google.com.vn/search?sitesearch=tuoitreit.vn&q=$8">$8</a>, <a href="http://google.com.vn/search?sitesearch=tuoitreit.vn&q=$9">$9</a><font style="display:none">$10</font>'); document.getElementsByName("tags")[i].innerHTML=newtext; }</script>
 
Hỏi hay quá.
Có sao không.không sửa để nó sang đây rồi.
 

Facebook Comments

New posts New threads New resources

Back
Top