ติดต่อลงโฆษณา [email protected]

แสดงกระทู้

ส่วนนี้จะช่วยให้คุณสามารถดูกระทู้ทั้งหมดสมาชิกนี้ โปรดทราบว่าคุณสามารถเห็นเฉพาะกระทู้ในพื้นที่ที่คุณเข้าถึงในขณะนี้


ข้อความ - Womaninbox

หน้า: [1]
1
Graphics and Templates / การตั้งค่า robots
« เมื่อ: 21/12/09, 10:35:57 »
โค้ดข้างล่างมาจากบอร์ดที่ทำอยู่ค่ะ ตรง robots (สีแดง) ตอนนี้เป็น  noindex
อ่านเจอว่า ควรจะตั้ง robots เป็น index,follow  ถ้างั้นเราควรจะเปลี่ยนไม๊ค่ะ ถ้าเปลี่ยน ตรงสีน้ำเงิน ต้องเปลี่ยนด้วยไม๊ค่ะ

// The main sub template above the content.
function template_main_above()
{
   global $context, $settings, $options, $scripturl, $txt, $modSettings;

   // Show right to left and the character set for ease of translating.
   echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"', $context['right_to_left'] ? ' dir="rtl"' : '', '><head>
   <meta http-equiv="Content-Type" content="text/html; charset=', $context['character_set'], '" />
   <meta name="description" content="', $context['page_title'], '" />', empty($context['robot_no_index']) ? '' : '
   <meta name="robots" content="noindex" />', '

ช่วยตอบให้หายข้องใจหน่อยค่ะ

2
ปกติสถิติการใช้งานบอร์ด จะมีสถิติให้ดูรายวัน โชว์กระทู้ใหม่ ตอบกระทู้ใหม่ สมาชิกใหม่ คนออนไลน์มากสุด และเพจวิว
แต่ถ้าเราอยากเพิ่มจำนวน visitors เข้าไปด้วย (ไม่อยากติด stat อื่นเพิ่มค่ะ) ทำได้ไม๊ค่ะ ต้องใส่โค้ดอะไรเพิ่มตรงไหนค่ะ

หน้า: [1]