<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>花果山博客赚钱</title>
	<link>http://www.baidu9188.com</link>
	<description>探讨博客推广技巧、交流博客赚钱经验</description>
	<pubDate>Thu, 15 May 2008 13:12:35 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
	<language>en</language>
			<item>
		<title>王通《SEO赚钱秘笈》之《Google排名秘笈》</title>
		<link>http://www.baidu9188.com/2008/05/wt-seo/</link>
		<comments>http://www.baidu9188.com/2008/05/wt-seo/#comments</comments>
		<pubDate>Thu, 15 May 2008 13:09:53 +0000</pubDate>
		<dc:creator>限时恋爱</dc:creator>
		
		<category><![CDATA[博客推广]]></category>

		<guid isPermaLink="false">http://www.baidu9188.com/2008/05/%e7%8e%8b%e9%80%9a%e3%80%8aseo%e8%b5%9a%e9%92%b1%e7%a7%98%e7%ac%88%e3%80%8b%e4%b9%8b%e3%80%8agoogle%e6%8e%92%e5%90%8d%e7%a7%98%e7%ac%88%e3%80%8b/</guid>
		<description><![CDATA[王通《SEO赚钱秘笈》之《Google排名秘笈》
目 录
自序：我的故事
利用Gogle排名技术赚钱的模式

第一课：什么是Google排名技术？
第二课：利用Google排名技术赚钱模式之一
第三课：利用Google排名技术赚钱模式之二
第四课：利用Google排名技术赚钱模式之三

快速掌握Google排名技术

第五课：如何快速掌握Google排名技术
第六课：Google等搜索引擎不变的排名因素之一
第七课：Google等搜索引擎不变的排名因素之二
第八课：Google等搜索引擎不变的排名因素之三
第九课：Google等搜索引擎不变的排名因素之四
第十课：Google等搜索引擎不变的排名因素之五
十一课：Google等搜索引擎排名的其他因素综合

Google排名实战：

十二课：中文Google排名实战案例解析
十三课：英文Google排名实战案例解析

Google排名策略

第十四课：大型网站的Google排名策略
第十五课：动态网站的静态化处理

]]></description>
			<content:encoded><![CDATA[<h3 align="center">王通《SEO赚钱秘笈》之《Google排名秘笈》</h3>
<p>目 录</p>
<p><strong>自序</strong>：<a target="_blank" href="http://www.baidu9188.com/2008/05/wt-seo-00/"><font color="#0000ff">我的故事</font></a></p>
<p><strong>利用Gogle排名技术赚钱的模式</strong></p>
<ul>
<li>第一课：<a target="_blank" href="http://www.baidu9188.com/2008/05/wt-seo-01/"><font color="#0000ff">什么是Google排名技术？</font></a></li>
<li>第二课：<a target="_blank" href="http://www.baidu9188.com/2008/05/wt-seo-02/"><font color="#0000ff">利用Google排名技术赚钱模式之一</font></a></li>
<li>第三课：<a target="_blank" href="http://www.baidu9188.com/2008/05/wt-seo-03/"><font color="#0000ff">利用Google排名技术赚钱模式之二</font></a></li>
<li>第四课：<a target="_blank" href="http://www.baidu9188.com/2008/05/wt-seo-03/"><font color="#0000ff">利用Google排名技术赚钱模式之三</font></a></li>
</ul>
<p><strong>快速掌握Google排名技术</strong></p>
<ul>
<li>第五课：<a target="_blank" href="http://www.baidu9188.com/2008/05/wt-seo-05/"><font color="#0000ff">如何快速掌握Google排名技术</font></a></li>
<li>第六课：<a target="_blank" href="http://www.baidu9188.com/2008/05/wt-seo-06/"><font color="#0000ff">Google等搜索引擎不变的排名因素之一</font></a></li>
<li>第七课：<a target="_blank" href="http://www.baidu9188.com/2008/05/wt-seo-07/"><font color="#0000ff">Google等搜索引擎不变的排名因素之二</font></a></li>
<li>第八课：<a target="_blank" href="http://www.baidu9188.com/2008/05/wt-seo-08/"><font color="#0000ff">Google等搜索引擎不变的排名因素之三</font></a></li>
<li>第九课：<a target="_blank" href="http://www.baidu9188.com/2008/05/wt-seo-09/"><font color="#0000ff">Google等搜索引擎不变的排名因素之四</font></a></li>
<li>第十课：<a target="_blank" href="http://www.baidu9188.com/2008/05/wt-seo-10/"><font color="#0000ff">Google等搜索引擎不变的排名因素之五</font></a></li>
<li>十一课：<a target="_blank" href="http://www.baidu9188.com/2008/05/wt-seo-11/"><font color="#0000ff">Google等搜索引擎排名的其他因素综合</font></a></li>
</ul>
<p><strong>Google排名实战：</strong></p>
<ul>
<li>十二课：<a target="_blank" href="http://www.baidu9188.com/2008/05/wt-seo-12/"><font color="#0000ff">中文Google排名实战案例解析</font></a></li>
<li>十三课：<a target="_blank" href="http://www.baidu9188.com/2008/05/wt-seo-13/"><font color="#0000ff">英文Google排名实战案例解析</font></a></li>
</ul>
<p><strong>Google排名策略</strong></p>
<ul>
<li>第十四课：<a target="_blank" href="http://www.baidu9188.com/2008/05/wt-seo-14/"><font color="#0000ff">大型网站的Google排名策略</font></a></li>
<li>第十五课：<a target="_blank" href="http://www.baidu9188.com/2008/05/wt-seo-15/"><font color="#0000ff">动态网站的静态化处理</font></a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.baidu9188.com/2008/05/wt-seo/feed/</wfw:commentRss>
		</item>
		<item>
		<title>第十五课：动态网站的优化处理</title>
		<link>http://www.baidu9188.com/2008/05/wt-seo-15/</link>
		<comments>http://www.baidu9188.com/2008/05/wt-seo-15/#comments</comments>
		<pubDate>Thu, 15 May 2008 12:32:19 +0000</pubDate>
		<dc:creator>限时恋爱</dc:creator>
		
		<category><![CDATA[博客推广]]></category>

		<guid isPermaLink="false">http://www.baidu9188.com/2008/05/%e7%ac%ac%e5%8d%81%e4%ba%94%e8%af%be%ef%bc%9a%e5%8a%a8%e6%80%81%e7%bd%91%e7%ab%99%e7%9a%84%e4%bc%98%e5%8c%96%e5%a4%84%e7%90%86/</guid>
		<description><![CDATA[王通《SEO赚钱秘笈》之《Google排名秘笈》
第十五课：动态网站的优化处理
动态网站的静态话处理，一般国内常用的方法都是将网站换成一套后台是动态的，前台是自动生成静态
页面的系统，这类系统已经有非常多了，你可以根据你网站的需要去选择，或者专门请人开发。国外目
前一般都采用的是下面URL映射的方法：
实现方式主要有2种：

基于url rewrite      IIS的ISAPI REWRITE下载（免费） 
基于path_info 

把URI地址用作参数传递：URL REWRITE
最简单的是基于各种WEB服务器中的URL重写转向（Rewrite）模块的URL转换：   这样几乎可以不修改程序的实现将 news.asp?id=234 这样的链接映射成 news/234.html，从外面看上
去和静态链接一样。Apache服务器上有一个模块（非缺省）：mod_rewrite：URL REWRITE功能之强
大足够写上一本书。
当我需要将将news.asp?id=234的映射成news/234.html时，只需设置：   RewriteRule /news/(\d+)\.html /news\.asp\?id=$1 [N,I]    这样就把 /news/234.html 这样的请求映射成了 /news.asp?id=234    当有对/news/234.html的请求时：web服务器会把实际请求转发给/news.asp?id=234
而在IIS也有相应的REWRITE模块：比如ISAPI REWRITE和IIS REWRITE，语法都是基于正则表达式，
因此配置几乎和apache的mod_rewrite是相同的：
比对于某一个简单应用可以是：   RewriteRule /news/(\d+)\.html /news/news\.php\?id=$1 [N,I]    这样就把 http://www.chedong.com/news/234.html 映射到了 http://www.chedong.com/news/news.php?id=234    一个更通用的能够将所有的动态页面进行参数映射的表达式是： [...]]]></description>
			<content:encoded><![CDATA[<h3>王通《SEO赚钱秘笈》之《Google排名秘笈》</h3>
<p>第十五课：动态网站的优化处理</p>
<p>动态网站的静态话处理，一般国内常用的方法都是将网站换成一套后台是动态的，前台是自动生成静态</p>
<p>页面的系统，这类系统已经有非常多了，你可以根据你网站的需要去选择，或者专门请人开发。国外目</p>
<p>前一般都采用的是下面URL映射的方法：</p>
<p>实现方式主要有2种：</p>
<ul>
<li><a href="http://ebook/#rewrite"><font color="#0000ff">基于url rewrite</font></a>      <br /><a href="http://www.helicontech.com/download/"><font color="#0000ff">IIS的ISAPI REWRITE下载（免费）</font></a> </li>
<li><a href="http://ebook/#path_info"><font color="#0000ff">基于path_info</font></a> </li>
</ul>
<h4><a title="rewrite" name="rewrite"></a>把URI地址用作参数传递：URL REWRITE</h4>
<p>最简单的是基于各种WEB服务器中的URL重写转向（Rewrite）模块的URL转换：   <br />这样几乎可以不修改程序的实现将 news.asp?id=234 这样的链接映射成 news/234.html，从外面看上</p>
<p>去和静态链接一样。Apache服务器上有一个模块（非缺省）：mod_rewrite：URL REWRITE功能之强</p>
<p>大足够写上一本书。</p>
<p>当我需要将将news.asp?id=234的映射成news/234.html时，只需设置：   <br />RewriteRule /news/(\d+)\.html /news\.asp\?id=$1 [N,I]    <br />这样就把 /news/234.html 这样的请求映射成了 /news.asp?id=234    <br />当有对/news/234.html的请求时：web服务器会把实际请求转发给/news.asp?id=234</p>
<p>而在IIS也有相应的REWRITE模块：比如<a href="http://www.helicontech.com/"><font color="#0000ff">ISAPI REWRITE</font></a>和<a href="http://www.qwerksoft.com/products/iisrewrite/"><font color="#0000ff">IIS REWRITE</font></a>，语法都是基于正则表达式，</p>
<p>因此配置几乎和apache的mod_rewrite是相同的：</p>
<p>比对于某一个简单应用可以是：   <br />RewriteRule /news/(\d+)\.html /news/news\.php\?id=$1 [N,I]    <br />这样就把 http://www.chedong.com/news/234.html 映射到了 http://www.chedong.com/news/news.php?id=234    <br />一个更通用的能够将所有的动态页面进行参数映射的表达式是：    <br />把 http://www.myhost.com/foo.php?a=A&amp;b=B&amp;c=C    <br />表现成 http://www.myhost.com/foo.php/a/A/b/B/c/C。    <br />RewriteRule (.*?\.php)(\?[^/]*)?/([^/]*)/([^/]*)(.+?)?$1(?2$2&amp;:\?)$3=$4?5$5: [N,I]</p>
<p>以下是针对phpBB的一个Apache mod_rewrite配置样例：</p>
<pre>    RewriteEngine On
    RewriteRule /forum/topic_(.+)\.html$  /forum/viewtopic.php?t=$1 [L]
    RewriteRule /forum/forum_(.+)\.html$ /forum/viewforum.php?f=$1 [L]
    RewriteRule /forum/user_(.+)\.html$  /forum/profile.php?mode=</pre>
<pre>    viewprofile&amp;u=$1  [L]</pre>
<p>这样设置后就可以通过topic_1234.html forum_2.html user_34.html这样的链接访问原来的动态页面了。</p>
<p>通过URL REWRITE还有一些好处：</p>
<p>mod_rewrite和isapirewrite基本兼容，但是还是有些不同，比如：isapirewrite中&quot;?&quot;需要转义成&quot;\?&quot;，mod_rewrite不用，isapirewrite支持 &quot;\d+&quot; （全部数字），mod_rewrite不支持</p>
<ul>
<li>隐藏后台实现：这在后台应用平台的迁移时非常有用：当从asp迁移到java平台时，对于前台用户来说，根本感受不到后台应用的变化； </li>
<li>简化数据校验：因为像(\d+)这样的参数，可以有效的控制数字的格式甚至位数； </li>
</ul>
<p>比如我们需要将应用从news.asp?id=234迁移成news.php?query=234时，前台的表现可以一直保持为 news/234.html。从实现应用和前台表现的分离：保持了URL的稳定性，而使用mod_rewrite甚至可以把请求转发到其他后台服务器上。</p>
<h4><a title="path_info" name="path_info"></a>基于PATH_INFO的URL美化</h4>
<p>Url美化的另外一个方式就是基于PATH_INFO：</p>
<p>PATH_INFO是一个CGI 1.1的标准，经常发现很多跟在CGI后面的&quot;/value_1/value_2&quot;就是PATH_INFO参数：</p>
<p>比如：<a href="http://phpunixman.sourceforge.net/index.php/man/ls"><font color="#0000ff">http://phpunixman.sourceforge.net/index.php/man/ls</font></a> 中：$PATH_INFO = &quot;/man/ls&quot;</p>
<p>PATH_INFO是CGI标准，因此PHP Servlet等都有的支持。比如Servlet中就有request.getPathInfo()方法。</p>
<p>注意：/myapp/servlet/Hello/foo的 getPathInfo()返回的是/foo，而/myapp/dir/hello.jsp/foo的getPathInfo()将返回的 /hello.jsp，从这里你也可以知道jsp其实就是一个Servlet的PATH_INFO参数。ASP不支持PATH_INFO</p>
<p>PHP中基于PATH_INFO的参数解析的例子如下：</p>
<p>//注意：参数按&quot;/&quot;分割，第一个参数是空的：从/param1/param2中解析出$param1 $param2这2个参数</p>
<p>if ( isset($_SERVER[&quot;PATH_INFO&quot;]) ) {</p>
<p>? ? list($nothing, $param1, $param2) = explode(&#8217;/', $_SERVER[&quot;PATH_INFO&quot;]);</p>
<p>}</p>
<p>如何隐蔽应用：例如 .php，的扩展名：</p>
<p>在APACHE中这样配置：</p>
<p>&lt;FilesMatch &quot;^app_name$&quot;&gt;</p>
<p>? ? ForceType application/x-httpd-php</p>
<p>&lt;/FilesMatch&gt;</p>
<p>如何更像静态页面：app_name/my/app.html</p>
<p>解析的PATH_INFO参数的时候，把最后一个参数的最后5个字符&#8220;.html&#8221;截断即可。<a href="http://www.baidu9188.com" target="_blank"><font color="#ffffff">.</font></a></p>
<p>注意：APACHE2中缺省是不允许PATH_INFO的，需要设置 AcceptPathInfo on</p>
<p>特别是针对使用虚拟主机用户，无权安装和配置mod_rewrite的时候，PATH_INFO往往就成了唯一的选择。</p>
<p>OK，这样以后看见类似于http://www.example.com/article/234这样的网页你就知道可能是 article/show.php?id=234这个php程序生成的动态网页，很多站点表面看上去可能有很多静态目录，其实很有可能都是使用1，2个程序实现的内容发布。比如很多WIKIWIKI系统都使用了这个机制：整个系统就一个简单的wiki程序，而看上去的目录其实都是这个应用拿后面的地址作为参数的查询结果。</p>
<p>利用基于MOD_REWRITE/PATH_INFO ＋ CACHE服务器的解决方案对原有的动态发布系统进行改造，也可以大大降低旧有系统升级到新的内容管理系统的成本。并且方便了搜索引擎收录入索引。</p>
<h4><a title="page" name="page"></a>附：如何在IIS上利用PHP支持PATH_INFO</h4>
<p>PHP的ISAPI模式安装备忘：只试成 php-4.2.3-Win32</p>
<p>解包目录</p>
<p>========</p>
<p>php-4.2.3-Win32.zip c:\php</p>
<p>PHP.INI初始化文件</p>
<p>=================</p>
<p>复制：c:\php\php.ini-dist 到 c:\winnt\php.ini</p>
<p>配置文件关联</p>
<p>============</p>
<p>按照install.txt中的说明配置文件关联</p>
<p>运行库文件</p>
<p>==========</p>
<p>复制 c:\php\php4ts.dll 到 c:\winnt\system32\php4ts.dll</p>
<p>这样运行后：会发现php把PATH_INFO映射到了物理路径上</p>
<p>Warning: Unknown(C:\CheDong\Downloads\ariadne\www\test.php\path): failed to create stream: No such file or directory in Unknown on line 0</p>
<p>Warning: Unknown(): Failed opening &#8216;C:\CheDong\Downloads\ariadne\www\test.php\path&#8217; for inclusion (include_path=&#8217;.;c:\php4\pear&#8217;) in Unknown on line 0</p>
<p>安装ariadne的PATCH</p>
<p>==================</p>
<p>停止IIS服务</p>
<p>net stop iisadmin</p>
<p>ftp://ftp.muze.nl/pub/ariadne/win/iis/php-4.2.3/php4isapi.dll</p>
<p>覆盖原有的c:\php\sapi\php4isapi.dll</p>
<p>注：</p>
<p>ariadne是一个基于PATH_INFO的内容发布系统，</p>
<p>PHP 4.3.2 RC2中CGI模式的PATH_INFO已经修正，照常安装即可。</p>
<p>参考资料：</p>
<p>URL Rewrite文档：</p>
<p><a href="http://www.isapirewrite.com/docs/"><font color="#0000ff">ISAPI REWRITE文档</font></a></p>
<p><a href="http://www.isapirewrite.com/download/"><font color="#0000ff">IIS的ISAPI REWRITE下载（免费）</font></a></p>
<p><a href="http://httpd.apache.org/docs/mod/mod_rewrite.html"><font color="#0000ff">http://httpd.apache.org/docs/mod/mod_rewrite.html</font></a></p>
<p><a href="http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html"><font color="#0000ff">http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html</font></a></p>
<p><a href="http://www.chinawaw.com/"><font color="#0000ff">http://www.chinawaw.com/</font></a></p>
<p>搜索引擎友好的URL设计</p>
<p><a href="http://www.sitepoint.com/article/485"><font color="#0000ff">http://www.sitepoint.com/article/485</font></a></p>
<p>说不定这个URL原来就是articel.php?id=485</p>
<p>一个基于PATH_INFO的开源内容管理系统</p>
<p><a href="http://typo3.com/"><font color="#0000ff">http://typo3.com/</font></a></p>
<p><strong>Google的PageRank算法说明</strong>：</p>
<p><a href="http://pr.efactory.de/"><font color="#0000ff">http://pr.efactory.de/</font></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.baidu9188.com/2008/05/wt-seo-15/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
