sciencetext提示和技巧
Blogging tips, browsing tricks and computing hacks 博客的秘訣,瀏覽手法和電腦駭客

Google Sitemaps Google Sitemaps的

January 24th, 2007 · by David Bradley 2007年1月24日,大衛布拉德利

A Google sitemap is an XML format file that can be used to tell the Google, MSN and Yahoo search engines about the structure of your site.一個Google網站地圖是一個XML格式的文件,可以用來告訴Google , MSN以及雅虎搜索引擎您的網站結構。 Google introduced it in 2005 and it helps a lot of smaller sites get their first foothold in the SERPs (search engine results pages). Google推出它在2005年和它有很大幫助規模較小的網站上得到他們首先立足於serps (搜索引擎結果頁) 。

For Wordpress users there’sa neat little plugin that generates the sitemap automatically and even pings the Google search engine to tell it to come and have a look at its handiwork.為WordPress用戶有整齊小插件生成的Sitemap自動甚至坪Google搜尋引擎告訴它來一看,在它的手工。

One problem that often arises for first time users is that the plugin cannot get permission to write the sitemap.xml and the GZ compressed sitemap.xml.gz files in the first place.其中一個問題,往往出現為第一次的用戶是插件不能得到許可寫sitemap.xml中和的GZ壓縮sitemap.xml.gz文件擺在首位。 There’sa very simple workaround to this if you see any write errors when you hit the “rebuild sitemap” button.有一個很簡單可行,這如果你看到任何錯誤寫入當您按下“重建站點地圖”按鈕。

First create two empty files in notepad with the names sitemap.xml and sitemap.xml.gz.首先創建兩個空文件,在記事本與sitemap.xml的名稱和sitemap.xml.gz 。 Next, upload them using FTP to the Wordpress root folder for your site.下一步,將它們上傳使用FTP向在WordPress根文件夾,為您的網站。 Then, change the read-write permissions using the Unix command CHMOD (often available as a right-click menu item in your FTP program (it is in WS_FTP, anyway) to 666 (yes, we know very devilish of us). Now run the sitemap generator again. Success will come within seconds, hopefully. Finally, use CHMOD once again on those two files to change to a more secure setting - a maximum of 644 should be safe.然後,改變讀寫權限,使用Unix命令chmod (通常可作為右鍵點擊菜單的項目在您的FTP程序(它是在ws_ftp ,無論如何) 666 (沒錯,我們知道非常惡魔我們)現在運行Sitemap產生再次成功將在數秒鐘內,希望最後,使用chmod再次對上述兩個文件的改變,以一個更安全的設置-最多6 44應是安全的。

Now, check your logs for slurping spiders and googling bots and just hope that the XML has worked its magic on your site.現在,請檢查您的日誌slurping蜘蛛和使用Google的bot和公正的希望XML的工作,其神奇的在您的網站上。

Of course, these XML sitemaps are not really aimed at human viewers, so don’t bother linking to the file on your site.當然,這些XML的Sitemaps是沒有真正的目的是在人類觀眾,所以不要理會連接到該文件在您的網站上。 Most CMS systems and blogging software has in built tools for producing nice maps of your site with neat and appealing links.最細胞質雄性不育系統和博客軟件已在建的工具,生產尼斯的地圖,您的網站與整齊,並呼籲鏈接。 Check the documentation.檢查的文件。

1 response so far ↓ 1回應到目前為止↓

  • Mel // 梅爾 / / Jan 24, 2007 at 9:43 pm 2007年1月24日在下午9點43分

    Is it worth doing a sitemap for SEO purposes?它是值得做的網站徐用途? I heard from a friend that within a couple of days of publishing their sitemap.xml to googel they lost their pagerank and the toolbar thing turned white from a chunk of green.我聽到從一個朋友,一個在數天內出版他們的sitemap.xml的,以googel他們失去了他們的PageRank和工具欄的事變白,從一大塊綠色。

Leave a Comment留下意見

Comments are checked for spam before appearing, no need to post it twice.評論是檢查垃圾郵件之前出現,不需要後兩次。

Related Posts相關文章



clicky網站分析