分页: 28/49 第一页 上页 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 下页 最后页 [ 显示模式: 摘要 | 列表 ]
Apr
1

HTTP状态码     2009

 11:32    362    0   noel SEO  网站 优化 不指定
作SEO时,我们经常会在日志上看到类似这样的代码:

61.135.166.232 - - [31/Dec/2007:02:30:11 +0800] "GET /category21.html HTTP/1.1" 200 10968 "-" "Baiduspider+(+http://www.baidu.com/search/spider.htm)"

66.249.70.172 - - [31/Dec/2007:03:36:10 +0800] "GET /32_10_zh.html HTTP/1.1" 200 18395 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"

这里面需要知道的,就是那个奇怪的数字“200”(另外那个数字表示抓取的文件大小)。
“200”就是HTTP状态码。

SEO过程中最常见的HTTP状态码有:

200 - 服务器成功返回网页
404 - 请求的网页不存在
503 - 服务器超时

其他经常碰到的HTTP状态码列表如下:

HTTP状态码        摘要说明
Apr
1

URL重写优化     2009

 11:24    633    0   noel SEO  网站 优化 不指定
URL重写优化

1).URL标准化是什么意思?
URL标准化,英文:url canonicalization来自matt cutts的博客文章:SEO advice: url canonicalization 中文翻译:SEO的建议:URL标准化 “URL标准化”是一个动名词,不好直接解释,我把它反过来一下:

什么是一个标准化的URL?
Apr
1

什么是错误链接?     2009

 11:22    337    0   noel SEO  网站 优化 不指定
什么是错误链接?

根本不存在的链接,就是错误链接。

错误链接与死链接的区别:

错误链接是由于用户的疏忽,请求的链接不存在。
死链接是原来访问正常,后来因为网站的变故而不能访问。

发生错误链接的情况:

用户对域名拼写错误。
URL地址书写错误。
URL后缀多余了或缺少了斜杆。
URL地址中出现的字母大小写不完全匹配。

以上 3、4 点的情况,专业的 SEO 人员要注意避免。

阅读本文的人还阅读:

404页面该怎么做?

URL重写优化
Apr
1

htaccess文件     2009

 11:14    893    0   noel SEO  网站 优化 不指定
##

# if you want to use mod_rewrite, set this 'On'
RewriteEngine On

# the path to your site installation
RewriteBase /

# Maintenance Section - Uncomment the lines below according to your need
# Write below your client IP address (e.g.: 127.0.0.1)
# if you need to keep your web access during maintenance
#RewriteCond %{REMOTE_ADDR}          !^127.0.0.1$
# Choose your way of closing the access to PMF:
# a. you can simply forbid access (HTTP 403 Error)
#RewriteRule ^(.*)$                  underMaintenance.htm [F,L]
# b. return the user an explanation
#RewriteRule ^(.*)$                  underMaintenance.htm [L]

# url canonicalization
RewriteCond %{http_host} ^laohucheng.com [NC]
RewriteRule ^(.*)$ http://www.laohucheng.com/$1 [L,R=301]

# show all categories
RewriteCond %{REQUEST_URI}          showcat\.html$ [NC]
RewriteRule ^(.*)$                  index.php?action=show [L,QSA]

# the search page
RewriteCond %{REQUEST_URI}          search\.html$ [NC]
RewriteRule ^(.*)$                  index.php?action=search [L,QSA]

# the add content page
RewriteCond %{REQUEST_URI}          addcontent\.html$ [NC]
RewriteRule ^(.*)$                  index.php?action=add [L,QSA]

# the ask question page
RewriteCond %{REQUEST_URI}          ask\.html$ [NC]
RewriteRule ^(.*)$                  index.php?action=ask [L,QSA]

# the open questions page
RewriteCond %{REQUEST_URI}          open\.html$ [NC]
RewriteRule ^(.*)$                  index.php?action=open [L,QSA]

# the help page
RewriteCond %{REQUEST_URI}          help\.html$ [NC]
RewriteRule ^(.*)$                  index.php?action=help [L,QSA]

# the contact page
RewriteCond %{REQUEST_URI}          contact\.html$ [NC]
RewriteRule ^(.*)$                  index.php?action=contact [L,QSA]

# a page with a record
RewriteCond %{REQUEST_URI}          ([0-9]+)_([0-9]+)_([a-z\-]+)\.html$ [NC]
RewriteRule ^(.*)_(.*)_(.*)\.html$  index.php?action=artikel&cat=$1&id=$2&artlang=$3 [L,QSA]

# a category page
RewriteCond %{REQUEST_URI}              category([0-9]+)\.html$ [NC]
RewriteRule ^category(.*)\.html$        index.php?action=show&cat=$1 [L,QSA]

# a category page with page count
RewriteCond %{REQUEST_URI}              category([0-9]+)_([0-9]+)\.html$ [NC]
RewriteRule ^category(.*)_(.*)\.html$   index.php?action=show&cat=$1&seite=$2 [L,QSA]

