标签归档:seo

div+css SEO命名规则

页头:header
登录条:loginBar
标志:logo
侧栏:sideBar
广告:banner
导航:nav
子导航:subNav
菜单:menu
子菜单:subMenu
搜索:search
滚动:scroll
页面主体:main
内容:content
标签页:tab
文章列表:list
提示信息:msg
小技巧:tips
栏目标题:title
加入:joinus
指南:guild
服务:service
热点:hot
新闻:news
下载:download
注册:regsiter
状态:status
按钮:btn
投票:vote
合作伙伴:partner
友情链接:friendLink
页脚:footer
版权:copyRight
1.css ID 的命名
外 套:  wrap
主导航:  mainNav
子导航:  subnav
页 脚:  footer
整个页面: content
页 眉:  header
页 脚:  footer
商 标:  label
标 题:  title
主导航:  mainNav(globalNav)
顶导航:  topnav
边导航:  sidebar
左导航:  leftsideBar
右导航:  rightsideBar
旗 志:  logo
标 语:  banner
菜单内容1: menu1Content
菜单容量: menuContainer
子菜单:  submenu
边导航图标:sidebarIcon
注释:   note
面包屑:  breadCrumb(即页面所处位置导航提示)
容器:   container
内容:   content
搜索:   search
登陆:   login
功能区:  shop(如购物车,收银台)
当前的   current
2.另外在编辑样式表时可用的注释可这样写:
<– Footer –>
内容区
<– End Footer –>
3.样式文件命名
主要的 master.css
布局,版面 layout.css
专栏 columns.css
文字 font.css
打印样式 print.css
主题 themes.css
 

SEO SITE不到首页

1.首页沉底
在百度中site一下自己的域名(例如site:×××)如果首页不是在第一位,可称为首页沉底。
现在要声明的是首页在百度沉底不一定是惩罚,你site新浪会发现它也沉底了,但是对于多数个人站长来说,首页沉底往往是一个信号,说明百度可能要发飙了。
一般来说在百度中首页刚沉底时排名不会有变化,流量也不会下降,所以说它是一个信号,下次更新时你可能要受惩罚,这时你应该看看在百度中直接搜索你的url例如×××)看看是否还在,如果首页没被k,应该不是惩罚或较轻的惩罚,如果首页被百度k掉了,那你很可能有大麻烦了。
解决方法:建议大家未雨绸缪,首页沉底了赶快检查连接,去除不必要的优化,比如堆积关键词,隐藏文字,垃圾链接,桥页,弹窗,站点结构复杂,服务器不稳定,群发垃圾链接等等,顺便应该搞搞原创,初学seo的人很容易优化过度,现在百度对这个很敏感,奉劝各位三思而后行,凡事过犹不及。

pligg SEO 关键词设定 URL优化

pligg版本:Pligg_Beta_9.8.2

1、meta keywords和descriptions的配置

Pligg缺省情况下以提交digg内容时候定义的keywords和summary作为页面的keywords和description内容。对于一些站点缺省的keyword或description的维护,可以直接修改tempaltes/meta.tpl,但这样很麻烦,可以通过“后台管理”提供的对lang.conf维护工具来实现keyworkds和descriptions缺省值进行动态维护和修改。

方法如下:

  • 在libs/lang.conf中增加如下内容:

