Sunday, August 12, 2007

How can I create a Google-friendly site?

 
Google    
Webmaster Help Center
Change Language:
Google Help > Help Center Home > My site and Google > My site in the Google index
Documentation

Tools

    

How can I create a Google-friendly site?

Things to do

Our webmaster guidelines provide general design, technical, and quality guidelines. Below are more detailed tips for creating a Google-friendly site.

Give visitors the information they're looking for
Provide high-quality content on your pages, especially your homepage. This is the single most important thing to do. If your pages contain useful information, their content will attract many visitors and entice webmasters to link to your site. In creating a helpful, information-rich site, write pages that clearly and accurately describe your topic. Think about the words users would type to find your pages and include those words on your site.

Make sure that other sites link to yours
Links help our crawlers find your site and can give your site greater visibility in our search results. When returning results for a search, Google combines PageRank (our view of a page's importance) with sophisticated text-matching techniques to display pages that are both important and relevant to each search. Google counts the number of votes a page receives as part of its PageRank assessment, interpreting a link from page A to page B as a vote by page A for page B. Votes cast by pages that are themselves "important" weigh more heavily and help to make other pages "important."

Keep in mind that our algorithms can distinguish natural links from unnatural links. Natural links to your site develop as part of the dynamic nature of the web when other sites find your content valuable and think it would be helpful for their visitors. Unnatural links to your site are placed there specifically to make your site look more popular to search engines. Some of these types of links (such as link schemes and doorway pages) are covered in our webmaster guidelines.

Only natural links are useful for the indexing and ranking of your site.

Make your site easily accessible
Build your site with a logical link structure. Every page should be reachable from at least one static text link.

Use a text browser, such as Lynx, to examine your site. Most spiders see your site much as Lynx would. If features such as JavaScript, cookies, session IDs, frames, DHTML, or Macromedia Flash keep you from seeing your entire site in a text browser, then spiders may have trouble crawling it.

Consider creating static copies of dynamic pages. Although the Google index includes dynamic pages, they comprise a small portion of our index. If you suspect that your dynamically generated pages (such as URLs containing question marks) are causing problems for our crawler, you might create static copies of these pages. If you create static copies, don't forget to add your dynamic pages to your robots.txt file to prevent us from treating them as duplicates.

Things to Avoid

Don't fill your page with lists of keywords, attempt to "cloak" pages, or put up "crawler only" pages. If your site contains pages, links, or text that you don't intend visitors to see, Google considers those links and pages deceptive and may ignore your site.

Don't feel obligated to purchase a search engine optimization service. Some companies claim to "guarantee" high ranking for your site in Google's search results. While legitimate consulting firms can improve your site's flow and content, others employ deceptive tactics in an attempt to fool search engines. Be careful; if your domain is affiliated with one of these deceptive services, it could be banned from our index.

Don't use images to display important names, content, or links. Our crawler doesn't recognize text contained in graphics. Use ALT attributes if the main content and keywords on your page can't be formatted in regular HTML.

Don't create multiple copies of a page under different URLs. Many sites offer text-only or printer-friendly versions of pages that contain the same content as the corresponding graphic-rich pages. To ensure that your preferred page is included in our search results, you'll need to block duplicates from our spiders using a robots.txt file. For information about using a robots.txt file, please visit our information on blocking Googlebot .

You may also be interested in...


Was this information helpful?
Yes   No

Search Help Center



--
Zhipeng Zhang (Alan)   BCompSc  MInfoTech MACS(Prov)

"You must be the change you want to see in the world."

"Begin at the beginning and go on till you come to the end; then stop."
                                                                                       -- Lewis Carroll, Alice in Wonderland

Google Webmaster Guidelines

 
Webmaster Help Center
Change Language:
Google Help > Help Center Home > My site and Google
Documentation

Tools

    

Webmaster Guidelines

Webmaster Guidelines

Following these guidelines will help Google find, index, and rank your site. Even if you choose not to implement any of these suggestions, we strongly encourage you to pay very close attention to the "Quality Guidelines," which outline some of the illicit practices that may lead to a site being removed entirely from the Google index or otherwise penalized. If a site has been penalized, it may no longer show up in results on Google.com or on any of Google's partner sites.

When your site is ready:

  • Have other relevant sites link to yours.
  • Submit it to Google at http://www.google.com/addurl.html.
  • Submit a Sitemap as part of our Google webmaster tools. Google uses your Sitemap to learn about the structure of your site and to increase our coverage of your webpages.
  • Make sure all the sites that should know about your pages are aware your site is online.
  • Submit your site to relevant directories such as the Open Directory Project and Yahoo!, as well as to other industry-specific expert sites.

Design and content guidelines

  • Make a site with a clear hierarchy and text links. Every page should be reachable from at least one static text link.
  • Offer a site map to your users with links that point to the important parts of your site. If the site map is larger than 100 or so links, you may want to break the site map into separate pages.
  • Create a useful, information-rich site, and write pages that clearly and accurately describe your content.
  • Think about the words users would type to find your pages, and make sure that your site actually includes those words within it.
  • Try to use text instead of images to display important names, content, or links. The Google crawler doesn't recognize text contained in images.
  • Make sure that your TITLE tags and ALT attributes are descriptive and accurate.
  • Check for broken links and correct HTML.
  • If you decide to use dynamic pages (i.e., the URL contains a "?" character), be aware that not every search engine spider crawls dynamic pages as well as static pages. It helps to keep the parameters short and the number of them few.
  • Keep the links on a given page to a reasonable number (fewer than 100).

Technical guidelines

  • Use a text browser such as Lynx to examine your site, because most search engine spiders see your site much as Lynx would. If fancy features such as JavaScript, cookies, session IDs, frames, DHTML, or Flash keep you from seeing all of your site in a text browser, then search engine spiders may have trouble crawling your site.
  • Allow search bots to crawl your sites without session IDs or arguments that track their path through the site. These techniques are useful for tracking individual user behavior, but the access pattern of bots is entirely different. Using these techniques may result in incomplete indexing of your site, as bots may not be able to eliminate URLs that look different but actually point to the same page.
  • Make sure your web server supports the If-Modified-Since HTTP header. This feature allows your web server to tell Google whether your content has changed since we last crawled your site. Supporting this feature saves you bandwidth and overhead.
  • Make use of the robots.txt file on your web server. This file tells crawlers which directories can or cannot be crawled. Make sure it's current for your site so that you don't accidentally block the Googlebot crawler. Visit http://www.robotstxt.org/wc/faq.html to learn how to instruct robots when they visit your site. You can test your robots.txt file to make sure you're using it correctly with the robots.txt analysis tool available in Google webmaster tools.
  • If your company buys a content management system, make sure that the system can export your content so that search engine spiders can crawl your site.
  • Use robots.txt to prevent crawling of search results pages or other auto-generated pages that don't add much value for users coming from search engines.

Quality guidelines

These quality guidelines cover the most common forms of deceptive or manipulative behavior, but Google may respond negatively to other misleading practices not listed here (e.g. tricking users by registering misspellings of well-known websites). It's not safe to assume that just because a specific deceptive technique isn't included on this page, Google approves of it. Webmasters who spend their energies upholding the spirit of the basic principles will provide a much better user experience and subsequently enjoy better ranking than those who spend their time looking for loopholes they can exploit.

If you believe that another site is abusing Google's quality guidelines, please report that site at https://www.google.com/webmasters/tools/spamreport . Google prefers developing scalable and automated solutions to problems, so we attempt to minimize hand-to-hand spam fighting. The spam reports we receive are used to create scalable algorithms that recognize and block future spam attempts.

Quality guidelines - basic principles

  • Make pages for users, not for search engines. Don't deceive your users or present different content to search engines than you display to users, which is commonly referred to as "cloaking."
  • Avoid tricks intended to improve search engine rankings. A good rule of thumb is whether you'd feel comfortable explaining what you've done to a website that competes with you. Another useful test is to ask, "Does this help my users? Would I do this if search engines didn't exist?"
  • Don't participate in link schemes designed to increase your site's ranking or PageRank. In particular, avoid links to web spammers or "bad neighborhoods" on the web, as your own ranking may be affected adversely by those links.
  • Don't use unauthorized computer programs to submit pages, check rankings, etc. Such programs consume computing resources and violate our Terms of Service. Google does not recommend the use of products such as WebPosition Gold™ that send automatic or programmatic queries to Google.

Quality guidelines - specific guidelines

If you determine that your site doesn't meet these guidelines, you can modify your site so that it does and then submit your site for reconsideration.

You may also be interested in...


 
 


--
Zhipeng Zhang (Alan)   BCompSc  MInfoTech MACS(Prov)

"You must be the change you want to see in the world."

"Begin at the beginning and go on till you come to the end; then stop."
                                                                                       -- Lewis Carroll, Alice in Wonderland

Wednesday, August 08, 2007

任意版本到SupeSite5.5/X-Space3.0升级图文教程

 

任意版本到SupeSite5.5/X-Space3.0升级图文教程

SupeSite 5.5/X-Space 3.0 即将 发布,提前为大家做个规范的升级教程出来,希望能为大家未来的升级带来方便

一.升级前的准备

1.下载 SupeSite 5.5/X-Space 3.0 到本地或 服务器上,如图 1 所示:
注:需要注意的是,请下载和您之前版本编码一致的程序包。比如您之前的SupeSite/X-Space是GBK编码的,那么也请下载GBK编码的程序包。



其中:upload 文件夹中的文件为我们所要使用的程序文件;
      其余都为 SupeSite/X-Space 相关帮助文档。

2.关闭 论坛,如图 2 所示:



3.登录SupeSite/X-Space站点

登录SupeSite/X-Space站点设置-基本设置- 系统设置-页面风格目录:选择default模板,如图 3 所示:



登录SupeSite/X-Space站点设置-基本设置-系统设置-HTML设置:将各个页面的html都设置为不启用,如图 4 所示:



登录SupeSite/X-Space站点设置-基本设置-频道设置-将首页恢复为程序原来默认的首页。务必不要将自己自定义的页面设置为首页。如图 5 所示:



4.备份SupeSite/X-Space数据库和程序文件
(1)数据库备份方法:
独立主机:直接备份数据库目录就可以(注意备份前停止 MySQL 服务);
虚拟主机:后台备份或使用phpmyadmin都可以;
参考:SupeSite 5.0 搬家图文教程:http://www.discuz.net/thread-484051-1-1.html

本次演示在后台做的备份:(以Discuz!5.5为例演示)
登录论坛后台-系统工具-数据库-资料备份,如图 6 所示,



如果选择"论坛和SupeSite全部数据",系统将自动开始备份,并且将备份数据存放于论坛 ./forumdata/ backup_XX 目录下,可以将备份数据下载到本地做下备份。

如果选择"自定义备份",则您可以根据自己的需要进行数据备份,比如只备份SupeSite数据表或者Discuz!和SupeSite数据表都选择备份。备份后的备份数据存放于论坛 ./forumdata/ backup_XX 目录下,可以将备份数据下载到本地做下备份。

后台备份方法可参考下面的教程:
论坛后台备份完全规范:http://www.discuz.net/thread-505428-1-1.html

(2)程序文件备份方法:
1,        自行备份全部程序文件,方便升级出 问题了可以恢复回去。
2,        将 config. php 文件和论坛的config.inc.php下载到本地(备份),以方便新的 config. php 对照进行配置

二.升级过程
以上准备工作都做好了之后,我们开始进入升级步骤。

1.  目录整理
首先在 FTP目录下把所有的程序文件及目录全部移动到一个新建的 bak目录中,如图 7 所示:



2.上传 SupeSite5.5/X-Space3.0 程序文件到空间上
将除了install.php以外的SupeSite5.5 /X-Space3.0全部程序文件以二进制方式上传到安装SupeSite的空间目录上。如图 8 所示:



二进制上传设置方法:
http://www.discuz.net/viewthread.php?tid=73393
以 FlashFXP 为例,如图 9 所示:



3.修改config.php
打开config.php进行修改。可以参照之前备份到本地的config.php和论坛的config.inc.php
各参数说明:如图 10 ,11 ,12 ,13所示:
下图箭头指向的都是必须填写的项目,请参照图中说明进行填写。









其中cookiedomain设置方法:
http://www.discuz.net/thread-267908-1-1.html

4.修改下列文件属性777
设置相关的目录属性,以便数据文件可以被程序正确读写。
使用 FTP 软件登录您的服务器,将服务器上以下目录、以及该目录下面的所有文件的属性设置为777,win主机请设置internet来宾帐户可读写属性。如果下面目录中含有您没有的目录,就不用设置了。如图 14 所示:

./attachments
./cache/robot
./cache/tpl
./channel
./channel/*.*
./data
./data/robot
./data/temp
./data/system
./html
./log
./templates/
./templates/default
./templates/default/*.*
./user
./video
./video/*.*



具体文件权限的修改方法见下面的教程:
文件权限修改方法介绍:http://www.discuz.net/viewthread.php?tid=487165

5.上传升级程序
将程序包 ./update/update.php 以二进制方式上传到SupeSite/X-Space程序根目录,如图 15 所示:



6.升级过程
在浏览器中输入SupeSite/X-Space访问域名/update.php开始升级,如图 16 所示:



从上图上点击升级按钮进入下面的页面,数据库结构添加/升级,如图 17 ,18 , 19 所示:
系统会自动根据您的数据结构情况,列出每一项您需要升级的数据表和字段,升级程序会引导您依次进行每一步升级操作。
系统会自动给您列出您需要升级的操作。您按照从上到小的顺序依次点击操作即可。请保证上一个操作提示成功了再进入下一步操作。
如果您的数据量很大,推荐逐个升级。即从上到下逐个点击上图蓝色部分的链接,等上一个链接提示成功了再点击下一个链接。
如果您的数据量比较小,可以直接点击上图黄色部分的链接一次性将上面列出的项目都升级了。







每一个项目升级完了都会给您弹出这个显示框提示您成功还是失败。如果失败,记得保留出错提示。成功提示如图 20 所示:



数据库结构添加升级完毕后进入下一步,如图 21 所示:



数据库结构处理完毕后进入下一步操作,如图 22 所示:



进行完上面一步后升级就完毕了,如图 23 所示:



三.升级后的操作

1.如果您之前生成过html, 建议您将登录ftp,将html目录下全部的文件删除。并登录站点设置-综合管理-HTML静态设置:进行重新开启html或者手工生成html,如图 24 ,25 所示:





2.删除您站点上面的update.php文件,避免被重复升级,造成站点数据损坏,如图 26 所示:



3.将备份到 bak 文件夹里的 attachments,styles,user 三个文件夹拷贝出来覆盖 5.5 的这三个目录,否则 附件和个人空间将不能正常显示。

四.  常见错误解答

1.        升级之后首页空白或者出现如下报错提示
File :
D:\internet\www\templates\default\index.html.php
Not found or have no access!
解答:
如果您升级之后出现空白,可能是您在升级之前没有将模板模板设置为default,或者是您没有将站点首页设置为程序默认的首页,而是自己添加了一个首页。
这样,您需要进行下列操作:
1)登录站点设置-频道操作-功能频道设置:将您自定的首页删除,并指定系统默认的综合首页为首页即可。
2)删除cache/tpl目录下的全部文件

2.        升级过程提示超时
报错提示如下:Fatal error: Maximum execution time of 30 seconds exceeded in D:\internet\www\class\db_mysql.class.php on line 61
解答:
说明您的数据量太大,升级过程超时。
建议您逐步升级,不要一次性升级全部数据表。

[ 本帖最后由 紫琼 于 2007-6-19 10:28 编辑 ]
本帖最近评分记录
  • 试天翼 威望 +1 公测版本也这么升级么? 2007-4-17 17:13
  • 安笛 金钱 +10 很详细 2007-4-17 17:09
  • 安笛 威望 +10 很详细 2007-4-17 17:09
碰到问题请先搜索,您的问题其他人很可能已经也碰到过并解决了。
没事的时候多去帮助文档区逛逛啊,那里有好东东哦 ^_^


--
Zhipeng Zhang (Alan)   BCompSc  MInfoTech MACS(Prov)

"You must be the change you want to see in the world."

"Begin at the beginning and go on till you come to the end; then stop."
                                                                                       -- Lewis Carroll, Alice in Wonderland