# start page
RewriteRule index.html$ index.php [PT]

# sitemap
RewriteCond %{REQUEST_URI}              sitemap-([a-zA-Z0-9漩周遌*)_([a-z\-]+)\.html$ [NC]
RewriteRule ^sitemap-(.*)_(.*)\.html$   index.php?action=sitemap&letter=$1&lang=$2 [L,QSA]

# a solution id page
RewriteCond %{REQUEST_URI}              solution_id_([0-9]+)\.html$ [NC]
RewriteRule ^solution_id_(.*)\.html$    index.php?solution_id=$1 [L,QSA]

# 404 page
ErrorDocument 404 /404.html


Apr
1

404页面该怎么做?     2009

 11:12    465    0   noel SEO  网站 优化 不指定
404页面该怎么做?

404页面的目的是:告诉浏览者其所请求的页面不存在或链接错误,同时引导用户使用网站其他页面而不是关闭窗口离开。

很多开源系统包括CMS系统、Blog系统等不提供404页面或提供的404页面并未达到SEO的要求,这让网站的权威性大打折扣。

404页面该达到怎么样的效果才符合SEO要求?

搜索引擎通过HTTP状态码来识别网页的状态。当搜索引擎获得了一个错误链接时,网站应该返回404状态码,告诉搜索引擎放弃对该链接的索引。而如果返回200或302状态码,搜索引擎就会为该链接建立索引,这导致大量不同的链接指向了相同的网页内容。结果是,搜索引擎对该网站的信任度大幅降低。——很多网站存在这个问题:404页面返回的是200或302状态码而不是404状态码。

正确建立404页面的方法是:(仅适合Apache服务器)

在.htaccess 文件中加入代码: ErrorDocument 404 /Error.html
建立一个简单的html404页面命名 Error.html
把 Error.html放置在网站根目录
如果碰到困难,参考一下:错误网页、.htaccess文件

注意:

不要将404错误直接转向到网站首页,这将导致首页不被收录;
/Error.html 前面不要带主域名,否者返回的状态码是302或200状态码。

对404页面有其他疑问?进入论坛讨论:关于404页面
Tags:
Apr
1

什么是死链接?     2009

 11:10    343    0   noel 厦门资讯 老虎城 不指定
什么是死链接?

简单地讲,死链接指原来正常,后来失效的链接。死链接发送请求时,服务器返回404错误页面

这些情况下出现死链:

1.动态链接在数据库不再支持的条件下,变成死链接。
2.某个文件或网页移动了位置,导致指向它的链接变成死链接。
3.网页内容更新并换成其他的链接,原来的链接变成死链接。
4.网站服务器设置错误。


从用户的角度来看,死链接和错误链接的表现是一样的,所以一般我们并不需要区别死链接和错误链接。

作为 SEO 人员或网站管理员,我们要避免网站出现死链接,因为从死链接的多少可以评价一个网站的权威性。

Apr
1

SEO-SEO优化-网站SEO优化     2009

 11:08    472    0   noel SEO  网站 优化 不指定
SEO-SEO优化-网站SEO优化
SEO基本概念:

什么是死链接?  
什么是错误链接?
什么叫反向链接?  
如何查看反向链接更准确?
black hat-黑冒
Sandbox-沙盒效应
Alexa排名是什么?
ALT-代替属性
link和domain的区别
什么是长尾关键词?
目标关键词是什么意思?
如何进行关键词分析?
关键词密度多少比较好?
写网页内容需要注意些什么?
几大搜索引擎的网站登录入口
做网站该注意哪些基本要素?
SEO一般有哪些步骤或环节?
网站被百度和Google封了,怎么办?

SEO工具:

Google网站管理员工具  
Googlebot 有哪几种?
Xenu-死链接检测工具
阿里妈妈站长工具
Google网站流量统计    
Google网站分析工具功能详解


SEO作弊

博客群发会被K掉吗?
域名轰炸
关键词叠加
隐藏文本和链接

SEO技巧

提高关键词排名的28个SEO技巧
增加反向链接的35个技巧
nofollow属性的介绍和使用
Tags: ,
Apr
1

carte plastique,cartes plastiques priniting     2009

 10:56    332    0   noel 生活 理财 工作 不指定
carte de membre priniting,carte de membre,carte plastique priniting,carte plastique ,cartes plastiques priniting,cartes plastiques
Plastikkarte plastikkarten, plastikkarten modelloprinting,Mitgliedschaft Karte priniting,Mitgliedschaft Karte,Mitgliedschaft Karte printer
Apr
1

法文,德文关键字优化排名     2009

 10:44    382    0   noel 生活 理财 工作 不指定
法文,德文关键字优化排名。

上个月把英文的关键字做到了google第一页,今天老板要我把 关键字的法文和德文也做到google的第一页,(在同一个网站的首页)心里实在没底,这样能行吗,会不会影响到英文的seo 呢。

分页: 28/49 第一页 上页 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 下页 最后页 [ 显示模式: 摘要 | 列表 ]