//<SECTION>MISC</SECTION><ADDED>0.5</ADDED>
PLIGG_Meta_Description = “ENTER YOUR DESCRIPTION HERE”
//<SECTION>MISC</SECTION><ADDED>0.5</ADDED>
PLIGG_Meta_Keywords = “ENTER YOUR KEYWORD HERE”

  • 在templates/meta.tpl增加PLIGG_Meta_Description和PLIGG_Meta_Keywords
{* define your meta data here *}  {if $meta_description neq ""}         <meta name=”description” content=”{$meta_description},{#PLIGG_Meta_Description#}” /> {else}         <meta name=”description” content=”Yeeach.com” /> {/if}  {if $meta_keywords neq “”}         <meta name=”keywords” content=”{$meta_keywords},{#PLIGG_Meta_Keywords#}” /> {else}         <meta name=”keywords” content=”Yeeach.com” /> {/if}         <meta name=”Language” content=”{#PLIGG_Visual_Meta_Language#}” />         <meta name=”Robots” content=”All” />  {* the extra tabs are to make it lineup when viewing the source *}
 
  • 从“后台管理”->“设定配置”->“Modify Language”修改keyworkds和descriptions

2、URL搜索引擎友好

  • 从“后台管理”->“设定配置”->“Outgoing”将Outgoing links的值设定为id
  • 从“后台管理”->“设定配置”->“UrlMethod”将URL method将值设定为2
  • 从“后台管理”->“设定配置”->“FriendlyURLs”将Friendly URL’s for stories和Friendly URL’s for categories的值设定为false
  • cp htaccess.default .htaccess
  • 登录“后台管理”->“类别管理”,得到最下方自动生成的RewriteRule,拷贝到.htaccess,替代如下内容后面的内容##### You can find the below lines pre-made for you in the category management section of the admin panel
  • 如果新增了类别,需要重新到“后台管理”->“类别管理”得到新的RewriteRule,然后拷贝到.htaccess中。
  • 之所以将Friendly URL’s for stories和Friendly URL’s for categories的值设定为false,就是为了采用id号方式,避免中文编码urlencode后,mod_rewrite处理的问题。

http://forums.pligg.com/wiki-articles/8594-url-method.html

原文

Dynamic vs Static urls

Dynamic urls contain variables and are typically seen on database driven sites like blogs and forums. A static url does not contain any variables and does not change. Static urls are easier for your users to read. They are also sometimes ranked higher by search engines.
Examples
Dynamic url: yoursite.com/pligg/story.php?title=storytitle
Static url: yoursite.com/pligg/news/yourstorytitle

Url Method options

There are three options on the Url Method page in the admin panel. Choose Url Method 2 to enable static urls.

  • Method 1 = dynamic urls (default)
  • Method 2 = static urls

.htaccess

If you enable Url Method 2 in the admin panel you should see static urls on your site but when you click on an internal link you’ll probably get a 404 this page can not be found error. In order to work properly Url Method 2 requires modifications to your .htaccess file so that so that the new friendly urls are properly mapped to the actual files they refer to.
There is a default .htaccess file included in your Pligg installation called htaccess.default that contains a long list of rewrite commands that are meant to get you started. But you will probably need to modify this file in order to get static urls working properly on your site.

Step by Step Instructions
  1. Check with your host to see if mod rewrite is allowed. If not buy a DreamHost package to help pligg dev.
  2. Check with your host that Apache is configured to use .htaccess files (AllowOverride All)
  3. Get the latest htaccess.default from the SVN on sourceforge.
  4. Go to your admin panel/category management. At the bottom there is a rewrite rule for the categories. Copy this whole line and in htaccess.default paste over You need to copy the line for this whole thing to work right. Paste over the line: RewriteRule ^(all|pligg|category1|category2)/([a-zA-Z0-9-]+)/?$ story.php?title=$2 [L]
  5. Upload htaccess.default to your webserver in the root directory of your install. Overwrite the existing one.
  6. Rename “htaccess.default” to “.htaccess” (no quotes). Note the period in front. That period denotes a hidden file, and may cause it to disappear from some FTP clients. (You might need to enable showing of hidden files or call it by name when downloading).
  7. Turn on URL Method 2 in the admin panel.
  8. Enjoy friendly URL’s

If your Pligg is installed in a subfolder

If Pligg is installed in a subfolder: (ie : yourdomain.com/pligg/) then you will need to modify the RewriteBase in .htaccess:
Change RewriteBase / to RewriteBase /pligg/

Rewrite rule for categories

Every time you add a new category to your site you need to update the mod rewrite rules for the category urls. Simply go back to the admin panel / category management page copy the new rewrite rule and paste it on top of the old one in your .htaccess file.

It’s not working. How do i go back?

If this doesn’t work, mod_rewrite probably isn’t enabled on your webserver. You can go back to the admin panel and set Url Method to 1 again. No harm was done to any files during the instructions above and your site should operate fine without friendly urls.

百度昨天将大多数被封的站放出来了

    不知道怎么回事,百度昨天将前段时间很多被封的站已经放出来了,我的 一个新站上次就发了没几篇文章无故被封了,昨天也可以说是今天,site了一下,一下子变成了1000多篇,很多人都说是回档,但是我觉得应该不是回档,难道回档会范这样的低级错误?觉得说回档的人才,有点不动动脑筋。
   前段时间被K 的站,有包括正规的,垃圾的。K 了很多,个人猜想,百度是在改算法,经过一两个月的调整,比如说设置 沙盒等等,一系列的手段改进,我想调整当中收入影响肯定不稳定的。

百度最近老是K站的一些想法

      很多站长么,最近肯定很苦恼,发现站经常会被K。而且有些无缘无故的被K了。我自己总结了一点。

      现在最近发现很多利用 搜索风云榜 做关键词的站。就是内容是乱七八糟的,里面睡觉增加搜索热点的关键词,而页面大多启用二级域名。。来这样强奸百度,  这些我最近都经常发现而且还有很多,进入就是好几个弹窗,而我发现最多的一次第一页进入 排在前面的 4、5个站都是这样的站。对于利用SEO作弊的,人家也只好加大K站力度了,其中肯定是很多都是误K的,那也就很正常了,你们影响了他的心情,他当然也要影响你的心情。其实我们很多正经做站的站长都是被他们那些利用seo作弊的人连累的,你利用搜索引擎的漏洞,肯定要更新算法来更好的防止。所以其中肯定很多站都不稳定了。

百度seo

    今天现在9点多 刚刚去百度site了一下,发现每个站少了很多收录量,不知道是什么原因,上次也有一次过了,不过等到后来有回来了。今天随时关注动态。如果不回来了,那我其不是损失大了。。。
   还有奇怪的是,site:域名  加上www的时候 显示文章数少了很多,不加WWW的时候和原来一样。不知道百度此举是为了什么。提取?还是将权?上次也有一次过了,不过我具体变化忘记了。

什么是SEO

SEO是Search Engine Optimization的缩写,用英文描述是to use some technics to make your website in the top places in Search Engine when somebody is using Search Engine to find something,翻译成中文就是“搜索引擎优化”,一般可简称为搜索优化。与之相关的搜索知识还有Search Engine Positioning(搜索引擎定位)、Search Engine Ranking(搜索引擎排名)。

SEO的主要工作是通过了解各类搜索引擎如何抓取互联网页面、如何进行索引以及如何确定其对某一特定关键词的搜索结果排名等技术,来对网页进行相关的优化,使其提高搜索引擎排名,从而提高网站访问量,最终提升网站的销售能力或宣传能力的技术。

SEO的主要工作是通过了解各类搜索引擎如何抓取互联网页面、如何进行索引以及如何确定其对某一特定关键词的搜索结果排名等技术,来对网页进行相关的优化,使其提高搜索引擎排名,从而提高网站访问量,最终提升网站的销售能力或宣传能力的技术。

在国外,SEO开展较早,那些专门从事SEO的技术人员被Google称之为“Search Engine Optimizers”,简称SEOs。由于Google是目前世界最大搜索引擎提供商,所以Google也成为了全世界SEOs的主要研究对像,为此Google官司方网站专门有一页介绍SEO,并表明Google对SEO的态度。