<?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>怪僧博客 &#187; 博客地址</title>
	<atom:link href="http://www.guaiseng.com/tag/%e5%8d%9a%e5%ae%a2%e5%9c%b0%e5%9d%80/feed" rel="self" type="application/rss+xml" />
	<link>http://www.guaiseng.com</link>
	<description>关注wordpress建站，分享互联网</description>
	<lastBuildDate>Sun, 23 Oct 2011 05:18:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>wordpress安装在子目录时地址设置的问题</title>
		<link>http://www.guaiseng.com/wordpress/728.html</link>
		<comments>http://www.guaiseng.com/wordpress/728.html#comments</comments>
		<pubDate>Tue, 20 Apr 2010 12:13:56 +0000</pubDate>
		<dc:creator>怪僧</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[博客地址]]></category>
		<category><![CDATA[安装]]></category>

		<guid isPermaLink="false">http://www.guaiseng.com/?p=728</guid>
		<description><![CDATA[以前发过一个WordPress的安装地址（网址）和博客地址（网址）的文章，那主要是通过修改wp-config.php文件来实现wordpress安装在子目录导致主页重复的问题。可能对一些人来说看起来一头雾水，实际操作也不是太理想。今天为大家再介绍一个通过修改index.php文件简单实现这一功能。

再重新说一下安装目录的问题：一般我们在安装wordpress的时候提倡把wordpress安装在网站的根目录，借鉴如何安装WordPress图解。但有的朋友因为是新手而直接把wordpress文件夹给上传到了根目录或者是喜欢把wordpress安装在子目录中，这样网站的登陆地址就会变成：http://www.guaiseng.com/子目录/wp-login.php, 而博客的首页地址以及整个博客的基准URL也就变成http://www.guaiseng.com/子目录这样就会造成主页重复的问题。

<span class="readmore"><a href="http://www.guaiseng.com/wordpress/728.html" title="wordpress安装在子目录时地址设置的问题">阅读全文——共898字</a></span><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="126" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="WordPress 安装地址(URL)和博客地址(URL)" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.guaiseng.com%2Fwordpress%2F202.html&from=http%3A%2F%2Fwww.guaiseng.com%2Fwordpress%2F728.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 120px !important; height: 120px !important;" src="http://static.wumii.com/site_images/2011/12/11/12202303.gif" width="120px" height="120px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 126px !important; font: 12px/15px arial !important; height: 75px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">WordPress 安装地址(URL)和博客地址(URL)</font>
                    </a>
                </td>
                <td width="126" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="请把WordPress装在根目录下" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.guaiseng.com%2Fwordpress%2F64&from=http%3A%2F%2Fwww.guaiseng.com%2Fwordpress%2F728.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 120px !important; height: 120px !important;" src="http://static.wumii.com/site_images/2011/10/10/8899809.gif" width="120px" height="120px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 126px !important; font: 12px/15px arial !important; height: 75px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">请把WordPress装在根目录下</font>
                    </a>
                </td>
                <td width="126" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="wordpress中install.php on line 36错误的解决方法" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.guaiseng.com%2Fwordpress%2F61.html&from=http%3A%2F%2Fwww.guaiseng.com%2Fwordpress%2F728.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 120px !important; height: 120px !important;" src="http://static.wumii.com/site_images/2011/12/11/12202303.gif" width="120px" height="120px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 126px !important; font: 12px/15px arial !important; height: 75px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">wordpress中install.php on line 36错误的解决方法</font>
                    </a>
                </td>
                <td width="126" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="wordpress 里添加地址栏图标" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.guaiseng.com%2Fwordpress%2F210&from=http%3A%2F%2Fwww.guaiseng.com%2Fwordpress%2F728.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 120px !important; height: 120px !important;" src="http://static.wumii.com/site_images/2011/10/10/8900307.jpg" width="120px" height="120px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 126px !important; font: 12px/15px arial !important; height: 75px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">wordpress 里添加地址栏图标</font>
                    </a>
                </td>
                <td width="126" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="中文 WordPress 工具箱使用方法" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.guaiseng.com%2Fwordpress%2F4&from=http%3A%2F%2Fwww.guaiseng.com%2Fwordpress%2F728.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 120px !important; height: 120px !important;" src="http://static.wumii.com/site_images/2011/10/10/8899726.jpg" width="120px" height="120px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 126px !important; font: 12px/15px arial !important; height: 75px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">中文 WordPress 工具箱使用方法</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" 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.guaiseng.com/wordpress/202" target="_blank">WordPress的安装地址（网址）和博客地址（网址）</a>的文章，那主要是通过修改wp-config.php文件来实现wordpress安装在子目录导致主页重复的问题。可能对一些人来说看起来一头雾水，实际操作也不是太理想。今天为大家再介绍一个通过修改index.php文件简单实现这一功能。</p>
<p>再重新说一下安装目录的问题：一般我们在安装wordpress的时候提倡把wordpress安装在网站的根目录，借鉴<a title="Permanent Link to 如何安装WordPress图解" rel="bookmark" href="http://www.guaiseng.com/wordpress/67">如何安装WordPress图解</a>。但有的朋友因为是新手而直接把wordpress文件夹给上传到了根目录或者是喜欢把wordpress安装在子目录中，这样网站的登陆地址就会变成：http://www.guaiseng.com/子目录/wp-login.php, 而博客的首页地址以及整个博客的基准URL也就变成http://www.guaiseng.com/子目录这样就会造成主页重复的问题。</p>
<p>那么如何让网站的首页变回http://www.guaiseng.com/呢？</p>
<p>1.登陆后台</p>
<p>2.设置 &#8212; 常规    <label for="siteurl">WordPress 安装地址 (URL)保持不变， <label for="home">博客地址 (URL)中把http://www.guaiseng.com/wrodpress改成http://www.guaiseng.com</label></label></p>
<p><label for="siteurl"><label for="home">3.通过上面的操作，我们登陆后台会发现登陆不上。进不去那是因为我地址改动的缘故，我们现在还需要在修改下index.php文件。</label></label></p>
<p>&lt;?php<br />
/* Short and sweet */<br />
define(’WP_USE_THEMES’, true);<br />
require(’./wp-blog-header.php‘);<br />
?&gt;</p>
<p>修改为</p>
<p>&lt;?php<br />
/* Short and sweet */<br />
define(’WP_USE_THEMES’, true);<br />
require(’./wordpress/wp-blog-header.php‘);<br />
?&gt;</p>
<p>4.这样以后，我们后台登录地址和文件调用的基准URL都是http://www.guaiseng.com/wrodpress，而博客文章和所有内容的基准URL地址则是：http://www.guaiseng.com</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="126" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="WordPress 安装地址(URL)和博客地址(URL)" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.guaiseng.com%2Fwordpress%2F202.html&from=http%3A%2F%2Fwww.guaiseng.com%2Fwordpress%2F728.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 120px !important; height: 120px !important;" src="http://static.wumii.com/site_images/2011/12/11/12202303.gif" width="120px" height="120px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 126px !important; font: 12px/15px arial !important; height: 75px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">WordPress 安装地址(URL)和博客地址(URL)</font>
                    </a>
                </td>
                <td width="126" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="请把WordPress装在根目录下" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.guaiseng.com%2Fwordpress%2F64&from=http%3A%2F%2Fwww.guaiseng.com%2Fwordpress%2F728.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 120px !important; height: 120px !important;" src="http://static.wumii.com/site_images/2011/10/10/8899809.gif" width="120px" height="120px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 126px !important; font: 12px/15px arial !important; height: 75px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">请把WordPress装在根目录下</font>
                    </a>
                </td>
                <td width="126" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="wordpress中install.php on line 36错误的解决方法" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.guaiseng.com%2Fwordpress%2F61.html&from=http%3A%2F%2Fwww.guaiseng.com%2Fwordpress%2F728.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 120px !important; height: 120px !important;" src="http://static.wumii.com/site_images/2011/12/11/12202303.gif" width="120px" height="120px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 126px !important; font: 12px/15px arial !important; height: 75px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">wordpress中install.php on line 36错误的解决方法</font>
                    </a>
                </td>
                <td width="126" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="wordpress 里添加地址栏图标" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.guaiseng.com%2Fwordpress%2F210&from=http%3A%2F%2Fwww.guaiseng.com%2Fwordpress%2F728.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 120px !important; height: 120px !important;" src="http://static.wumii.com/site_images/2011/10/10/8900307.jpg" width="120px" height="120px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 126px !important; font: 12px/15px arial !important; height: 75px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">wordpress 里添加地址栏图标</font>
                    </a>
                </td>
                <td width="126" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="中文 WordPress 工具箱使用方法" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.guaiseng.com%2Fwordpress%2F4&from=http%3A%2F%2Fwww.guaiseng.com%2Fwordpress%2F728.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 120px !important; height: 120px !important;" src="http://static.wumii.com/site_images/2011/10/10/8899726.jpg" width="120px" height="120px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 126px !important; font: 12px/15px arial !important; height: 75px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">中文 WordPress 工具箱使用方法</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" 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><h3>Related Posts</h3><ul><li><a href="http://www.guaiseng.com/wordpress/202.html" title="WordPress 安装地址(URL)和博客地址(URL) 2010.02.12">WordPress 安装地址(URL)和博客地址(URL)</a>(5)</li>
<li><a href="http://www.guaiseng.com/wordpress/67.html" title="如何安装WordPress图解 2010.02.5">如何安装WordPress图解</a>(0)</li>
<li><a href="http://www.guaiseng.com/wordpress/64.html" title="请把WordPress装在根目录下 2010.02.5">请把WordPress装在根目录下</a>(1)</li>
<li><a href="http://www.guaiseng.com/wordpress/963.html" title="wordpress查看源文件乱码---保存格式 2011.03.27">wordpress查看源文件乱码---保存格式</a>(0)</li>
<li><a href="http://www.guaiseng.com/wordpress/959.html" title="wordpress查看源文件乱码问题 2011.03.26">wordpress查看源文件乱码问题</a>(0)</li>
<li><a href="http://www.guaiseng.com/wordpress/830.html" title="WordPress 手机浏览插件：MobilePress 2010.08.17">WordPress 手机浏览插件：MobilePress</a>(8)</li>
<li><a href="http://www.guaiseng.com/wordpress/822.html" title="最佳 WordPress 缓存插件：WP Super Cache 2010.08.14">最佳 WordPress 缓存插件：WP Super Cache</a>(3)</li>
<li><a href="http://www.guaiseng.com/wordpress/772.html" title="给首页第一篇文章上加上环绕广告 2010.04.23">给首页第一篇文章上加上环绕广告</a>(2)</li>
<li><a href="http://www.guaiseng.com/wordpress/752.html" title="为wordpress添加分享收藏 2010.04.22">为wordpress添加分享收藏</a>(1)</li>
<li><a href="http://www.guaiseng.com/wordpress/749.html" title="WordPress无插件实现随机文章 2010.04.21">WordPress无插件实现随机文章</a>(4)</li>
</ul><h3>Recent Comments</h3><ul><li><a class="commentor" href="http://yawego.com" >G字头老大</a> : <a class="comment_content" href="http://www.guaiseng.com/wordpress/728.html#comment-1880" title="View the entire comment by G字头老大" >此法只适用于部分主机提供商，有很多是要重写.htaccess 文件的</a></li>
<li><a class="commentor" href="http://www.design-ing.in/wordpress/" >kewenlian</a> : <a class="comment_content" href="http://www.guaiseng.com/wordpress/728.html#comment-1484" title="View the entire comment by kewenlian" >你可以帮我看一下吗？我就是按照那样的步骤一步一步来的。就是访问不到design-ing.in   。</a></li>
<li><a class="commentor" href="" >定语</a> : <a class="comment_content" href="http://www.guaiseng.com/wordpress/728.html#comment-625" title="View the entire comment by 定语" >原来如此。。。找的我好辛苦。。。</a></li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://www.guaiseng.com/wordpress/728.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>WordPress 安装地址(URL)和博客地址(URL)</title>
		<link>http://www.guaiseng.com/wordpress/202.html</link>
		<comments>http://www.guaiseng.com/wordpress/202.html#comments</comments>
		<pubDate>Fri, 12 Feb 2010 03:31:10 +0000</pubDate>
		<dc:creator>怪僧</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[博客地址]]></category>
		<category><![CDATA[安装地址]]></category>

		<guid isPermaLink="false">http://www.guaiseng.com/?p=202</guid>
		<description><![CDATA[今上午在网站后台设置里面想改下 WordPress 安装地址(URL)和博客地址(URL)，因为我登陆后台的时候，浏览器上的地址栏变成了在网站空间上真实的IP地址加目录路径，看着有点不爽，于是我就把我把 WordPress 安装地址(URL)和博客地址(URL)，都改为：http://www.guaiseng.com/，这一改可好了，网站全都变样了，而且后台还进不去了，这该怎么办呢，重装那我之前做的工作全都白费，想来想去，是否可以通过修改wp-config.php来还原，哈，还真找着了，我看了wp-config.php页面有注释关于：

<span class="readmore"><a href="http://www.guaiseng.com/wordpress/202.html" title="WordPress 安装地址(URL)和博客地址(URL)">阅读全文——共719字</a></span><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="126" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="wordpress安装在子目录时地址设置的问题" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.guaiseng.com%2Fwordpress%2F728.html&from=http%3A%2F%2Fwww.guaiseng.com%2Fwordpress%2F202.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 120px !important; height: 120px !important;" src="http://static.wumii.com/site_images/2011/12/11/12202303.gif" width="120px" height="120px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 126px !important; font: 12px/15px arial !important; height: 75px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">wordpress安装在子目录时地址设置的问题</font>
                    </a>
                </td>
                <td width="126" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="wordpress 里添加地址栏图标" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.guaiseng.com%2Fwordpress%2F210.html&from=http%3A%2F%2Fwww.guaiseng.com%2Fwordpress%2F202.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 120px !important; height: 120px !important;" src="http://static.wumii.com/site_images/2011/12/11/12202303.gif" width="120px" height="120px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 126px !important; font: 12px/15px arial !important; height: 75px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">wordpress 里添加地址栏图标</font>
                    </a>
                </td>
                <td width="126" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="请把WordPress装在根目录下" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.guaiseng.com%2Fwordpress%2F64&from=http%3A%2F%2Fwww.guaiseng.com%2Fwordpress%2F202.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 120px !important; height: 120px !important;" src="http://static.wumii.com/site_images/2011/10/10/8899809.gif" width="120px" height="120px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 126px !important; font: 12px/15px arial !important; height: 75px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">请把WordPress装在根目录下</font>
                    </a>
                </td>
                <td width="126" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="wordpress中install.php on line 36错误的解决方法" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.guaiseng.com%2Fwordpress%2F61.html&from=http%3A%2F%2Fwww.guaiseng.com%2Fwordpress%2F202.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 120px !important; height: 120px !important;" src="http://static.wumii.com/site_images/2011/12/11/12202303.gif" width="120px" height="120px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 126px !important; font: 12px/15px arial !important; height: 75px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">wordpress中install.php on line 36错误的解决方法</font>
                    </a>
                </td>
                <td width="126" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="IP地址与子网掩码" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.guaiseng.com%2Fcomputer-skills%2F169&from=http%3A%2F%2Fwww.guaiseng.com%2Fwordpress%2F202.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 120px !important; height: 120px !important;" src="http://static.wumii.com/site_images/2011/10/10/8899546.jpg" width="120px" height="120px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 126px !important; font: 12px/15px arial !important; height: 75px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">IP地址与子网掩码</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" 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>今上午在网站后台设置里面想改下 WordPress 安装地址(URL)和博客地址(URL)，因为我登陆后台的时候，浏览器上的地址栏变成了在网站空间上真实的IP地址加目录路径，看着有点不爽，于是我就把我把 WordPress 安装地址(URL)和博客地址(URL)，都改为：http://www.guaiseng.com/，这一改可好了，网站全都变样了，而且后台还进不去了，这该怎么办呢，重装那我之前做的工作全都白费，想来想去，是否可以通过修改wp-config.php来还原，哈，还真找着了，我看了wp-config.php页面有注释关于：<br />
/**<br />
* WordPress 网址 与 博客网址<br />
*<br />
* 当你在后台修改相关信息出错，或者想要更换 WordPress 地址与博客地址时，<br />
* 可通过下面两行代码进行硬设置，其优先度高于数据库内设置。<br />
*<br />
* 注意，启用此功能需要去掉前面的 // ，并注意网址最后不要带反斜杠 /<br />
*<br />
* @added by WPChina.org<br />
*/</p>
<p>//define(’WP_SITEURL’, ‘http://domain/wordpress’);<br />
//define(’WP_HOME’, ‘http://domain’);</p>
<p>哈，只要修改WP_SITEURL的地址，把这地址修改为网站空间真实IP地址加上网站安装目录路径就可以了，下面的WP_HOME改为你的网站访问域名就可以，通过修改之后，网站恢复，一切照旧，呵呵….</p>
<p>通过修改之后你再回到网站后台，可以看到在设置常规项里面 WordPress 安装地址(URL)和博客地址(URL) 就无法修改了。</p>
<p>一般来说WordPress 安装地址(URL)在你安装WordPress的之后它会自动给你添加上，一般是不能修改的，以后要注意了</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="126" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="wordpress安装在子目录时地址设置的问题" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.guaiseng.com%2Fwordpress%2F728.html&from=http%3A%2F%2Fwww.guaiseng.com%2Fwordpress%2F202.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 120px !important; height: 120px !important;" src="http://static.wumii.com/site_images/2011/12/11/12202303.gif" width="120px" height="120px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 126px !important; font: 12px/15px arial !important; height: 75px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">wordpress安装在子目录时地址设置的问题</font>
                    </a>
                </td>
                <td width="126" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="wordpress 里添加地址栏图标" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.guaiseng.com%2Fwordpress%2F210.html&from=http%3A%2F%2Fwww.guaiseng.com%2Fwordpress%2F202.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 120px !important; height: 120px !important;" src="http://static.wumii.com/site_images/2011/12/11/12202303.gif" width="120px" height="120px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 126px !important; font: 12px/15px arial !important; height: 75px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">wordpress 里添加地址栏图标</font>
                    </a>
                </td>
                <td width="126" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="请把WordPress装在根目录下" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.guaiseng.com%2Fwordpress%2F64&from=http%3A%2F%2Fwww.guaiseng.com%2Fwordpress%2F202.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 120px !important; height: 120px !important;" src="http://static.wumii.com/site_images/2011/10/10/8899809.gif" width="120px" height="120px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 126px !important; font: 12px/15px arial !important; height: 75px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">请把WordPress装在根目录下</font>
                    </a>
                </td>
                <td width="126" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="wordpress中install.php on line 36错误的解决方法" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.guaiseng.com%2Fwordpress%2F61.html&from=http%3A%2F%2Fwww.guaiseng.com%2Fwordpress%2F202.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 120px !important; height: 120px !important;" src="http://static.wumii.com/site_images/2011/12/11/12202303.gif" width="120px" height="120px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 126px !important; font: 12px/15px arial !important; height: 75px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">wordpress中install.php on line 36错误的解决方法</font>
                    </a>
                </td>
                <td width="126" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="IP地址与子网掩码" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.guaiseng.com%2Fcomputer-skills%2F169&from=http%3A%2F%2Fwww.guaiseng.com%2Fwordpress%2F202.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 120px !important; height: 120px !important;" src="http://static.wumii.com/site_images/2011/10/10/8899546.jpg" width="120px" height="120px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 126px !important; font: 12px/15px arial !important; height: 75px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">IP地址与子网掩码</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" 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><h3>Related Posts</h3><ul><li><a href="http://www.guaiseng.com/wordpress/728.html" title="wordpress安装在子目录时地址设置的问题 2010.04.20">wordpress安装在子目录时地址设置的问题</a>(3)</li>
<li><a href="http://www.guaiseng.com/wordpress/963.html" title="wordpress查看源文件乱码---保存格式 2011.03.27">wordpress查看源文件乱码---保存格式</a>(0)</li>
<li><a href="http://www.guaiseng.com/wordpress/959.html" title="wordpress查看源文件乱码问题 2011.03.26">wordpress查看源文件乱码问题</a>(0)</li>
<li><a href="http://www.guaiseng.com/wordpress/830.html" title="WordPress 手机浏览插件：MobilePress 2010.08.17">WordPress 手机浏览插件：MobilePress</a>(8)</li>
<li><a href="http://www.guaiseng.com/wordpress/822.html" title="最佳 WordPress 缓存插件：WP Super Cache 2010.08.14">最佳 WordPress 缓存插件：WP Super Cache</a>(3)</li>
<li><a href="http://www.guaiseng.com/wordpress/772.html" title="给首页第一篇文章上加上环绕广告 2010.04.23">给首页第一篇文章上加上环绕广告</a>(2)</li>
<li><a href="http://www.guaiseng.com/wordpress/752.html" title="为wordpress添加分享收藏 2010.04.22">为wordpress添加分享收藏</a>(1)</li>
<li><a href="http://www.guaiseng.com/wordpress/749.html" title="WordPress无插件实现随机文章 2010.04.21">WordPress无插件实现随机文章</a>(4)</li>
<li><a href="http://www.guaiseng.com/seo/745.html" title="wordpress seo之robots.txt 2010.04.21">wordpress seo之robots.txt</a>(2)</li>
<li><a href="http://www.guaiseng.com/seo/743.html" title="WordPress-SEO基本方法 2010.04.21">WordPress-SEO基本方法</a>(4)</li>
</ul><h3>Recent Comments</h3><ul><li><a class="commentor" href="http://gunyao.com" >摇滚</a> : <a class="comment_content" href="http://www.guaiseng.com/wordpress/202.html#comment-46" title="View the entire comment by 摇滚" >&#20174;blogsearch&#25628;&#21040;&#20102;&#36825;...</a></li>
<li><a class="commentor" href="http://forum.mabico.com/forum/Investing_C5/Investing_for_Beginners_F38/Sister_Brother_Incest._Sex_Incest_Hentai_P63738/" >Russian Girl Incest</a> : <a class="comment_content" href="http://www.guaiseng.com/wordpress/202.html#comment-20" title="View the entire comment by Russian Girl Incest" >yo. luv this text <img src='http://www.guaiseng.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> )

sex offenders in pee dee ...</a></li>
<li><a class="commentor" href="http://www.zhishihai.com" >知识</a> : <a class="comment_content" href="http://www.guaiseng.com/wordpress/202.html#comment-18" title="View the entire comment by 知识" >已阅....</a></li>
<li><a class="commentor" href="http://google.com" >Trakly</a> : <a class="comment_content" href="http://www.guaiseng.com/wordpress/202.html#comment-16" title="View the entire comment by Trakly" >я думаю: отлично..  а82ч</a></li>
<li><a class="commentor" href="http://www.sohbetizm.net" >mynet chat</a> : <a class="comment_content" href="http://www.guaiseng.com/wordpress/202.html#comment-7" title="View the entire comment by mynet chat" >Thanks for the information you provide. very beaut...</a></li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://www.guaiseng.com/wordpress/202.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

