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

ผู้เขียน หัวข้อ: การตั้งค่า robots  (อ่าน 10907 ครั้ง)

0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้

ออฟไลน์ Womaninbox

  • New Member
  • *
  • กระทู้: 2
    • ดูรายละเอียด
การตั้งค่า 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" />', '

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

ออฟไลน์ PierceWelsh

  • New Member
  • *
  • กระทู้: 37
    • ดูรายละเอียด
Re: การตั้งค่า robots
« ตอบ #1 เมื่อ: 12/11/21, 23:02:38 »
Very impressive, To start my feedback i would like to congratulate  your team for giving us this source of knowledge and we are freely to connect with you too. Please have a sweet day by reading  this, 모바일바카라 플레이