loulou ange
11-01-2013, بتوقيت غرينيتش 10:10 PM
مثل ما انا عارفين المحتوى المكرر وسلبية على قوة الرابط في محرك البحث Search Engine المشكله لقيتها في احصائية المنتدى forum وفي قوالب الموضوع threadbit
شكل الرابط قبل التعديل
http://www.ssdaa.com/vb/showthread.p...newpost&t=6424 (http://www.ssdaa.com/vb/showthread.php?goto=newpost&t=6424)
شكله بعد التعديل
http://www.ssdaa.com/vb/showthread.php?t=6424
نبدى الشرح طريقة بسم الله =
نسجل دخولنا للوحة تحكم المنتدى forum بعدها نختار الاستايل style الرئيسي = تعديل القوالب .
بعدها نضغط على قوالب الموضوع ومنها نختار قالب template threadbit
نبحث عن =
رمز PHP:
<code style="white-space:nowrap"> <code> <if condition="$show['gotonewpost']"><a href="showthread.php?$session[sessionurl]goto=newpost&t= $thread[threadid]" id="thread_gotonew_$thread[realthreadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[go_to_first_new_post]" border="0" /></a></if>
</code> </code>
نستبدله بالتالي =
رمز PHP:
<code style="white-space:nowrap"> <code> <if condition="$show['gotonewpost']"><a href="showthread.php?$session[sessionurl]t=$thread[threa did]" id="thread_gotonew_$thread[realthreadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[go_to_first_new_post]" border="0" /></a></if>
</code> </code>
نحفظ التعديل ونفتح تمبلت forumhome_lastpostby
نبحث عن =
رمز PHP:
<code style="white-space:nowrap"> <code> <a href="showthread.php?$session[sessionurl]goto=newpost&t= $lastpostinfo[lastthreadid]" title="<phrase 1="$lastpostinfo[lastthread]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><strong>$lastpostinfo[trimthread]</strong></a>
</code> </code>
نعدله الى =
رمز PHP:
<code style="white-space:nowrap"> <code> <a href="showthread.php?$session[sessionurl]t=$lastpostinfo [lastthreadid]" title="<phrase 1="$lastpostinfo[lastthread]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><strong>$lastpostinfo[trimthread]</strong></a>
</code> </code>
نحفظ التعديل ونبحث عن قالب template topXstats_thread_bit
نبحث عن =
رمز PHP:
<code style="white-space:nowrap"> <code> <td nowrap="nowrap"><div class="smallfont"><if condition="$getstats_thread[newpost]">$newpostprefix<else />$oldpostprefix</if> <a href="showthread.php?$session[sessionurl]goto=newpost&t= $getstats_thread[threadid]"
</code> </code>
نستبدله بالتالي =
رمز PHP:
<code style="white-space:nowrap"> <code> <td nowrap="nowrap"><div class="smallfont"><if condition="$getstats_thread[newpost]">$newpostprefix<else />$oldpostprefix</if> <a href="showthread.php?$session[sessionurl]t=$getstats_thr ead[threadid]"
</code> </code>
وهذا مهم جدا واعطينا محركات البحث رابط موحد للموضوع ومنها يكسب ثقة محركات البحث بالابتعاد عن تكرار المحتوى الدليل تجدونه في المرفقات
المصدر
تعديل روابط احصائية ورئيسية المنتدى forum goto=newpost (http://www.ssdaa.com/vb/showthread.php?t=6434)
ابن غياث
الصور المصغرة المرفقة http://www.traidnt.net/vb/attachments/310789d1225376004t-duplicate.jpg (http://www.traidnt.net/vb/attachments/310789d1225376004-duplicate.jpg)
https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-ash4/482113_236967293114455_1193518507_n.png (http://www.dzbatna.com)
©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى (http://www.dzbatna.com)©
شكل الرابط قبل التعديل
http://www.ssdaa.com/vb/showthread.p...newpost&t=6424 (http://www.ssdaa.com/vb/showthread.php?goto=newpost&t=6424)
شكله بعد التعديل
http://www.ssdaa.com/vb/showthread.php?t=6424
نبدى الشرح طريقة بسم الله =
نسجل دخولنا للوحة تحكم المنتدى forum بعدها نختار الاستايل style الرئيسي = تعديل القوالب .
بعدها نضغط على قوالب الموضوع ومنها نختار قالب template threadbit
نبحث عن =
رمز PHP:
<code style="white-space:nowrap"> <code> <if condition="$show['gotonewpost']"><a href="showthread.php?$session[sessionurl]goto=newpost&t= $thread[threadid]" id="thread_gotonew_$thread[realthreadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[go_to_first_new_post]" border="0" /></a></if>
</code> </code>
نستبدله بالتالي =
رمز PHP:
<code style="white-space:nowrap"> <code> <if condition="$show['gotonewpost']"><a href="showthread.php?$session[sessionurl]t=$thread[threa did]" id="thread_gotonew_$thread[realthreadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[go_to_first_new_post]" border="0" /></a></if>
</code> </code>
نحفظ التعديل ونفتح تمبلت forumhome_lastpostby
نبحث عن =
رمز PHP:
<code style="white-space:nowrap"> <code> <a href="showthread.php?$session[sessionurl]goto=newpost&t= $lastpostinfo[lastthreadid]" title="<phrase 1="$lastpostinfo[lastthread]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><strong>$lastpostinfo[trimthread]</strong></a>
</code> </code>
نعدله الى =
رمز PHP:
<code style="white-space:nowrap"> <code> <a href="showthread.php?$session[sessionurl]t=$lastpostinfo [lastthreadid]" title="<phrase 1="$lastpostinfo[lastthread]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><strong>$lastpostinfo[trimthread]</strong></a>
</code> </code>
نحفظ التعديل ونبحث عن قالب template topXstats_thread_bit
نبحث عن =
رمز PHP:
<code style="white-space:nowrap"> <code> <td nowrap="nowrap"><div class="smallfont"><if condition="$getstats_thread[newpost]">$newpostprefix<else />$oldpostprefix</if> <a href="showthread.php?$session[sessionurl]goto=newpost&t= $getstats_thread[threadid]"
</code> </code>
نستبدله بالتالي =
رمز PHP:
<code style="white-space:nowrap"> <code> <td nowrap="nowrap"><div class="smallfont"><if condition="$getstats_thread[newpost]">$newpostprefix<else />$oldpostprefix</if> <a href="showthread.php?$session[sessionurl]t=$getstats_thr ead[threadid]"
</code> </code>
وهذا مهم جدا واعطينا محركات البحث رابط موحد للموضوع ومنها يكسب ثقة محركات البحث بالابتعاد عن تكرار المحتوى الدليل تجدونه في المرفقات
المصدر
تعديل روابط احصائية ورئيسية المنتدى forum goto=newpost (http://www.ssdaa.com/vb/showthread.php?t=6434)
ابن غياث
الصور المصغرة المرفقة http://www.traidnt.net/vb/attachments/310789d1225376004t-duplicate.jpg (http://www.traidnt.net/vb/attachments/310789d1225376004-duplicate.jpg)
https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-ash4/482113_236967293114455_1193518507_n.png (http://www.dzbatna.com)
©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى (http://www.dzbatna.com)©