移动wordpress网站后无法访问此网站 [英] This site can't be reached after moving the wordpress site

查看:521
本文介绍了移动wordpress网站后无法访问此网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我当时使用的是WordPress,后来我备份了所有数据和数据库,将其移动到另一台计算机上.我将所有文件都移到了 wamp 服务器的 www 目录中.一切都很好,但是我遇到了错误,

I was using WordPress and later I backup my all data and database to move it into another computer. I moved all my files in www directory in wamp server. Everything was fine but I encountered an error,

登录数据库时出错.

Error in login into the database.

在谷歌搜索后,我相应地更改了 wp-config.php 中的用户名,数据库名称和密码.一切都很好,但现在显示

SO after googling I changed my username, database name, and password in wp-config.php accordingly. Everything was fine but now it is showing

This site can’t be reached
The connection was reset.Try:
Checking the connection
Checking the proxy and the firewall
Running Windows Network Diagnostics
ERR_CONNECTION_RESET

尽管我仍然无法登录,但是我尝试将名称更改为另一个Wordpress数据库,并且打开得很好.因此,我认为这不是我的数据库登录,所以我创建了一个文件并手动登录以检查用户名,密码和数据库名称.它表明我已成功登录.所以我在这里缺少什么,为什么我不能访问wordpress网站.

I though again I am not able to login, so I tried to change the name to my another Wordpress database, and it is opening well. So I thought it is not login in my database, so I create a file and logged in manually to check the username, password and database name. And it show that I am logged in successfully. SO what I'm missing here and why can't I access wordpress site.

推荐答案

我遇到了与您相同的问题.经过大量搜索后,我发现新计算机中的 ThreadStackSize 限制(我转移了整个WordPress内容的位置)没有定义(或不​​够用). 因此,我认为您的Wordpress数据必须足够大,超过 ThreadStackSize .

I had the same problem as yours. And after searching a lot, I found that ThreadStackSize limit in my new computer (where I was shifting my whole WordPress stuff) was not defined (or not enough). So I think your Wordpress data must be large enough that exceeds ThreadStackSize.

所以您认为这可以解决您的问题.

So U think this will resolve your issue.

  1. 单击任务栏右侧托盘图标中的绿色wamp图标.

  1. Click on the green wamp icon in the tray icons (right side of your taskbar.)

现在转到 apache> httpd.conf .

现在在该文件中搜索 ThreadStackSize .

Now search for ThreadStackSize in that file.

  1. 如果找到,则将 ThreadStackSize 之后的返回值增加到更高的值,例如 8388608 .
  2. 或者,如果找不到,则在文件底部写入以下文本并保存.
  1. If found then increase the number return after ThreadStackSize to a higher value like 8388608.
  2. Or if not found then write the following text in the bottom of the file and save it.

`

<IfModule mpm_winnt_module>
    ThreadStackSize 8388608
</IfModule>

  1. 现在再次单击图标托盘中绿色的 wamp 图标,然后重新启动wamp服务器.

  1. Now click again on the green wamp icon in the icon tray and then restart the wamp server.

没有任何第五步,只需重新加载页面即可.一切都完成了.

There's no any step five, just reload the page. And all is done.

这篇关于移动wordpress网站后无法访问此网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