[教學] 如何讓你的網站在搜尋引擎上找到
版主: 版主管理群
............
yahoo呢?
香港yahoo怎麼樣-.-
哈哈._.
那就是說只要加新的rboot list(其他修改function都做好了), 這樣子就可以不用交申請書給yahoo說我想加進去搜尋系統裡面吧?
香港yahoo怎麼樣-.-
哈哈._.
那就是說只要加新的rboot list(其他修改function都做好了), 這樣子就可以不用交申請書給yahoo說我想加進去搜尋系統裡面吧?
目前本人帳號嚴重地被盜用!MSN已經被盜!
想問個問題並不打擾, 但沒有發文格式, 其他人不能知道你的情況!
請尊守竹貓各區裡的發文格式, 謝謝合作!
[必看]請配合發問格式及明確主題發問(04 02/16更新) phpBB!
所有新手必看的
[教學]認識、安裝和參考PHPBB的新手基本教學通
PS:感謝各位大大的幫助和教導^^
Q168.net空間技術交流
個人小品(Blog) │My phpBB-Blog │免費空間討論區
...........................................................................................Mac 寫:使用 Frame 的站長們,需要注意,搜尋引擎的自動排版機器人(Indexing Robots)並不喜歡使用 Frame 的網站。因此,要增加網站被找到的機率,請務必使用 META TAG 和 NOFRAME 在你的 Frame 首頁中。
以下是個簡單的例子:INDEX - 把網站和找到的網頁加入搜尋引擎代碼: 選擇全部
<html> <head> <title>網站名稱</title> <meta http-equiv="Content-Type" content="text/html; charset=big5"> <meta name="description" CONTENT="簡單的網站描述"> ?#93;255 字元內即可) <meta name="keywords" CONTENT="關鍵字或詞彙"> ?#93;255 字元內即可) <meta name="copyright" content="Copyright 年份 網站版權所有人"> ?#93;不一定要?#91;入) <meta name="author" content="網站作者"> ?#93;不一定要?#91;入) <meta name="email" content="作者信箱"> ?#93;不一定要?#91;入) <meta name="Robots" content="INDEX,FOLLOW"> ?#93;不一定要?#91;入,INDEX / NOINDEX 和 FOLLOW / NOFOLLOW) <meta name="Revisit-after" content="機器人在幾天後再次進入"> ?#93;不一定要?#91;入) </head> <frameset framespacing="0" border="0" frameborder="0"> <noframes> <body> <H1>給看不到 Frame 的人或機器人看的標題</H1> <P>給看不到 Frame 的人或機器人看的內容一 <P>給看不到 Frame 的人或機器人看的內容二 ... 以此類推,不需給太多的內容,避免使用 TABLE 和 IMG <P>給看不到 Frame 的機器人看的連結,如果使用 FOLLOW,記器人可以使用以下連結繼續瀏覽和排版 <br><a href="網站內的網頁一">名稱一</a> <br><a href="網站內的網頁二">名稱二</a> ... 以此類推,不需給太多的連結 <P>You are viewing this page because your browser is incapable of displaying frames. Please update your browser to see our site as it should be viewed. </body> </noframes> <frame name="mainframe" src="真正需要瀏覽的網頁"></frameset> </html>
NOINDEX - 不要把網站和找到的網頁加入搜尋引擎
FOLLOW - 繼續進入 noframes 中提到的連結
NOFOLLOW - 不要繼續進入 noframes 中提到的連結
站長們可以用 http://www.submitexpress.com/analyzer/
鍵入網站位置和隨便選一種 Robot,便可以檢查首頁是否 Robot-Friendly
文章轉貼請附上本人的名字和網站
~Mac
我是新人請多指教!!!我已照全文改了搜尋重點.......
麻煩各位大大辛苦一下,我想改上篇這些內容,但是我實在找不到那是哪篇文件可不可以麻煩告訴我它的路徑,謝謝^^(就是首頁時檢視原始碼會看到的網站說明要如何更改ㄚ)
●我的架設主機作業系統:windows xp
●我的上網方式:東森
●我安裝的程式:Apache + php + MySql
●我的 phpBB2 版本:phpBB-2.0.17
●我的 風格:Macinscott2
●我的 phpBB2 連結網址: 慈善藝術園區
http://www.charity-art.club.tw/
●我的上網方式:東森
●我安裝的程式:Apache + php + MySql
●我的 phpBB2 版本:phpBB-2.0.17
●我的 風格:Macinscott2
●我的 phpBB2 連結網址: 慈善藝術園區
http://www.charity-art.club.tw/
不好意思,在層層蜘蛛網中翻出這篇一直沒得到回應的文章,可是這些自己研究後還是實在不太敢改,我將我的 (overall_header.tpl) 貼上,可否請路過懂得的善心先進指導一下觀念好嗎,謝謝您了!!!週末狂飆 寫:...........................................................................................Mac 寫:使用 Frame 的站長們,需要注意,搜尋引擎的自動排版機器人(Indexing Robots)並不喜歡使用 Frame 的網站。因此,要增加網站被找到的機率,請務必使用 META TAG 和 NOFRAME 在你的 Frame 首頁中。
以下是個簡單的例子:INDEX - 把網站和找到的網頁加入搜尋引擎代碼: 選擇全部
<html> <head> <title>網站名稱</title> <meta http-equiv="Content-Type" content="text/html; charset=big5"> <meta name="description" CONTENT="簡單的網站描述"> ?#93;255 字元內即可) <meta name="keywords" CONTENT="關鍵字或詞彙"> ?#93;255 字元內即可) <meta name="copyright" content="Copyright 年份 網站版權所有人"> ?#93;不一定要?#91;入) <meta name="author" content="網站作者"> ?#93;不一定要?#91;入) <meta name="email" content="作者信箱"> ?#93;不一定要?#91;入) <meta name="Robots" content="INDEX,FOLLOW"> ?#93;不一定要?#91;入,INDEX / NOINDEX 和 FOLLOW / NOFOLLOW) <meta name="Revisit-after" content="機器人在幾天後再次進入"> ?#93;不一定要?#91;入) </head> <frameset framespacing="0" border="0" frameborder="0"> <noframes> <body> <H1>給看不到 Frame 的人或機器人看的標題</H1> <P>給看不到 Frame 的人或機器人看的內容一 <P>給看不到 Frame 的人或機器人看的內容二 ... 以此類推,不需給太多的內容,避免使用 TABLE 和 IMG <P>給看不到 Frame 的機器人看的連結,如果使用 FOLLOW,記器人可以使用以下連結繼續瀏覽和排版 <br><a href="網站內的網頁一">名稱一</a> <br><a href="網站內的網頁二">名稱二</a> ... 以此類推,不需給太多的連結 <P>You are viewing this page because your browser is incapable of displaying frames. Please update your browser to see our site as it should be viewed. </body> </noframes> <frame name="mainframe" src="真正需要瀏覽的網頁"></frameset> </html>
NOINDEX - 不要把網站和找到的網頁加入搜尋引擎
FOLLOW - 繼續進入 noframes 中提到的連結
NOFOLLOW - 不要繼續進入 noframes 中提到的連結
站長們可以用 http://www.submitexpress.com/analyzer/
鍵入網站位置和隨便選一種 Robot,便可以檢查首頁是否 Robot-Friendly
文章轉貼請附上本人的名字和網站
~Mac
我是新人請多指教!!!我已照全文改了搜尋重點.......
麻煩各位大大辛苦一下,我想改上篇這些內容,但是我實在找不到那是哪篇文件可不可以麻煩告訴我它的路徑,謝謝^^(就是首頁時檢視原始碼會看到的網站說明要如何更改ㄚ)
代碼: 選擇全部
<!DOCTYPE HTML PUBLIC "-//W3C//Dtd HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="templates/Macinscott2/{T_HEAD_STYLESHEET}" type="text/css">
<style type="text/css">
</style>
<!-- start mod : Resize Posted Images Based on Max Width -->
<script type="text/javascript">
//<![CDATA[
<!--
var rmw_max_width = 400; // you can change this number, this is the max width in pixels for posted images
var rmw_border_1 = '1px solid {T_BODY_LINK}';
var rmw_border_2 = '2px dotted {T_BODY_LINK}';
var rmw_image_title = '{L_RMW_IMAGE_TITLE}';
//-->
//]]>
</script>
<script type="text/javascript" src="{U_RMW_JSLIB}"></script>
<!-- fin mod : Resize Posted Images Based on Max Width -->
<STYLE>
<!--
Rainbow Text- By Chris Rickard (chris.rickard@paccoast.com)
-->
.rainbow{ behavior:url(rainbow.htc) }
</STYLE>
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
if ( {PRIVATE_MESSAGE_NEW_FLAG} )
{
window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'height=225,resizable=yes,width=400');;
}
//-->
</script>
<!-- END switch_enable_pm_popup -->
<!-- BEGIN force_read_announcement -->
<script language="Javascript" type="text/javascript">
<!--
if (window.confirm('公佈欄有新的公告,請按確定閱讀最新公告。\n\n本視窗將會持續跳出直到您閱讀完最新公告為止。'))
{
window.location = '{U_FORCE_READ_ANNOUNCEMENT}';
}
//-->
</script>
<!-- END force_read_announcement -->
<!-- BEGIN switch_auto_refresh_on -->
<noscript>
<meta http-equiv="refresh" content="{REFRESH_TIME}">
</noscript>
<script language="JavaScript">
<!--
setTimeout('location.href = location.href',1000*{REFRESH_TIME});
//-->
</script>
<!-- END switch_auto_refresh_on -->
</head>
<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0">
<div align="center">
<a name="top"></a>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="508"><a href="{U_INDEX}"><img src="templates/Macinscott2/images/Macinscott2_logo.jpg" width=508 height=125 alt="Back to the index page" border="0"></a></td>
<td background="templates/Macinscott2/images/Macinscott2_logo_bkgd.jpg"> </td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="24" align="center" valign="middle" background="templates/Macinscott2/images/Macinscott2_nav_bkgd.gif"> <span class="mainmenu"> <a href="{U_FAQ}" class="mainmenu">{L_FAQ}</a></span><span class="mainmenu"> <a href="{U_SEARCH}" class="mainmenu">{L_SEARCH}</a> <a href="{U_MEMBERLIST}" class="mainmenu">{L_MEMBERLIST}</a> <a href="{U_GROUP_CP}" class="mainmenu">{L_USERGROUPS}</a>
<!-- BEGIN switch_user_logged_out -->
<a href="{U_REGISTER}" class="mainmenu">{L_REGISTER}</a></span>
<!-- END switch_user_logged_out -->
<span class="mainmenu"> <a href="{U_PROFILE}" class="mainmenu">{L_PROFILE}</a> <a href="{U_PRIVATEMSGS}" class="mainmenu">{PRIVATE_MESSAGE_INFO}</a> <a href="{U_LOGIN_LOGOUT}" class="mainmenu">{L_LOGIN_LOGOUT}</a> </span></td>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left" valign="top" background="templates/Macinscott2/images/Macinscott2_nav_shadow.jpg"><img src="templates/Macinscott2/images/Macinscott2_nav_shadow.jpg" width="1" height="15"></td>
</tr>
</table>
●我的架設主機作業系統:windows xp
●我的上網方式:東森
●我安裝的程式:Apache + php + MySql
●我的 phpBB2 版本:phpBB-2.0.17
●我的 風格:Macinscott2
●我的 phpBB2 連結網址: 慈善藝術園區
http://www.charity-art.club.tw/
●我的上網方式:東森
●我安裝的程式:Apache + php + MySql
●我的 phpBB2 版本:phpBB-2.0.17
●我的 風格:Macinscott2
●我的 phpBB2 連結網址: 慈善藝術園區
http://www.charity-art.club.tw/
-
- 星球普通子民
- 文章: 13
- 註冊時間: 2006-05-16 15:46
- 來自: 桃園
- 聯繫:
"使用 Frame 的站長們,需要注意,搜尋引擎的自動排版機器人(Indexing Robots)並不喜歡使用 Frame 的網站。因此,要增加網站被找到的機率,請務必使用 META TAG 和 NOFRAME 在你的 Frame 首頁中。"週末狂飆 寫:...........................................................................................Mac 寫:使用 Frame 的站長們,需要注意,搜尋引擎的自動排版機器人(Indexing Robots)並不喜歡使用 Frame 的網站。因此,要增加網站被找到的機率,請務必使用 META TAG 和 NOFRAME 在你的 Frame 首頁中。
以下是個簡單的例子:INDEX - 把網站和找到的網頁加入搜尋引擎代碼: 選擇全部
<html> <head> <title>網站名稱</title> <meta http-equiv="Content-Type" content="text/html; charset=big5"> <meta name="description" CONTENT="簡單的網站描述"> ?#93;255 字元內即可) <meta name="keywords" CONTENT="關鍵字或詞彙"> ?#93;255 字元內即可) <meta name="copyright" content="Copyright 年份 網站版權所有人"> ?#93;不一定要?#91;入) <meta name="author" content="網站作者"> ?#93;不一定要?#91;入) <meta name="email" content="作者信箱"> ?#93;不一定要?#91;入) <meta name="Robots" content="INDEX,FOLLOW"> ?#93;不一定要?#91;入,INDEX / NOINDEX 和 FOLLOW / NOFOLLOW) <meta name="Revisit-after" content="機器人在幾天後再次進入"> ?#93;不一定要?#91;入) </head> <frameset framespacing="0" border="0" frameborder="0"> <noframes> <body> <H1>給看不到 Frame 的人或機器人看的標題</H1> <P>給看不到 Frame 的人或機器人看的內容一 <P>給看不到 Frame 的人或機器人看的內容二 ... 以此類推,不需給太多的內容,避免使用 TABLE 和 IMG <P>給看不到 Frame 的機器人看的連結,如果使用 FOLLOW,記器人可以使用以下連結繼續瀏覽和排版 <br><a href="網站內的網頁一">名稱一</a> <br><a href="網站內的網頁二">名稱二</a> ... 以此類推,不需給太多的連結 <P>You are viewing this page because your browser is incapable of displaying frames. Please update your browser to see our site as it should be viewed. </body> </noframes> <frame name="mainframe" src="真正需要瀏覽的網頁"></frameset> </html>
NOINDEX - 不要把網站和找到的網頁加入搜尋引擎
FOLLOW - 繼續進入 noframes 中提到的連結
NOFOLLOW - 不要繼續進入 noframes 中提到的連結
站長們可以用 http://www.submitexpress.com/analyzer/
鍵入網站位置和隨便選一種 Robot,便可以檢查首頁是否 Robot-Friendly
文章轉貼請附上本人的名字和網站
~Mac
我是新人請多指教!!!我已照全文改了搜尋重點.......
麻煩各位大大辛苦一下,我想改上篇這些內容,但是我實在找不到那是哪篇文件可不可以麻煩告訴我它的路徑,謝謝^^(就是首頁時檢視原始碼會看到的網站說明要如何更改ㄚ)
原PO 已經講得很清楚了! 上面那段是針對使用 FRAME 的站長! 發問的您好像不清楚啥是 Frame ?
1.如果你沒用frame --> 你的首頁應該是index.php --> 那就不用改這段了..改其他那幾支.php 就好
2.如果你有用frame --> 你的首頁"可能"是 index.html(或其他你自己寫的網頁), 那你可以參考我的改法:
代碼: 選擇全部
<HTML>
<HEAD>
<TITLE>幻甲空間 NailSpace 論壇 -- 美甲人的專屬園地</TITLE>
<META http-equiv="Content-Type" content="text/html; charset=big5">
<meta name="description" CONTENT="幻甲空間 NailSpace 論壇 -- 美甲人的專屬園地">
<meta name="keywords" CONTENT="美甲,論壇,彩繪,指甲,沙龍,手足,保養">
<meta name="Robots" content="INDEX,FOLLOW">
</HEAD>
<FRAMESET rows="*,25" framespacing="0" border="0" frameborder="0">
<FRAME name="content" src="http://www.nailspace.com.tw/forum/index.php" noresize>
<FRAME name="exobud_mp" src="http://www.nailspace.com.tw/forum/exobud_mp/exobud.htm" scrolling="no" noresize>
</FRAMESET>
<noframes>
<body>
<br><a href="http://nailspace.com.tw/forum/index.php">進入幻甲空間 NailSpace 論壇(無音樂版)</a>
<P>您會看到這個網頁是因為您的瀏覽器不支援框架 (frame), 若要正確瀏覽請先更新你的瀏覽器.
</body>
</noframes>
</HTML>
Re: [教學] 如何讓你的網站在搜尋引擎上找到
Mac 寫:如果你想讓各大搜尋引擎可以自動找到您的網站 / 討論區 / 討論區內的文章
(也讓他人在搜尋引擎上找到您的網站 / 討論區 / 討論區內的文章)
你可以使用以下的修正方法
修正方法來源: http://kharay.hopto.org/viewtopic.php?t=7
打開 includes/functions.php
尋找之前加上代碼: 選擇全部
?>
打開 includes/sessions.php代碼: 選擇全部
function is_search_engine() { global $HTTP_SERVER_VARS; $_this_agent = $HTTP_SERVER_VARS['HTTP_USER_AGENT']; $search_engines = array( // W3C HTML Validator: "W3C_Validator/1.305.2.12 libwww-perl/5.64", // W3C CSS Validator: "Jigsaw/2.2.3 W3C_CSS_Validator_JFouffa/2.0", // GoogleBot: "Googlebot/2.1 (+http://www.googlebot.com/bot.html)", // GID GZIP Test: "GIDZipTest/1.2 (+ http://www.desilva.biz/gzip-test.php)" ); foreach($search_engines as $search_engine) { if (!strcmp($_this_agent, $search_engine)) { // Must be an engine... is in our list. return true; } } return false; }
尋找之後加上代碼: 選擇全部
function append_sid($url, $non_html_amp = false) { global $SID;
最新的 Robot 名單(使用在 includes/functions.php 裡面)代碼: 選擇全部
if (is_search_engine()) { return $url; }
~Mac代碼: 選擇全部
$search_engines = array( // W3C HTML Validator: "W3C_Validator/1.305.2.12 libwww-perl/5.64", // W3C CSS Validator: "Jigsaw/2.2.3 W3C_CSS_Validator_JFouffa/2.0", // W3C Link Checker: "W3C-checklink/3.6.2.3 libwww-perl/5.64", // Submit Express META TAG Analyzer: "MetaTagRobot/1.6 (http://www.widexl.com/remote/search-engines/metatag-analyzer.html)", // GoogleBot: "Googlebot/2.1 (+http://www.googlebot.com/bot.html)", "Googlebot-Image/1.0 (+http://www.googlebot.com/bot.html)", // GID GZIP Test: "GIDZipTest/1.2 (+ http://www.desilva.biz/gzip-test.php)", // Alexa/Internet Archiver: "ia_archiver", "ia_archiver/1.6", // Inktomi robot: "Slurp/2.0 (slurp@inktomi.com; http://www.inktomi.com/slurp.html)", "Slurp/2.0-KiteWeekly (slurp@inktomi.com; http://www.inktomi.com/slurp.html)", "Slurp/si (slurp@inktomi.com; http://www.inktomi.com/slurp.html)", // @nonymouse - WWW "http://@nonymouse.com/ (Unix)", "Fast Crawler Gold Edition", "FAST Enterprise Crawler 6 (Experimental)", "FAST FirstPage retriever (compatible; MSIE 5.5; Mozilla/4.0)", "Fast PartnerSite Crawler", "FastCrawler 3.0.1 (crawler@1klik.dk)", "FAST-WebCrawler/2.2.6 (crawler@fast.no; http://www.fast.no/faq/faqfastwebsearch/faqfastwebcrawler.html)", "FAST-WebCrawler/2.2.7 (crawler@fast.no; http://www.fast.no/faq/faqfastwebsearch/faqfastwebcrawler.html)", "FAST-WebCrawler/2.2.8 (crawler@fast.no; http://www.fast.no/faq/faqfastwebsearch/faqfastwebcrawler.html)", "FAST-WebCrawler/2.2.10 (Multimedia Search) (crawler@fast.no; http://www.fast.no/faq/faqfastwebsearch/faqfastwebcrawler.html)", "FAST-WebCrawler/3.2 test", "FAST-WebCrawler/3.3 (crawler@fast.no; http://fast.no/support.php?c=faqs/crawler)", "FAST-WebCrawler/3.4/Nirvana (crawler@fast.no; http://fast.no/support.php?c=faqs/crawler)", "FAST-WebCrawler/3.4/PartnerSite (crawler@fast.no; http://fast.no/support.php?c=faqs/crawler)", "FAST-WebCrawler/3.5 (atw-crawler at fast dot no; http://fast.no/support.php?c=faqs/crawler)", "FAST-WebCrawler/3.6 (atw-crawler at fast dot no; http://fast.no/support/crawler.asp)", "FAST-WebCrawler/3.7 (atw-crawler at fast dot no; http://fast.no/support/crawler.asp)", "FAST-WebCrawler/3.8 (atw-crawler at fast dot no; http://fast.no/support/crawler.asp) ", "FAST-WebCrawler/3.8/Fresh (atw-crawler at fast dot no; http://fast.no/support/crawler.asp)", "FAST-WebCrawler/3.6/FirstPage (crawler@fast.no; http://fast.no/support.php?c=faqs/crawler)", "FAST-WebCrawler/3.7/FirstPage (atw-crawler at fast dot no;http://fast.no/support/crawler.asp)", "FAST-WebCrawler/3.x Multimedia", "FAST-WebCrawler/3.x Multimedia (mm dash crawler at fast dot no)", "Overture-WebCrawler/3.8/Fresh (atw-crawler at fast dot no; http://fast.no/support/crawler.asp)", "Scooter2_Mercator_x-x.0", "Scrubby/2.x (http://www.scrubtheweb.com/)", "Scooter/3.3_SF", "Mozilla/5.0 (Slurp/cat; slurp@inktomi.com; http://www.inktomi.com/slurp.html)", "Scooter/3.2.SF0", "Mercator", "Spider" );
那沒有用frame的正確的改法是不是?>>>>>
打開 includes/functions.php
尋找
代碼: 選擇全部
?>
代碼: 選擇全部
function is_search_engine()
{
global $HTTP_SERVER_VARS;
$_this_agent = $HTTP_SERVER_VARS['HTTP_USER_AGENT'];
$search_engines = array(
// W3C HTML Validator:
"W3C_Validator/1.305.2.12 libwww-perl/5.64",
// W3C CSS Validator:
"Jigsaw/2.2.3 W3C_CSS_Validator_JFouffa/2.0",
// W3C Link Checker:
"W3C-checklink/3.6.2.3 libwww-perl/5.64",
// Submit Express META TAG Analyzer:
"MetaTagRobot/1.6 (http://www.widexl.com/remote/search-engines/metatag-analyzer.html)",
// GoogleBot:
"Googlebot/2.1 (+http://www.googlebot.com/bot.html)",
"Googlebot-Image/1.0 (+http://www.googlebot.com/bot.html)",
// GID GZIP Test:
"GIDZipTest/1.2 (+ http://www.desilva.biz/gzip-test.php)",
// Alexa/Internet Archiver:
"ia_archiver",
"ia_archiver/1.6",
// Inktomi robot:
"Slurp/2.0 (slurp@inktomi.com; http://www.inktomi.com/slurp.html)",
"Slurp/2.0-KiteWeekly (slurp@inktomi.com; http://www.inktomi.com/slurp.html)",
"Slurp/si (slurp@inktomi.com; http://www.inktomi.com/slurp.html)",
// @nonymouse - WWW
"http://@nonymouse.com/ (Unix)",
"Fast Crawler Gold Edition",
"FAST Enterprise Crawler 6 (Experimental)",
"FAST FirstPage retriever (compatible; MSIE 5.5; Mozilla/4.0)",
"Fast PartnerSite Crawler",
"FastCrawler 3.0.1 (crawler@1klik.dk)",
"FAST-WebCrawler/2.2.6 (crawler@fast.no; http://www.fast.no/faq/faqfastwebsearch/faqfastwebcrawler.html)",
"FAST-WebCrawler/2.2.7 (crawler@fast.no; http://www.fast.no/faq/faqfastwebsearch/faqfastwebcrawler.html)",
"FAST-WebCrawler/2.2.8 (crawler@fast.no; http://www.fast.no/faq/faqfastwebsearch/faqfastwebcrawler.html)",
"FAST-WebCrawler/2.2.10 (Multimedia Search) (crawler@fast.no; http://www.fast.no/faq/faqfastwebsearch/faqfastwebcrawler.html)",
"FAST-WebCrawler/3.2 test",
"FAST-WebCrawler/3.3 (crawler@fast.no; http://fast.no/support.php?c=faqs/crawler)",
"FAST-WebCrawler/3.4/Nirvana (crawler@fast.no; http://fast.no/support.php?c=faqs/crawler)",
"FAST-WebCrawler/3.4/PartnerSite (crawler@fast.no; http://fast.no/support.php?c=faqs/crawler)",
"FAST-WebCrawler/3.5 (atw-crawler at fast dot no; http://fast.no/support.php?c=faqs/crawler)",
"FAST-WebCrawler/3.6 (atw-crawler at fast dot no; http://fast.no/support/crawler.asp)",
"FAST-WebCrawler/3.7 (atw-crawler at fast dot no; http://fast.no/support/crawler.asp)",
"FAST-WebCrawler/3.8 (atw-crawler at fast dot no; http://fast.no/support/crawler.asp) ",
"FAST-WebCrawler/3.8/Fresh (atw-crawler at fast dot no; http://fast.no/support/crawler.asp)",
"FAST-WebCrawler/3.6/FirstPage (crawler@fast.no; http://fast.no/support.php?c=faqs/crawler)",
"FAST-WebCrawler/3.7/FirstPage (atw-crawler at fast dot no;http://fast.no/support/crawler.asp)",
"FAST-WebCrawler/3.x Multimedia",
"FAST-WebCrawler/3.x Multimedia (mm dash crawler at fast dot no)",
"Overture-WebCrawler/3.8/Fresh (atw-crawler at fast dot no; http://fast.no/support/crawler.asp)",
"Scooter2_Mercator_x-x.0",
"Scrubby/2.x (http://www.scrubtheweb.com/)",
"Scooter/3.3_SF",
"Mozilla/5.0 (Slurp/cat; slurp@inktomi.com; http://www.inktomi.com/slurp.html)",
"Scooter/3.2.SF0",
"Mercator",
"Spider"
);
foreach($search_engines as $search_engine)
{
if (!strcmp($_this_agent, $search_engine))
{
// Must be an engine... is in our list.
return true;
}
}
return false;
}
打開 includes/sessions.php
尋找
代碼: 選擇全部
function append_sid($url, $non_html_amp = false)
{
global $SID;
代碼: 選擇全部
if (is_search_engine())
{
return $url;
}
我是在自己的主機架站:
●架設主機作業系統:Windows Xp Home/sp2
●快速架站程式:Appserv-win32-2.4.4a
●上網方式:Hinet ADSL
●phpBB 版本:2.0.22
●固定網址
●Posadis DNS伺服器軟體
●Godaddy申請網址
●架設主機作業系統:Windows Xp Home/sp2
●快速架站程式:Appserv-win32-2.4.4a
●上網方式:Hinet ADSL
●phpBB 版本:2.0.22
●固定網址
●Posadis DNS伺服器軟體
●Godaddy申請網址
-
- 星球普通子民
- 文章: 13
- 註冊時間: 2006-05-16 15:46
- 來自: 桃園
- 聯繫:
Re: [教學] 如何讓你的網站在搜尋引擎上找到
pyf12345 寫: 那沒有用frame的正確的改法是不是?>>>>>
打開 includes/functions.php
尋找之前加上代碼: 選擇全部
?>
代碼: 選擇全部
function is_search_engine() { global $HTTP_SERVER_VARS; $_this_agent = $HTTP_SERVER_VARS['HTTP_USER_AGENT']; $search_engines = array( // W3C HTML Validator: "W3C_Validator/1.305.2.12 libwww-perl/5.64", // W3C CSS Validator: "Jigsaw/2.2.3 W3C_CSS_Validator_JFouffa/2.0", // W3C Link Checker: "W3C-checklink/3.6.2.3 libwww-perl/5.64", // Submit Express META TAG Analyzer: "MetaTagRobot/1.6 (http://www.widexl.com/remote/search-engines/metatag-analyzer.html)", // GoogleBot: "Googlebot/2.1 (+http://www.googlebot.com/bot.html)", "Googlebot-Image/1.0 (+http://www.googlebot.com/bot.html)", // GID GZIP Test: "GIDZipTest/1.2 (+ http://www.desilva.biz/gzip-test.php)", // Alexa/Internet Archiver: "ia_archiver", "ia_archiver/1.6", // Inktomi robot: "Slurp/2.0 (slurp@inktomi.com; http://www.inktomi.com/slurp.html)", "Slurp/2.0-KiteWeekly (slurp@inktomi.com; http://www.inktomi.com/slurp.html)", "Slurp/si (slurp@inktomi.com; http://www.inktomi.com/slurp.html)", // @nonymouse - WWW "http://@nonymouse.com/ (Unix)", "Fast Crawler Gold Edition", "FAST Enterprise Crawler 6 (Experimental)", "FAST FirstPage retriever (compatible; MSIE 5.5; Mozilla/4.0)", "Fast PartnerSite Crawler", "FastCrawler 3.0.1 (crawler@1klik.dk)", "FAST-WebCrawler/2.2.6 (crawler@fast.no; http://www.fast.no/faq/faqfastwebsearch/faqfastwebcrawler.html)", "FAST-WebCrawler/2.2.7 (crawler@fast.no; http://www.fast.no/faq/faqfastwebsearch/faqfastwebcrawler.html)", "FAST-WebCrawler/2.2.8 (crawler@fast.no; http://www.fast.no/faq/faqfastwebsearch/faqfastwebcrawler.html)", "FAST-WebCrawler/2.2.10 (Multimedia Search) (crawler@fast.no; http://www.fast.no/faq/faqfastwebsearch/faqfastwebcrawler.html)", "FAST-WebCrawler/3.2 test", "FAST-WebCrawler/3.3 (crawler@fast.no; http://fast.no/support.php?c=faqs/crawler)", "FAST-WebCrawler/3.4/Nirvana (crawler@fast.no; http://fast.no/support.php?c=faqs/crawler)", "FAST-WebCrawler/3.4/PartnerSite (crawler@fast.no; http://fast.no/support.php?c=faqs/crawler)", "FAST-WebCrawler/3.5 (atw-crawler at fast dot no; http://fast.no/support.php?c=faqs/crawler)", "FAST-WebCrawler/3.6 (atw-crawler at fast dot no; http://fast.no/support/crawler.asp)", "FAST-WebCrawler/3.7 (atw-crawler at fast dot no; http://fast.no/support/crawler.asp)", "FAST-WebCrawler/3.8 (atw-crawler at fast dot no; http://fast.no/support/crawler.asp) ", "FAST-WebCrawler/3.8/Fresh (atw-crawler at fast dot no; http://fast.no/support/crawler.asp)", "FAST-WebCrawler/3.6/FirstPage (crawler@fast.no; http://fast.no/support.php?c=faqs/crawler)", "FAST-WebCrawler/3.7/FirstPage (atw-crawler at fast dot no;http://fast.no/support/crawler.asp)", "FAST-WebCrawler/3.x Multimedia", "FAST-WebCrawler/3.x Multimedia (mm dash crawler at fast dot no)", "Overture-WebCrawler/3.8/Fresh (atw-crawler at fast dot no; http://fast.no/support/crawler.asp)", "Scooter2_Mercator_x-x.0", "Scrubby/2.x (http://www.scrubtheweb.com/)", "Scooter/3.3_SF", "Mozilla/5.0 (Slurp/cat; slurp@inktomi.com; http://www.inktomi.com/slurp.html)", "Scooter/3.2.SF0", "Mercator", "Spider" ); foreach($search_engines as $search_engine) { if (!strcmp($_this_agent, $search_engine)) { // Must be an engine... is in our list. return true; } } return false; }
打開 includes/sessions.php
尋找之後加上代碼: 選擇全部
function append_sid($url, $non_html_amp = false) { global $SID;
代碼: 選擇全部
if (is_search_engine()) { return $url; }
是的
Re: [教學] 如何讓你的網站在搜尋引擎上找到
那現在有沒有最新的 Robot 名單(現在已經20060815)?Mac 寫:如果你想讓各大搜尋引擎可以自動找到您的網站 / 討論區 / 討論區內的文章
(也讓他人在搜尋引擎上找到您的網站 / 討論區 / 討論區內的文章)
你可以使用以下的修正方法
修正方法來源: http://kharay.hopto.org/viewtopic.php?t=7
打開 includes/functions.php
尋找\r之前加上代碼: 選擇全部
?>
打開 includes/sessions.php代碼: 選擇全部
function is_search_engine() { global $HTTP_SERVER_VARS; $_this_agent = $HTTP_SERVER_VARS['HTTP_USER_AGENT']; $search_engines = array( // W3C HTML Validator: "W3C_Validator/1.305.2.12 libwww-perl/5.64", // W3C CSS Validator: "Jigsaw/2.2.3 W3C_CSS_Validator_JFouffa/2.0", // GoogleBot: "Googlebot/2.1 (+http://www.googlebot.com/bot.html)", // GID GZIP Test: "GIDZipTest/1.2 (+ http://www.desilva.biz/gzip-test.php)" ); foreach($search_engines as $search_engine) { if (!strcmp($_this_agent, $search_engine)) { // Must be an engine... is in our list. return true; } } return false; }
尋找\r之後加上代碼: 選擇全部
function append_sid($url, $non_html_amp = false) { global $SID;
最新的 Robot 名單(使用在 includes/functions.php 裡面)代碼: 選擇全部
if (is_search_engine()) { return $url; }
~Mac代碼: 選擇全部
$search_engines = array( // W3C HTML Validator: "W3C_Validator/1.305.2.12 libwww-perl/5.64", // W3C CSS Validator: "Jigsaw/2.2.3 W3C_CSS_Validator_JFouffa/2.0", // W3C Link Checker: "W3C-checklink/3.6.2.3 libwww-perl/5.64", // Submit Express META TAG Analyzer: "MetaTagRobot/1.6 (http://www.widexl.com/remote/search-engines/metatag-analyzer.html)", // GoogleBot: "Googlebot/2.1 (+http://www.googlebot.com/bot.html)", "Googlebot-Image/1.0 (+http://www.googlebot.com/bot.html)", // GID GZIP Test: "GIDZipTest/1.2 (+ http://www.desilva.biz/gzip-test.php)", // Alexa/Internet Archiver: "ia_archiver", "ia_archiver/1.6", // Inktomi robot: "Slurp/2.0 (slurp@inktomi.com; http://www.inktomi.com/slurp.html)", "Slurp/2.0-KiteWeekly (slurp@inktomi.com; http://www.inktomi.com/slurp.html)", "Slurp/si (slurp@inktomi.com; http://www.inktomi.com/slurp.html)", // @nonymouse - WWW "http://@nonymouse.com/ (Unix)", "Fast Crawler Gold Edition", "FAST Enterprise Crawler 6 (Experimental)", "FAST FirstPage retriever (compatible; MSIE 5.5; Mozilla/4.0)", "Fast PartnerSite Crawler", "FastCrawler 3.0.1 (crawler@1klik.dk)", "FAST-WebCrawler/2.2.6 (crawler@fast.no; http://www.fast.no/faq/faqfastwebsearch/faqfastwebcrawler.html)", "FAST-WebCrawler/2.2.7 (crawler@fast.no; http://www.fast.no/faq/faqfastwebsearch/faqfastwebcrawler.html)", "FAST-WebCrawler/2.2.8 (crawler@fast.no; http://www.fast.no/faq/faqfastwebsearch/faqfastwebcrawler.html)", "FAST-WebCrawler/2.2.10 (Multimedia Search) (crawler@fast.no; http://www.fast.no/faq/faqfastwebsearch/faqfastwebcrawler.html)", "FAST-WebCrawler/3.2 test", "FAST-WebCrawler/3.3 (crawler@fast.no; http://fast.no/support.php?c=faqs/crawler)", "FAST-WebCrawler/3.4/Nirvana (crawler@fast.no; http://fast.no/support.php?c=faqs/crawler)", "FAST-WebCrawler/3.4/PartnerSite (crawler@fast.no; http://fast.no/support.php?c=faqs/crawler)", "FAST-WebCrawler/3.5 (atw-crawler at fast dot no; http://fast.no/support.php?c=faqs/crawler)", "FAST-WebCrawler/3.6 (atw-crawler at fast dot no; http://fast.no/support/crawler.asp)", "FAST-WebCrawler/3.7 (atw-crawler at fast dot no; http://fast.no/support/crawler.asp)", "FAST-WebCrawler/3.8 (atw-crawler at fast dot no; http://fast.no/support/crawler.asp) ", "FAST-WebCrawler/3.8/Fresh (atw-crawler at fast dot no; http://fast.no/support/crawler.asp)", "FAST-WebCrawler/3.6/FirstPage (crawler@fast.no; http://fast.no/support.php?c=faqs/crawler)", "FAST-WebCrawler/3.7/FirstPage (atw-crawler at fast dot no;http://fast.no/support/crawler.asp)", "FAST-WebCrawler/3.x Multimedia", "FAST-WebCrawler/3.x Multimedia (mm dash crawler at fast dot no)", "Overture-WebCrawler/3.8/Fresh (atw-crawler at fast dot no; http://fast.no/support/crawler.asp)", "Scooter2_Mercator_x-x.0", "Scrubby/2.x (http://www.scrubtheweb.com/)", "Scooter/3.3_SF", "Mozilla/5.0 (Slurp/cat; slurp@inktomi.com; http://www.inktomi.com/slurp.html)", "Scooter/3.2.SF0", "Mercator", "Spider" );
我是在自己的主機架站:
●架設主機作業系統:Windows Xp Home/sp2
●快速架站程式:Appserv-win32-2.4.4a
●上網方式:Hinet ADSL
●phpBB 版本:2.0.22
●固定網址
●Posadis DNS伺服器軟體
●Godaddy申請網址
●架設主機作業系統:Windows Xp Home/sp2
●快速架站程式:Appserv-win32-2.4.4a
●上網方式:Hinet ADSL
●phpBB 版本:2.0.22
●固定網址
●Posadis DNS伺服器軟體
●Godaddy申請網址
Re: [教學] 如何讓你的網站在搜尋引擎上找到
沒事不要引用這麼長...
http://www.robotstxt.org/wc/active/html/index.htmlpyf12345 寫:那現在有沒有最新的 Robot 名單(現在已經20060815)?
Re: [教學] 如何讓你的網站在搜尋引擎上找到
請問怎麼使用?chiouss 寫:沒事不要引用這麼長...http://www.robotstxt.org/wc/active/html/index.htmlpyf12345 寫:那現在有沒有最新的 Robot 名單(現在已經20060815)?
還有用了這個就不需要關鍵字了嗎?
^^
我是在自己的主機架站:
●架設主機作業系統:Windows Xp Home/sp2
●快速架站程式:Appserv-win32-2.4.4a
●上網方式:Hinet ADSL
●phpBB 版本:2.0.22
●固定網址
●Posadis DNS伺服器軟體
●Godaddy申請網址
●架設主機作業系統:Windows Xp Home/sp2
●快速架站程式:Appserv-win32-2.4.4a
●上網方式:Hinet ADSL
●phpBB 版本:2.0.22
●固定網址
●Posadis DNS伺服器軟體
●Godaddy申請網址