<?xml version="1.0" encoding="UTF-8"?>
<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/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WordPress教程网 &#187; phpnow</title>
	<atom:link href="http://www.wpcourse.com/tag/phpnow/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wpcourse.com</link>
	<description>每个人都学得会的WordPress教程</description>
	<lastBuildDate>Thu, 09 Feb 2012 09:59:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>如何让PHPnow支持wordpress静态化链接</title>
		<link>http://www.wpcourse.com/how-to-phpnow-wordpress-static.html</link>
		<comments>http://www.wpcourse.com/how-to-phpnow-wordpress-static.html#comments</comments>
		<pubDate>Fri, 07 Aug 2009 00:47:54 +0000</pubDate>
		<dc:creator>ralix</dc:creator>
				<category><![CDATA[Wordpress经验总结]]></category>
		<category><![CDATA[phpnow]]></category>
		<category><![CDATA[wordpress静态化]]></category>
		<category><![CDATA[XAMPP]]></category>

		<guid isPermaLink="false">http://www.wpcourse.com/?p=838</guid>
		<description><![CDATA[如果您是按照wordpress教程网的wordpress视频教程的方法来配置本机服务器环境的话，您用的应该是XAMPP这个软件。但这样的软件当然不只XAMPP这一个。还有一个很出名的就是 PHPnow. PHPnow有一个优势就是直接装好了ZendOptimizer，当然一般人是用不到这个的，暂且略过。 在我的试验中，XAMPP对wordpress静态化是直<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.wpcourse.com%2Fwordpress-lesson2-setup-wordpress-environment-in-localhost.html&from=http%3A%2F%2Fwww.wpcourse.com%2Fhow-to-phpnow-wordpress-static.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">WordPress入门视频教程2 在本机搭建WordPress的安装环境XAMPP</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.wpcourse.com%2Finstall-xampp-in-vista.html&from=http%3A%2F%2Fwww.wpcourse.com%2Fhow-to-phpnow-wordpress-static.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">在VISTA环境下安装XAMPP的问题解决</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.wpcourse.com%2Fwordpress-lesson4-wordpress-configuration.html&from=http%3A%2F%2Fwww.wpcourse.com%2Fhow-to-phpnow-wordpress-static.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">WordPress入门视频教程4 WordPress安装完成后的基本设置</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.wpcourse.com%2Fwordpress-toolbar.html&from=http%3A%2F%2Fwww.wpcourse.com%2Fhow-to-phpnow-wordpress-static.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">wordpress-toolbar插件推荐-优化站外链接</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.wpcourse.com%2Fxampp-setup-problem-solved.html&from=http%3A%2F%2Fwww.wpcourse.com%2Fhow-to-phpnow-wordpress-static.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">本机安装XAMPP环境时端口被占用的终极解决办法</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>如果您是按照<a href="http://www.wpcourse.com">wordpress教程网</a>的<a href="http://www.wpcourse.com/tag/wordpress视频教程"title="wordpress视频教程" >wordpress视频教程</a>的方法来配置本机服务器环境的话，您用的应该是<a href="http://www.wpcourse.com/tag/XAMPP">XAMPP</a>这个软件。但这样的软件当然不只XAMPP这一个。还有一个很出名的就是 PHPnow.</p>
<p>PHPnow有一个优势就是直接装好了ZendOptimizer，当然一般人是用不到这个的，暂且略过。</p>
<p>在我的试验中，XAMPP对<a href="http://www.wpcourse.com/tag/wordpress静态化"title="wordpress静态化" >wordpress静态化</a>是直接支持的。PHPnow虽然也是打开了apache的mod_rewrite模块，但是对<a href="http://www.wpcourse.com/tag/wordpress静态化">wordpress的静态化</a>还要依赖于.htaccess这个文件（有可能XAMPP也是这样）。</p>
<p>配置方法如下。</p>
<p>首先到wordpress所在的目录下，找到.htaccess文件，用记事本编辑它。</p>
<p>如果没有这个文件，那就要麻烦一点，你需要先打开记事本，文件另存为，选择”所有文件”，然后把文件名定为.htaccess保存到wordpress所在的目录。为什么这么麻烦？因为windows下本来是不支持.htaccess这种文件名的。所以如果你直接右键新建一个文本文件，然后想改名为.htaccess就会报错。</p>
<p>有了.htaccess这个文件之后，编辑这个文件，输入以下内容：</p>
<p><span style="color: #3366ff;"># BEGIN WordPress</span></p>
<p><span style="color: #3366ff;">RewriteEngine On<br />
RewriteBase /<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteRule . /wpcourse/index.php [L]</span></p>
<p><span style="color: #3366ff;"># END WordPress</span></p>
<p>注意其中的/wpcourse这是你的wordpress所在目录。</p>
<p>比如，你的wordpress地址是http://localhost/wpcourse，那这里就是这么写。</p>
<p>最后，重启PHPnow，就可以了。</p>
<p>重启方法是，运行PnCp.cmd, 输入23，回车。</p>
<p>finish!</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.wpcourse.com%2Fwordpress-lesson2-setup-wordpress-environment-in-localhost.html&from=http%3A%2F%2Fwww.wpcourse.com%2Fhow-to-phpnow-wordpress-static.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">WordPress入门视频教程2 在本机搭建WordPress的安装环境XAMPP</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.wpcourse.com%2Finstall-xampp-in-vista.html&from=http%3A%2F%2Fwww.wpcourse.com%2Fhow-to-phpnow-wordpress-static.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">在VISTA环境下安装XAMPP的问题解决</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.wpcourse.com%2Fwordpress-lesson4-wordpress-configuration.html&from=http%3A%2F%2Fwww.wpcourse.com%2Fhow-to-phpnow-wordpress-static.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">WordPress入门视频教程4 WordPress安装完成后的基本设置</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.wpcourse.com%2Fwordpress-toolbar.html&from=http%3A%2F%2Fwww.wpcourse.com%2Fhow-to-phpnow-wordpress-static.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">wordpress-toolbar插件推荐-优化站外链接</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.wpcourse.com%2Fxampp-setup-problem-solved.html&from=http%3A%2F%2Fwww.wpcourse.com%2Fhow-to-phpnow-wordpress-static.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">本机安装XAMPP环境时端口被占用的终极解决办法</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.wpcourse.com/how-to-phpnow-wordpress-static.html/feed</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
	</channel>
</rss>

