2012-10-04 118 views
1

我的主机是almostfreespeech.org。我与他们联系了这条消息:无法在Wordpress插件中更改网站的网址。

“我的问题是,当您浏览我的网站上的菜单并点击各种链接时,我需要导航栏说http://www.paulaneeley.com/education-and-experience/,而不是paulaneeley.nfshost.com/education -and-experience /。如何更改我在我的网站上从paulaneeley.nfshost.com/etc到paulaneeley.com/etc的子页面的所有链接?“

他们回答说:

“拿在设置页面的WordPress后台一看也许这些设置一个没有使用自己的域名: 的WordPress地址(URL) 网站地址(URL) 。 一旦你找到并修复(所以他们都没有使用paulaneeley.nfshost.com ADDRES,这个问题可能会消失“

所以我改变了网站的地址,然后paulaneeley.com我得到这个错误:

Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. 
File(/) is not within the allowed path(s): 
(/f5/paulaneeley/:/nfsn/apps/php53/lib/php/:/nfsn/apps/php5/lib/php/:/nfsn/apps/php/lib/php/) 
in /f5/paulaneeley/public/wp-admin/includes/misc.php on line 133 

Warning: Cannot modify header information - headers already sent by (output started at 
/f5/paulaneeley/public/wp-admin/includes/misc.php:133) 
in /f5/paulaneeley/public/wp-includes/pluggable.php on line 881 

然后我试图回到我的仪表板,我无法再访问它!我的浏览器给了我这个错误:

too many redirects occurred trying to open "http://paulaneeley.nfshost.com/wp-admin/".  
This might occur if you open a page that is redirected to open another page which is then 
redirected to open the original page. 

然后我读这篇文章:

http://codex.wordpress.org/Changing_The_Site_URL

而且试用过的functions.php方法和phpMyAdmin的方法要返回到原来的paulaneeley.nfshost .com,我相信我都做得很对。我的网站工作正常,但当我尝试访问我的仪表板时仍然收到错误消息。至少,我想让我的仪表板回来。

回答

0

为了解决这个问题,你需要改变你的网站的数据库在你的域的根目录中的设置。你可以通过运行一个mysql更新命令来做到这一点。

然后,你可以改变你的.htaccess设置。

另一种方法是重新安装它。只要确保您有数据,媒体和模板的备份。这一次,请确保您从域名http://www.paulaneeley.com安装。或者http://paulaneeley.com。你只能选择一个。

1

也许你已经完成了所有的事情,但是almostfreespeech的名称服务器仍然不会将用户转发到您的网站。

测试自己:

http://www.paulaneeley.com,打开就好了,但是当你删除www.前缀,该网站并没有打开。一个简单的ping测试http://paulaneeley.com显示,almostfreespeech的名称服务器没有http://paulaneeley.com的记录。 Ping返回错误Ping request could not find host paulaneeley.com. Please check the name and try again.指示http://paulaneeley.com没有DNS记录。

因此,再次联系他们,这次告诉他们通过在名称服务器中注册http://paulaneeley.com来解决此问题。如果他们要钱,不要支付任何费用,因为http://paulaneeley.comhttp://www.paulaneeley.com是相同的网站,www.并不意味着他们应该收取任何费用。

祝您的生意好运,也许有一天我会顺风顺水,将我的头发造型,你的作品看起来很酷。 :)

而且这里是你的登录页面,

http://paulaneeley.nfshost.com/wp-login.php
http://www.paulaneeley.com/wp-login.php

显然,编辑完你的.htaccess文件(误?),它用来http://www.paulaneeley.com/wp-login/重定向到http://www.paulaneeley.com/wp-login.php